I've just upgraded expat to version 2.0.1 on a amd64 machine. "revdep-rebuild -X --library libexpat.so.0" says I have to rebuild several files. x11-libs/gtk+-2.10.13 gets the following error during it's rebuild: x86_64-pc-linux-gnu-gcc -shared .libs/imviqr.o -Wl,--rpath -Wl,/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gdk-pixbuf/.libs -Wl,--rpath -Wl,/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gdk/.libs -Wl,--rpath -Wl,/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gtk/.libs -L/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gdk-pixbuf/.libs -L/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gdk/.libs ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/lib64 ../../gdk/.libs/libgdk-x11-2.0.so ../../gtk/.libs/libgtk-x11-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libX11.so /usr/lib64/libXfixes.so /usr/lib64/libatk-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libcairo.so -lm -march=k8 -Wl,-soname -Wl,im-viqr.so -o .libs/im-viqr.so creating im-viqr.la (cd .libs && rm -f im-ti-er.la && ln -s ../im-ti-er.la im-ti-er.la) (cd .libs && rm -f im-ti-et.la && ln -s ../im-ti-et.la im-ti-et.la) (cd .libs && rm -f im-thai.la && ln -s ../im-thai.la im-thai.la) (cd .libs && rm -f im-ipa.la && ln -s ../im-ipa.la im-ipa.la) (cd .libs && rm -f im-viqr.la && ln -s ../im-viqr.la im-viqr.la) ../../gtk/gtk-query-immodules-2.0 im-xim.la im-am-et.la im-cedilla.la im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la > gtk.immodules /var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/gtk/.libs/lt-gtk-query-immodules-2.0: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory make[3]: *** [gtk.immodules] Error 127 make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/modules/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.13/work/gtk+-2.10.13' make: *** [all] Error 2 !!! ERROR: x11-libs/gtk+-2.10.13 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile gtk+-2.10.13.ebuild, line 108: Called die !!! compile failed As per Jakub's instruciotns in bug #188473 I'm opening a bug on revdep-rebuild and attaching all "/root/.revdep*" files. My emerge --info: # emerge --info Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 x86_64) ================================================================= System uname: 2.6.21-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 13 Aug 2007 09:30:10 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LINGUAS="en pt_BR" MAKEOPTS="-j5" PKGDIR="/var/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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-fabrica /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext amd64 bitmap-fonts bzip2 cli cracklib crypt dri fortran gif gpm iconv isdnlog jbig jpeg ldap md5sum midi mmx mmxext mpeg mudflap ncurses nptl nptlonly openmp pam pcre pdf perl png pppd python readline reflection session spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode wmf xorg xpm zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="en pt_BR" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 127960 [details] root/.revdep-rebuild.0_env
Created attachment 127961 [details] root/.revdep-rebuild.1_files
Created attachment 127962 [details] root/.revdep-rebuild.5a_status
Created attachment 127963 [details] root/.revdep-rebuild.5b_status
Created attachment 127964 [details] root/.revdep-rebuild_77938876.3_rebuild
Created attachment 127965 [details] /root/.revdep-rebuild_77938876.4_ebuilds
Created attachment 127967 [details] /root/.revdep-rebuild_77938876.4_package_owners
Created attachment 127968 [details] /root/.revdep-rebuild_77938876.4_packages
Created attachment 127970 [details] /root/.revdep-rebuild_77938876.4_packages_raw
Created attachment 127972 [details] /root/.revdep-rebuild_77938876.5a_status
Created attachment 127974 [details] /root/.revdep-rebuild_77938876.5b_status
Created attachment 127975 [details] /root/.revdep-rebuild_77938876.5_order
Created attachment 127977 [details] /root/.revdep-rebuild_77938876.6_status
Fixing hardware entry.
My system is effected as well. >=x11-libs/gtk+-2.10.13 will not compile. It gets the same error about libexpat.so.0. My system is severely broken until this gets resolved, or a workaround is found. This bug appears to be miscategorized. It seems to be a problem related to the gtk+ ebuild, and is not specific to revdep-rebuild.
(In reply to comment #15) > My system is effected as well. >=x11-libs/gtk+-2.10.13 will not compile. It > gets the same error about libexpat.so.0. > > My system is severely broken until this gets resolved, or a workaround is > found. > > This bug appears to be miscategorized. It seems to be a problem related to the > gtk+ ebuild, and is not specific to revdep-rebuild. I finally found a workaround for gtk+ not compiling: emerge -1 -av XML-Parser gettext fontconfig pango gtk+ As strange as it seems, apparently the problem is really with revdep-rebuild after all that isn't able to correctly identify all the packages that need rebuilding.
In my case the problem was that revdep-rebuild wanted to emerge pango after gtk+. pango must be emerged before gtk+ and not after.
(In reply to comment #17) > In my case the problem was that revdep-rebuild wanted to emerge pango after > gtk+. pango must be emerged before gtk+ and not after. Yes. expat upgrade exposed shortcomings on revdep-rebuild which seem to be hard to fix. 'til now there are only "me too's" on this bug. No word from "them"...
This is caused by a bug in portage 2.1.2.11. Downgrade to 2.1.2.9, run the revdep-rebuild and then if desired, re-upgrade to portage 2.1.2.11
(In reply to comment #19) > This is caused by a bug in portage 2.1.2.11. Downgrade to 2.1.2.9, run the > revdep-rebuild and then if desired, re-upgrade to portage 2.1.2.11 Any reason why users shouldn't simple mask portage 2.1.2.11 definitely?
*** Bug 189195 has been marked as a duplicate of this bug. ***
*** Bug 189336 has been marked as a duplicate of this bug. ***
(In reply to comment #20) > Any reason why users shouldn't simple mask portage 2.1.2.11 definitely? That version is fine except for the revdep-rebuild case. Now 2.1.2.12 has been released and requested to be marked stable (bug 189289).
The portage version that was causing the issue has been marked stable.