after emerging gtk+2.12.1-r1 (Stable on x86), gkrellm fails to start and rox-filer fails to load correct icons. and I obtain this kind of errors, with gkrellm: (gkrellm:15619): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/var/tmp/portage/x11-libs/gtk+-2.12.1-r1/image/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (gkrellm:15619): GdkPixbuf-WARNING **: Error loading XPM image loader: Il tipo di immagine «xpm» non è supportato (gkrellm:15619): Gtk-CRITICAL **: gtk_window_set_default_icon: assertion `GDK_IS_PIXBUF (icon)' failed with rox: (ROX-Filer:15633): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/var/tmp/portage/x11-libs/gtk+-2.12.1-r1/image/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or directory (ROX-Filer:15633): GdkPixbuf-WARNING **: Error loading XPM image loader: Il tipo di immagine «xpm» non è supportato ** (ROX-Filer:15633): CRITICAL **: masked_pixmap_new: assertion `full_size != NULL' failed (ROX-Filer:15633): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Reproducible: Always Steps to Reproduce: 1.emerge --oneshot gtk+ 2.gkrellm 3.rox Actual Results: after the emerge, gkrellm fails to start and rox starts but with weird icons (something like "?") Expected Results: gkrellm starts normally rox starts normally I solved it modifying the ebuild in the section src_install(), changing the line: einstall || die "Installation failed" with the line: make DESTDIR="${D}" install || die "Installation failed" (copied from the ebuild of version 2.10.14) if it can be helpful, in my system I have only fluxbox as WM
In the overlay it got to be einstall to "fix double bug" or something like that. As Daniel, who made this change, doesn't have a clue anymore what this was for and if it's necessary, we should just change it back to make DESTDIR... just as it was in the 2.10 series. The einstall method probably passes --with-datadir=/var/tmp/... or something for potential sandbox violation avoiding and einstall is really a last resort, so the fix should be correct to use make DESTDIR=${D} install || die .. Someone on the gnome team, please fix this in a revbump with a straight to stable request to arches if it works fine, with a note on the earlier stabilization bug that the further revbump can be picked instead to save the time of arch teams that still haven't stabilized 2.12. If not, I'll just take care of this tomorrow myself - need to catch some sleep now
Actually, xfce team or any other dev is fine by me too to fix this with the above described procedure ;)
Fixed, it also changed gdk-pixbuf.loaders location back to e.g. /etc/gtk-2.0/x86_64-pc-linux-gnu which broke building emul pkgs, afaik.
CCing release@ to get this fix injected. CCing amd64@ to get gtklibs emul-* rebuilt together with gtk-engines-2.12.x soon (x86 will stable it later today, so rebuild can be done right after that, to get the gtk+ fix and new gtk-engines as well in one go)
(In reply to comment #4) > CCing release@ to get this fix injected. > > CCing amd64@ to get gtklibs emul-* rebuilt together with gtk-engines-2.12.x > soon (x86 will stable it later today, so rebuild can be done right after that, > to get the gtk+ fix and new gtk-engines as well in one go) > emul-linux-x86-gtklibs-20071121 should fix this(on amd64)
Created attachment 136642 [details] gtk-2.12.1_filelist_r1-r2.diff gtk-2.12.1-r2 breaks games-util/xqf-1.0.5 xqf segfaults because /etc/gtk-2.0/gdk-pixbuf.loaders is missing... attached is a diff of filelist from both the working (-r1) and the not working (-r2) packages. # emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.22.13 i686) ================================================================= System uname: 2.6.22.13 i686 AMD Athlon(tm) XP 3000+ Timestamp of tree: Wed, 21 Nov 2007 18:46:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r4 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -finline-functions" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/bash_completion.d /etc/bonobo-activation /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/imlib /etc/init.d /etc/iproute2 /etc/nas /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sasl2 /etc/sgml /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/xinetd.d /etc/xml" CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -finline-functions" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,--as-needed" LINGUAS="de" PKGDIR="/home/.portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/home/.portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.254/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa arts asf avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dvd dvdread emboss encode evo fam ffmpeg flac gdbm gif gnutls gpg gtk gtk2 iconv idn imagemagick imlib isdnlog jpeg kde kdehiddenvisibility libwww mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python qt3 qt3support quicktime readline real reflection sdl seamonkey session silc slang spell spl sse ssl svg tga theora tiff truetype truetype-fonts type1-fonts v4l2 vcd vorbis win32codecs x264 x86 xcomposite xml xml2 xorg xprint xv xvid zlib" ALSA_CARDS="emu10k1 via82xx" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #6) > Created an attachment (id=136642) [edit] > gtk-2.12.1_filelist_r1-r2.diff Wrong way to look at this. It's not listed because it's generated at pkg_postinst after src_install, to avoid file collision with multilib profiles, it was like this in gtk+-2.10.x already. So it doesn't end up in CONTENTS. At pkg_postinst in ebuild it executes "gdk-pixbuf-query-loaders > gdk-pixbuf.loaders" which creates the file into correct directory, for me it's /etc/gtk-2.0/x86_64-pc-linux-gnu/gdk-pixbuf.loaders based on CHOST. If the directory doesn't exist ebuild should warn at the end of installation of failure. But that is unlikely, more likely is that gdk-pixbuf-query-loaders as a command gets somekind of race on your system and fails to generate that file.. that would be an entire different issue. > gtk-2.12.1-r2 breaks games-util/xqf-1.0.5 > xqf segfaults because /etc/gtk-2.0/gdk-pixbuf.loaders is missing... I've just installed it, works for me.
For clarification, for non-multilib profile it still gets installed at /etc/gtk-2.0 (ebuild checks that with has_multilib_profile)
Ah, now I see the problem... I have /etc/gtk-2.0 in my CONFIG_PROTECT_MASK and thus /etc/gtk-2.0/gdk-pixbuf.loaders gets removed during removal of gtk+-2.12.1-r1: >>> x11-libs/gtk+-2.12.1-r2 merged. x11-libs/gtk+ selected: 2.12.1-r1 protected: 1.2.10-r12 2.12.1-r2 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Unmerging x11-libs/gtk+-2.12.1-r1... -----8<-----8<------8<------8<------ --- replaced dir /usr --- replaced obj /etc/gtk-2.0/im-multipress.conf --- replaced obj /etc/gtk-2.0/gtkrc <<< obj /etc/gtk-2.0/gdk-pixbuf.loaders --- replaced obj /etc/gtk-2.0/.keep_x11-libs_gtk+-2 --- replaced dir /etc/gtk-2.0 --- replaced obj /etc/env.d/50gtk2 --- replaced dir /etc/env.d --- replaced dir /etc <<< dir /usr/share/doc/gtk+-2.12.1-r1 >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages... so reemerging of gtk+-2.12.1-r2 should reinstall that file again. Sorry for the noise... Cheers Poly-C
(In reply to comment #9) > so reemerging of gtk+-2.12.1-r2 should reinstall that file again. > Sorry for the noise... No, it's a valid observation, thanks. -r2 using DESTDIR is correct, but it also changed the fact that .loaders isn't in CONTENTS anymore which breaks upgrading path from -r1 to -r2 for non-multilib users.
Hmm, seems to be isolated case.. no one else reported upgrading path issues.
(In reply to comment #11) > Hmm, seems to be isolated case.. no one else reported upgrading path issues. > Hi all I encountered a similar phenomena: after upgrading to x11-libs/gtk+-2.12.1-r2 xfce lost all icons and thunar refused to start with: "thunar:8161): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden (thunar:8161): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden (thunar:8161): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/gtk-2.0/gdk-pixbuf.loaders': Datei oder Verzeichnis nicht gefunden Thunar-ERROR **: Konnte Standardsymbol aus »/usr/share/pixmaps/Thunar/Thunar-fallback-icon.png« nicht laden (Format der Bilddatei unbekannt). Überprüfen Sie Ihre Installation! aborting... Abgebrochen reemerging the full xfce set brought no changes downgrading back to x11-libs/gtk+-2.10.14 brought thunar back - still some errors like: (thunar:31715): Gtk-WARNING **: GModule (/usr/lib/gtk-2.0/2.10.0/engines/libxfce.so) initialization check failed: Gtk+ version too old (micro mismatch) I expect the mismatch comes from the reemerging xfce.set I will reemerge xfce again and hope it solve the problem.... so something is wrong with gtk+-2.12.1-r2......
guys, is it working with gtk+-2.12.5-r1 ?
afaik this problem is fixed. If it's not please reopen.