While running revdep-rebuild and emerging net-libs/libwww-5.4.0-r4 as first package it fails because of the missing "makeindex.pl". --- make[3]: Entering directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library/User' (cd . && \ perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \ > Extrnals.html) Can't open perl script "../../config/makeindx.pl": No such file or directory make[3]: *** [Extrnals.html] Error 2 Reproducible: Always Steps to Reproduce: 1. revdep-rebuild :) 2. 3. Actual Results: make[4]: Leaving directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library/src' make[3]: Leaving directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library/src' Making all in User make[3]: Entering directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library/User' (cd . && \ perl ../../config/makeindx.pl ../src/ ../src/WWW*.html \ > Extrnals.html) Can't open perl script "../../config/makeindx.pl": No such file or directory make[3]: *** [Extrnals.html] Error 2 make[3]: Leaving directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library/User' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0/Library' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/libwww-5.4.0-r4/work/w3c-libwww-5.4.0' make: *** [all-recursive-am] Error 2 !!! ERROR: net-libs/libwww-5.4.0-r4 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile libwww-5.4.0-r4.ebuild, line 67: Called die !!! Compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-libs/libwww-5.4.0-r4/temp/build.log'. emerge --info Portage 2.1.2.4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.20-gentoo-r6 i686) ================================================================= System uname: 2.6.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 23 Apr 2007 22:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 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.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j9" 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="7zip X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip ccache cdda cdr cg cgi chroot cli cracklib crypt css cups dba doc dri dvd dvdr emboss encode esd ethereal exif fastbuild fastcgi ffmpeg firefox foomaticdb force-cgi-redirect ftp gd gdbm getk2 gif glut gnome gpm gstreamer gtk gtk2 iconv icq imagemagick imap imlib isdnlog jabber javascript jpeg lame libg++ libwww lm_sensors mad memlimit midi mikmod motif mp3 mpeg mysql mysqli ncurses nfs nls nptl nptlonly ntfs nvidia ogg opengl openssh openssl pam pcre pdf pearl perl php png pppd python qt qt3 qt4 quicktime readline reflection reiser4 ruby sdl session sftp snmp sockets spell spl ssl symlink tcpd tidy truetype truetype-fonts type1-fonts vorbis x86 xml xml2 xorg xsl xv xvid 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" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
reemerging libwww-perl and then emerging libwww solved the problem