Perl fails while emerging. Reproducible: Always Steps to Reproduce: 1. emerge perl Actual Results: `sh cflags "optimize='-march=k8 -O2 -pipe -fno-stack-protector'" a2p.o` a2p.c CCCMD = x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=k8 -O2 -pipe -fno -stack-protector x86_64-pc-linux-gnu-gcc -o a2p -L/usr/local/lib hash.o str.o util.o walk.o a2p.o -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ../miniperl -I../lib find2perl.PL Extracting find2perl (with variable substitutions) make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/x2p' Making B (dynamic) Writing Makefile for B::C Writing Makefile for B make[1]: Entering directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' /bin/sh: ../../../../../../../var/tmp/portage/perl-5.8.7/work/perl-5.8.7/miniperl: No such file or directory make[1]: *** [../../lib/auto/B/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' make config failed, continuing anyway... make[1]: Entering directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' /bin/sh: ../../../../../../../var/tmp/portage/perl-5.8.7/work/perl-5.8.7/miniperl: No such file or directory make[1]: *** [../../lib/auto/B/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' make: *** [lib/auto/B/B.so] Error 2 Expected Results: Nicely optimized AMD64 perl. `sh cflags "optimize='-march=k8 -O2 -pipe -fno-stack-protector'" a2p.o` a2p.c CCCMD = x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=k8 -O2 -pipe -fno -stack-protector x86_64-pc-linux-gnu-gcc -o a2p -L/usr/local/lib hash.o str.o util.o walk.o a2p.o -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc ../miniperl -I../lib find2perl.PL Extracting find2perl (with variable substitutions) make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/x2p' Making B (dynamic) Writing Makefile for B::C Writing Makefile for B make[1]: Entering directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' /bin/sh: ../../../../../../../var/tmp/portage/perl-5.8.7/work/perl-5.8.7/miniperl: No such file or directory make[1]: *** [../../lib/auto/B/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' make config failed, continuing anyway... make[1]: Entering directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' /bin/sh: ../../../../../../../var/tmp/portage/perl-5.8.7/work/perl-5.8.7/miniperl: No such file or directory make[1]: *** [../../lib/auto/B/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.8.7/work/perl-5.8.7/ext/B' make: *** [lib/auto/B/B.so] Error 2
wrong paste: eronde portage # emerge info Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: [Not Present] sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.59-r7 sys-devel/automake: 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fno-stack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fno-stack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="amd64 X accessbility acpi alsa bitmap-fonts crypt dvd dvdr font-server fortran gif gnome gpm gtk2 ipv6 jp2 jpeg lzw lzw-tiff mp3 ncurses nls nptl nptlonly opengl oss pam perl pic png python readline ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
I should advise the owner of the machine the next time to not dupicate mount his root partition as /var.