Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231757 - x11-libs/gtk+-2.12.10-r1: compile fails with: gtk-update-icon-cache: The generated cache was invalid
Summary: x11-libs/gtk+-2.12.10-r1: compile fails with: gtk-update-icon-cache: The gene...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 10:17 UTC by Flo Gravo
Modified: 2008-10-04 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete /var/tmp/portage/x11-libs/gtk+-2.12.10-r1/temp/build.log (build.log,180.23 KB, text/plain)
2008-07-14 10:19 UTC, Flo Gravo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flo Gravo 2008-07-14 10:17:36 UTC
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
Comment 1 Flo Gravo 2008-07-14 10:19:36 UTC
Created attachment 160314 [details]
Complete /var/tmp/portage/x11-libs/gtk+-2.12.10-r1/temp/build.log
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-14 10:52:41 UTC
could you try with -O2 in place of -Os ?
Comment 3 Flo Gravo 2008-07-14 11:32:51 UTC
(In reply to comment #2)
> could you try with -O2 in place of -Os ?
> 

Same result...
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-14 12:15:41 UTC
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).
Comment 5 Laurent G. 2008-07-19 13:11:25 UTC
(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.
Comment 6 Roc Vallès 2008-07-21 06:28:31 UTC
I'm having this problem with x11-libs/gtk+-2.12.11 on ~sparc.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-23 21:59:31 UTC
please provide informations asked for in comment #4.
Comment 8 Roc Vallès 2008-07-23 22:04:32 UTC
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.
Comment 9 nixnut (RETIRED) gentoo-dev 2008-07-26 18:54:51 UTC
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. 
Comment 10 Roc Vallès 2008-07-26 19:18:08 UTC
(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.
Comment 11 LXj 2008-10-04 14:31:01 UTC
I had the same problem. Downgrading glib to 2.16.3-r1 helped