[MacPorts] #20997: gtk+-2.16.6 build fails with "gtk-update-icon-cache: The generated cache was invalid."

MacPorts noreply at macports.org
Fri Sep 4 10:57:29 PDT 2009


#20997: gtk+-2.16.6 build fails with "gtk-update-icon-cache: The generated cache
was invalid."
------------------------------------+---------------------------------------
 Reporter:  Anders.Montonen@…       |       Owner:  nox@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  1.8.0           
 Keywords:                          |        Port:  gtk2            
------------------------------------+---------------------------------------

Comment(by michael.klein@…):

 Same here, turns out that glib2's configure script thinks I'm building a
 universal binary because it sees "-arch=ppc" in $CFLAGS or something like
 that.

 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
 }}}

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


More information about the macports-tickets mailing list