[MacPorts] #38610: Orbit2 Failed to Install
#38610: Orbit2 Failed to Install ------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ------------------------+-------------------------------- org.macports.build for port orbit2 returned: command execution failed is the error I get. -- Ticket URL: <https://trac.macports.org/ticket/38610> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: Orbit2 Failed to Install -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by egall@…): This was not a clean build attempt. Do `sudo port clean orbit2` and then try again, and if that still fails, attach the main.log from that attempt. -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: Orbit2 Failed to Install -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by jon22706@…): Unfortunately that didn't work. Here is the Log -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Changes (by ryandesign@…): * port: => orbit2 -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by ryandesign@…): This appears to be part of the deprecated glib thread API. https://developer.gnome.org/glib/2.32/glib-Deprecated-Thread-APIs.html We need to either figure out how to re-enable that API, or rewrite orbit2 to use the new glib thread API. -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by ryandesign@…): Here is the upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=696900 -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by egall@…): It looks like it's also due to `-Werror`; would disabling `-Werror` temporarily until upstream fixes this work as a workaround? -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by jon22706@…): How would I disable -Werror? -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by egall@…): Replying to [comment:7 jon22706@…]:
How would I disable -Werror?
I was referring to disabling it in the Portfile, although I suppose you could try doing that yourself... -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: egall@…, ryandesign@…, devans@… (added) Comment: Even once you remove `-Werror` you still have: {{{ :info:build linc.c:464:4: error: use of undeclared identifier 'G_THREAD_PRIORITY_NORMAL' :info:build G_THREAD_PRIORITY_NORMAL, &error); :info:build ^ }}} I don't think the error messages are wrong; I think ORBit2 uses an old thread interface of glib which no longer exists; the compiler is quite right that trying to use functions and constants that don't exist won't work. ORBit2 seems to be dead so I'm not sure that its developers, if any are still around to read the project's bug reports, will do anything about this. The correct solution may be to update all the ports that currently use ORBit2 to no longer do so, and then remove ORBit2 from MacPorts. Those ports are: * bonobo-activation * gconf * gnome-platform-suite * libbonobo * libgtkhtml3 * py-orbit * py25-orbit * py26-orbit * py27-orbit * xmlroff py*-orbit obviously isn't much use without orbit itself, so this would also affect ports depending on py*-orbit, which includes: * gnome-bindings-python * py25-gnome * py26-gnome * py27-gnome -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by devans@…): In fact, since libbonobo depends unconditionally on orbit2 and libgnome, libgnomeui and friends depend on libbonobo any GNOME 2 app that uses these libraries (still quite a few) would be impacted by the suggested removal. The symbols in question are deprecated in the latest version of glib2. Fix committed in r104857 which allows the use of the deprecated symbols by removing all instances of -DG_DISABLE_DEPRECATED. -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: orbit2 | -------------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99 -------------------------+-------------------------------- Reporter: jon22706@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: orbit2 | -------------------------+-------------------------------- Comment (by ryandesign@…): Oh neat! Thanks. Looks like gnome-vfs may need something similar: #38657. -- Ticket URL: <https://trac.macports.org/ticket/38610#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts