[MacPorts] #34744: glib2: libxml2.2.dylib, file was built for i386 which is not the architecture being linked (ppc) (was: xorg-server @1.8.1_1 build Failed)

MacPorts noreply at macports.org
Tue Jul 17 02:47:39 PDT 2012


#34744: glib2: libxml2.2.dylib, file was built for i386 which is not the
architecture being linked (ppc)
---------------------------------------+------------------------------------
  Reporter:  macnwhite@…               |       Owner:  jeremyhu@…           
      Type:  defect                    |      Status:  reopened             
  Priority:  Normal                    |   Milestone:                       
 Component:  ports                     |     Version:  2.1.1                
Resolution:                            |    Keywords:  tiger                
      Port:  glib2                     |  
---------------------------------------+------------------------------------
Changes (by ryandesign@…):

  * status:  closed => reopened
  * resolution:  worksforme =>
  * port:  => glib2


Comment:

 Jeremy, the error Daniel wrote to the mailing list about
 [http://lists.macosforge.org/pipermail/macports-users/2012-May/029065.html
 was about xorg-server]; that's not what he ended up filing this ticket
 about however.

 It looks like Daniel is trying to build glib2 universal, and glib2 is
 using libxml2, and libxml2 is not installed universal. However it is a
 surprise to me that glib2 is using libxml2 at all. You added a dependency
 on libxml2 to glib2 in r93908 but I still can't find evidence that glib2
 is using libxml2, and [http://lists.macosforge.org/pipermail/macports-
 dev/2012-June/019645.html Joshua said the same] on the mailing list. I've
 grepped the glib2 sources for "libxml" and "lxml" and the only mention of
 libxml2 is in reference to Windows. I've grepped the main.log for "xml".
 I've used "otool -L" on everything in the work directory and nothing links
 with libxml2. So I am inclined to agree with Joshua and revert r93908.

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


More information about the macports-tickets mailing list