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

MacPorts noreply at macports.org
Sun Oct 3 09:46:08 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                  
---------------------------------+------------------------------------------
Changes (by devans@…):

 * cc: devans@… (added)


Comment:

 I ran into this last night as well.  In configure glib2 enables building
 of GBus tests if dbus is
 detected or disables them if not.  So configure succeeds either way.  But
 there is no off switch for this.
 So if dbus is installed but not universal and you attempt to build glib2
 universal there is an arch
 mismatch for libdbus-1.dylib.

 Adding a dependency on dbus forces dbus to be built universal and fixes
 the problem (for me at least).

 Patch attached.

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


More information about the macports-tickets mailing list