[MacPorts] #26711: glib2 @2.26.0 links against dbus without declaring dependency

MacPorts noreply at macports.org
Sun Oct 3 07:55:32 PDT 2010


#26711: glib2 @2.26.0 links against dbus without declaring dependency
---------------------------------+------------------------------------------
 Reporter:  raimue@…             |       Owner:  ryandesign@…           
     Type:  defect               |      Status:  new                    
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.9.1                  
 Keywords:                       |        Port:  glib2                  
---------------------------------+------------------------------------------
 While upgrading to glib2 @2.26.0+universal, I see the following error:

 {{{
 ld: warning: in /opt/local/lib/libdbus-1.dylib, file was built for
 unsupported file format which is not the architecture being linked (i386)
 Undefined symbols for architecture i386:
   "_dbus_error_free", referenced from:
       _check_serialization in gdbus_serialization-gdbus-serialization.o
 [...]
 }}}

 My installed dbus port is not +universal, but it is also not in the
 recursive dependency list of glib2:

 {{{
 $ port installed glib2 dbus
 The following ports are currently installed:
   dbus @1.2.24_1 (active)
   glib2 @2.24.2_0+universal (active)
 $ port rdeps glib2 |grep -i dbus
 $
 }}}

 Either there is a missing dependency on dbus as of 2.26.0, or maybe glib2
 only enables this conditionally if specific headers are found?

-- 
Ticket URL: <https://trac.macports.org/ticket/26711>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list