revdep-rebuild fails to find libexpat, when it is run like this: #>revdep-rebuild -X --library libexpat.so.0 (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.14/work/gtk+-2.10.14/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.14/work/gtk+-2.10.14/modules/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.14/work/gtk+-2.10.14/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.10.14/work/gtk+-2.10.14' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. revdep-rebuild -X --library libexpat.so.0 2. wait, until it fails 3. Expected Results: rebuilt packages, where libexpat.so.0 is a dependency. kovetz ~ # emerge --info Portage 2.1.3.9 (default-linux/amd64/2007.0/server, gcc-3.4.6, glibc-2.5-r4, 2.6.18-gentoo-r6 x86_64) ================================================================= System uname: 2.6.18-gentoo-r6 x86_64 AMD Opteron(tm) Processor 244 Timestamp of tree: Sat, 27 Oct 2007 23:20:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 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.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -m64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=opteron -m64" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.public.fix.fi/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://85.25.128.62" MAKEOPTS="-j3" PKGDIR="/usr/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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X X509 acl alsa amd64 apache2 berkdb bitmap-fonts cli cracklib crypt cups dri dvd fortran gdbm gnome gpm gtk iconv ipv6 isdnlog kde kerberos ldap mailwrapper midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl postgres pppd python qt readline reflection samba session snmp spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts unicode winbind xml xorg 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
We need all /root/.revdep_rebuild* files attached. Also, which gentoolkit version is this about?
Created attachment 134686 [details] /root/.revdep-rebuild file
Created attachment 134687 [details] /root/.revdep-rebuild file
Created attachment 134688 [details] /root/.revdep-rebuild file
Created attachment 134690 [details] /root/.revdep-rebuild file
Created attachment 134692 [details] /root/.revdep-rebuild file
Created attachment 134693 [details] /root/.revdep-rebuild file
Created attachment 134695 [details] /root/.revdep-rebuild file
Created attachment 134697 [details] /root/.revdep-rebuild file
Created attachment 134698 [details] /root/.revdep-rebuild file
Created attachment 134700 [details] /root/.revdep-rebuild file
gentoolkit version: app-portage/gentoolkit-0.2.3-r
(In reply to comment #12) > gentoolkit version: app-portage/gentoolkit-0.2.3-r Try with 0.2.4_pre8 first please.
There is no such ebuild available: kovetz ~ # emerge -pv =sys-portage/gentoolkit-0.2.4_pre8 These are the packages that would be merged, in order: Calculating dependencies | emerge: there are no ebuilds to satisfy "=sys-portage/gentoolkit-0.2.4_pre8".
(In reply to comment #14) > There is no such ebuild available: > kovetz ~ # emerge -pv =sys-portage/gentoolkit-0.2.4_pre8 Indeed, there's no sys-portage category either. :)
Ok, now it worked, kind of. Seems that revdep-rebuild is no ok, but it crashes to other problems, such as gnome-desktop and other gnome components, which do not build. At least I was now able to run emerge -vu world and get the system up to date.