[MacPorts] #38610: orbit2: error: implicit declaration of function 'g_mutex_free' is invalid in C99

MacPorts noreply at macports.org
Tue Apr 2 22:51:08 PDT 2013


#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


More information about the macports-tickets mailing list