gtk+ fails to compile with error message: gtk-update-icon-cache: The generated cache was invalid. Reproducible: Always Steps to Reproduce: 1. emerge -eav world Actual Results: In file included from updateiconcache.c:56: gtkiconcachevalidator.c: In function 'check_pixel_data': gtkiconcachevalidator.c:168: warning: pointer targets in passing argument 3 of 'gdk_pixdata_deserialize' differ in signedness /bin/sh ../libtool --mode=link powerpc-unknown-linux-gnu-gcc -pipe -mcpu=cell -mtune=cell -mabi=altivec -O2 -Wall -Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -o gtk-update-icon-cache updateiconcache.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la libtool: link: powerpc-unknown-linux-gnu-gcc -pipe -mcpu=cell -mtune=cell -mabi=altivec -O2 -Wall -Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed -o .libs/gtk-update-icon-cache updateiconcache.o ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lm make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/gtk' GDK_PIXBUF_MODULE_FILE=../gdk-pixbuf/gdk-pixbuf.loaders ./gtk-update-icon-cache --force --ignore-theme-index \ --source builtin_icons stock-icons > gtkbuiltincache.h.tmp && \ mv gtkbuiltincache.h.tmp gtkbuiltincache.h gtk-update-icon-cache: The generated cache was invalid. make[2]: *** [gtkbuiltincache.h] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10' make: *** [all] Error 2 * * ERROR: x11-libs/gtk+-2.12.10-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2872: Called die * The specific snippet of code: * emake || die "compile failed" * The die message: * compile failed * Expected Results: Update world. emerge --info: Portage 2.2_rc1 (default-linux/ppc/ppc64/2007.0/32bit-userland/desktop/970, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.23-ps3 ppc64) ================================================================= System uname: Linux-2.6.23-ps3-ppc64-Cell_Broadband_Engine,_altivec_supported-with-glibc2.0 Timestamp of tree: Sun, 13 Jul 2008 21:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.4.4-r6, 2.5.2-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.62-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="ppc ~ppc ~ppc64" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-Os -pipe -mcpu=cell -mtune=cell -mabi=altivec -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -pipe -mcpu=cell -mtune=cell -mabi=altivec -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.muntinternet.net/pub/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac ace alsa altivec avahi berkdb bindist bluetooth c++ cairo cdda cddb cdio cdr cli cracklib crypt cvs cxx dbus directfb dts dvd dvdr eds emboss encode fbcon ffmpeg firefox flac fortran ftp gcc64 gdbm gif git glib glibc-omitfp gnome gpm gstreamer gtk gtk2-perl hal iconv id3 id3tag ipv6 isdnlog java java6 javascript joystick jpeg jpeg2k lame ldap lzma lzo mad matroska mdnsresponder-compat metric midi mikmod mng mozilla mozsha1 mp2 mp3 mp4 mp4live mpeg mpeg2 mtp mudflap musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppc ppcsha1 pppd ps3 pulseaudio python quicktime readline realmedia reflection sdl session spell spl ssl startup-notification subversion svg symlink tagwriting tcpd theora thunderbird tiff truetype twolame type1 unicode usb vcd vcdx vim-syntax vim-with-x vlm vorbis wifi wma wmf wmp x264 xfce xfs xml xorg xscreensaver xulrunner xv zeroconf zip zlib" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 160314 [details] Complete /var/tmp/portage/x11-libs/gtk+-2.12.10-r1/temp/build.log
could you try with -O2 in place of -Os ?
(In reply to comment #2) > could you try with -O2 in place of -Os ? > Same result...
could you try to run gtk-update-icon-cache with gdb ? please make sure to rebuild whatever is needed with debugging symbols and appropriate FEATURES settings (here only glib and gtk itself I guess).
(In reply to comment #0) Hi I get quite the same problem : gtk+-2.12.11 failed with same error and trying to see for a difference with my current gtk+-2.12.10-r1, I launched ebuild ...gtk+-2.12.10-r1 which failed. So with what I've read on the net looking for "gtk-update-icon-cache..." it could be a theme installed since I succeeded with (my) current gtk (june 13). Investigating.
I'm having this problem with x11-libs/gtk+-2.12.11 on ~sparc.
please provide informations asked for in comment #4.
In my case at least, running the already installed gtk-update-icon-cache doesn't segfault or anything. The error during the build isn't a segfault or similar, either. It won't be trivial to debug with gdb. An idea I have is maybe to delete the icon cache, then emerge -u gtk+, but I have no idea where that icon cache is stored anyways.
This is caused by glib-2.16.4. See http://bugzilla.gnome.org/show_bug.cgi?id=542919. I've verified that an upgrade to glib-2.16.5 resolves the issue.
(In reply to comment #9) > This is caused by glib-2.16.4. See > http://bugzilla.gnome.org/show_bug.cgi?id=542919. I've verified that an upgrade > to glib-2.16.5 resolves the issue. > Not for me; upgraded glib and then tried to upgrade gtk+, to no avail; same problem.
I had the same problem. Downgrading glib to 2.16.3-r1 helped