[MacPorts] #36274: Fail to install Gwyddion
#36274: Fail to install Gwyddion -----------------------+-------------------------------- Reporter: kzeroyu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -----------------------+-------------------------------- Hi, After I upgrade my mac from 10.7 to 10.8, Gwyddion doesn't work. Then I tried to reinstall gwyddion; however, it gave a error. The log is attached. Thank you~ -- Ticket URL: <https://trac.macports.org/ticket/36274> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36274: gwyddion: error: non-void function 'module_register' should return a value ------------------------+--------------------- Reporter: kzeroyu@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gwyddion | ------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => rowue@… * cc: kzeroyu@… (removed) * cc: yeti@… (added) * port: => gwyddion Comment: It builds fine for me on 10.8.1 with Xcode 4.4.1. Since you mention having just migrated from Lion to Mountain Lion, have you performed the wiki:Migration steps? Reinstalled latest Xcode ''and'' its command line tools? Reinstalled MacPorts? Reinstalled all ports? -- Ticket URL: <https://trac.macports.org/ticket/36274#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36274: gwyddion: error: non-void function 'module_register' should return a value ------------------------+--------------------- Reporter: kzeroyu@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gwyddion | ------------------------+--------------------- Comment (by yeti@…): But namely, this is a very suspicious error. Line 112 in pygwy.c is if (!check_pygtk_availability()) There is no return statement on that line at all. The entire function is static gboolean module_register(void) { if (!check_pygtk_availability()) return FALSE; pygwy_register_plugins(); pygwy_register_console(); return TRUE; } so it obviously does not lack return values anywhere. Are some patches applied that would change the pygwy.c code? -- Ticket URL: <https://trac.macports.org/ticket/36274#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36274: gwyddion: error: non-void function 'module_register' should return a value ------------------------+--------------------- Reporter: kzeroyu@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gwyddion | ------------------------+--------------------- Comment (by yeti@…): Replying to [comment:3 yeti@…]:
But namely, this is a very suspicious error...
Ah, I see now, this is still Gwyddion 2.29. Please wait for 2.30; it's fixed there. -- Ticket URL: <https://trac.macports.org/ticket/36274#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36274: gwyddion: error: non-void function 'module_register' should return a value ------------------------+--------------------- Reporter: kzeroyu@… | Owner: rowue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gwyddion | ------------------------+--------------------- Comment (by rowue@…): Updated to 2.30 in r98779 - however since I'm using 10.4 I'm unable to test. -- Ticket URL: <https://trac.macports.org/ticket/36274#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36274: gwyddion: error: non-void function 'module_register' should return a value ------------------------+--------------------- Reporter: kzeroyu@… | Owner: rowue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gwyddion | ------------------------+--------------------- Changes (by rowue@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/36274#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts