emerge perl fails for some reason. The generated makefile left in /var/tmp/portage/perl-5.8.2-r1/work/perl-5.8.2/makefile has line 900 containing nothing but a '0', rendering the makefile syntactically invalid, apparently. Reproducible: Always Steps to Reproduce: 1. emerge dev-lang/perl 2. 3. Actual Results: make[1]: Leaving directory `/var/tmp/portage/perl-5.8.2-r1/work/perl-5.8.2/x2p' Now you must run 'make'. If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. makefile:900: *** missing separator. Stop. !!! ERROR: dev-lang/perl-5.8.2-r1 failed. !!! Function src_compile, Line 190, Exitcode 2 !!! Unable to make Expected Results: Presumably, a successful merge. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24) ================================================================= System uname: 2.4.24 i686 Gentoo Base System version 1.4.3.10 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -march=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb cdr crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Apparently /dev and /proc were not mounted.
I would like to have this bug reopened. It happens with perl 5.8.3 to me. During the merge I get the exactly same message, just with line 905 instead of 900 containing a single '0' in the makefile. I do have /proc and /dev (booted through a knoppix cd). The only problem I have is that writing to /dev/null gives a permission denied error (I replaced it with a link pointing to a ramdisk file.