Yesterday I tried to run emerge --update --deep world, which resulted in dev-libs/expat being upgraded. The expat ebuild tells you to do revdep-rebuild:
* Please note that the soname of the library changed!
* If you are upgrading from a previous version you need
* to fix dynamic linking inconsistencies by executing:
* revdep-rebuild -X --library libexpat.so.0
However, revdep-rebuild fails while rebuilding xfce-extra/mousepad-0.2.12:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
I also tried revdep-rebuild -X --library libexpat.so.0 -- --skipfirst, but then it fails at xfsce-base/xfce4-session with the same error.
Steps to Reproduce:
1. emerge --update --deep world
2. revdep-rebuild -X --library libexpat.so.0
*** This bug has been marked as a duplicate of bug 41124 ***
This is not a duplicate of bug 41124!
If you bother to read this bug report, you would see that the suggestion in bug 41124 doesn't work. And bug 41124 is closed/invalid.
Any bug about revdep-rebuild requires to attach all /root/.revdep-rebuild* files and revdep-rebuild console output to the bug.
I had the same problem. For a workaround:
emerge -u XML-Parser
That worked for me.
(In reply to comment #4)
> I had the same problem. For a workaround:
> emerge -u XML-Parser
> That worked for me.
Sorry, that didn't do it.
I'll attach the .revdep-* files requested.
It looks like the problem is that revdep-rebuild doesn't handle slotted packages very well, in combination with that some installed versions doesn't exist in portage anymore.
Created attachment 129411 [details]
Log from revdep-rebuild
Created attachment 129413 [details]
.revdep-rebuild.0_env from revdep-rebuild
Created attachment 129414 [details]
.revdep-rebuild.1_files from revdep-rebuild
Created attachment 129415 [details]
.revdep-rebuild.2_ldpath from revdep-rebuild
Created attachment 129416 [details]
.revdep-rebuild.3_rebuild from revdep-rebuild
Created attachment 129417 [details]
.revdep-rebuild.4_ebuilds from revdep-rebuild
Created attachment 129418 [details]
.revdep-rebuild.5a_status from revdep-rebuild
Created attachment 129419 [details]
.revdep-rebuild.5_order from revdep-rebuild
Created attachment 129420 [details]
.revdep-rebuild.6_status from revdep-rebuild
Created attachment 129422 [details]
Log from revdep-rebuild -X
Created attachment 129424 [details]
.revdep-rebuild.0_env from revdep-rebuild -X
Created attachment 129426 [details]
.revdep-rebuild.1_files from revdep-rebuild -X
Created attachment 129428 [details]
.revdep-rebuild.2_ldpath from revdep-rebuild -X
Created attachment 129429 [details]
.revdep-rebuild.3_rebuild from revdep-rebuild -X
Created attachment 129431 [details]
.revdep-rebuild.4_ebuilds from revdep-rebuild -X
Created attachment 129432 [details]
.revdep-rebuild.4_package_owners from revdep-rebuild -X
Created attachment 129433 [details]
.revdep-rebuild.4_packages from revdep-rebuild -X
Created attachment 129434 [details]
.revdep-rebuild.4_packages_raw from revdep-rebuild -X
Created attachment 129435 [details]
.revdep-rebuild.5a_status from revdep-rebuild -X
Created attachment 129436 [details]
.revdep-rebuild.5b_status from revdep-rebuild -X
Created attachment 129437 [details]
.revdep-rebuild.5_order from revdep-rebuild -X
Created attachment 129439 [details]
.revdep-rebuild.6_status from revdep-rebuild -X
emerge --info still missing, mandatory for any bug. Which portage version are you using? If 22.214.171.124, then downgrade to 126.96.36.199 or upgrade to 188.8.131.52 and try again.
As it looks to me, revdep-rebuild fails because the exact versions that is currently installed is no longer in portage. And revdep-rebuild -X doesn't rebuild the correct slots, it just rebuilds the latest verion.
In my opinion, revdep-rebuild -X should rebuild packages within the same slot. As it is now, I have to run revdep-rebuild -p, then manually map the output from revdep-rebuild to the current version within the old slot, then run emerge manually. Should that really be necessary?
Portage 184.108.40.206 (default-linux/x86/transmode, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 i686)
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 14 Aug 2007 09:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
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
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://devsrv.transmode.se/portage/ http:/devsrv.transmode.se/portage/local/ http://gentoo.osuosl.org/"
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-*"
USE="X apache2 berkdb bitmap-fonts cli cracklib crypt cups dbus dri firefox fortran gdbm glitz gnome gpm gtk hal iconv isdnlog jpeg kerberos ldap midi motif mudflap ncurses nis nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png ppds pppd python readline reflection session spl ssl subversion tcpd truetype truetype-fonts type1-fonts unicode usb x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 se" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I'll try with portage 220.127.116.11... But that doesn't add slot support to revdep-rebuild, does it?
(In reply to comment #30)
> I'll try with portage 18.104.22.168... But that doesn't add slot support to
> revdep-rebuild, does it?
No, still the same problem.
The workaround for now is to install gentoolkit-0.2.4_pre6 or grab the patch
from bug #169761 and apply it to your version of revdep-rebuild
*** This bug has been marked as a duplicate of bug 169761 ***