[MacPorts] #20372: glib2 won't build correctly on PPC machines

MacPorts noreply at macports.org
Fri Sep 18 23:10:47 PDT 2009


#20372: glib2 won't build correctly on PPC machines
---------------------------+------------------------------------------------
 Reporter:  mta@…          |       Owner:  ryandesign@…           
     Type:  defect         |      Status:  assigned               
 Priority:  Normal         |   Milestone:                         
Component:  ports          |     Version:  1.8.0                  
 Keywords:                 |        Port:  glib2                  
---------------------------+------------------------------------------------

Comment(by LantzR@…):

 Hiya

 I had what seems to be this problem. I discovered it when reinstalling
 gtk2 which crashed and burned.

 XRef: #20997

 I'm on running OsX 10.4.11 on PPC. I have kept the default for universal
 builds.

 Note that both glib2 and gtk2 were built and working last month, so
 something changed recently.

 I had rebuilt glib2 on Sept 12th, then gtk2 failed as described in #20997
 two days later

 {{{
 grep G_BYTE_ORDER /opt/local/lib/glib-2.0/include/glibconfig.h
 #define G_BYTE_ORDER G_LITTLE_ENDIAN
 }}}


 [comment:7 michael.klein@…] wrote:
 > Workaround: set build_arch to an empty string in macports.conf and
 rebuild glib2. This keeps the port environment from adding -arch=ppc to
 $CFLAGS
 >
 > {{{
 > $ grep build_arch /opt/local/etc/macports/macports.conf
 > #build_arch                   i386
 > build_arch
 > }}}


 For me the undocumented ''build_arch'' did not exist in macports.conf so I
 just added the empty one.

 Uninstalled glib2 and it's dependents, installed glib2 then gtk2. It
 worked just fine.

 I believe it did a universal build.  I'll look for more info.

 Cheers,
 Lantz

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


More information about the macports-tickets mailing list