[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 18 14:18:52 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: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Resolution: worksforme | Keywords:
Port: gtk2 |
-------------------------------------+--------------------------------------
Comment(by LantzR@…):
While I agree that the problem seems to be #20372 this workaround worked
for me.
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, something
changed somewhere.
I had rebuilt glib2 on Sept 12th, then failed as described here a 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.
Looking good.
Thanks
--
Ticket URL: <http://trac.macports.org/ticket/20997#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list