I'm trying to install an AMD64 system. After unpacking a stage 3 tarball and updating portage with emerge sync I'm trying to 'emerge -UD world' to update the system. I'm getting the same compile failure with the stage 3 tarball on the Gentoo 2004.2 AMD64 release and the latest stage 3 AMD64 snapshot available to me (20040716). The problem comes when trying to build perl 5.8.4-r1 Reproducible: Always Steps to Reproduce: 1. Install fresh AMD64 system with a stage 3 tarball. 2. emerge sync to update portage 3. emerge -UD world Actual Results: Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o. make[1]: Entering directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4' echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writem$ make[1]: Leaving directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4' Updating makefile... test -s perlmain.c && touch perlmain.c cd x2p; make depend make[1]: Entering directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/x2p' sh ../makedepend MAKE=make make[2]: Entering directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/x2p' echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist make[2]: Leaving directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/x2p' Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. make[2]: Entering directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/x2p' echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist make[2]: Leaving directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/x2p' Updating makefile... make[1]: Leaving directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/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:905: *** missing separator. Stop. !!! ERROR: dev-lang/perl-5.8.4-r1 failed. !!! Function src_compile, Line 234, Exitcode 2 !!! Unable to make Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r11-up) ================================================================= System uname: 2.6.7-gentoo-r11-up x86_64 4 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" 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="-O2 -pipe" DISTDIR="/jaipur/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp-mirror.internap.com/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://jaipur/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode foomaticdb gdbm gif gpm gtk imlib jpeg kde libg++ libwww mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype usb xml2 xmms xprint xv zlib"
I've just noticed on line 905. It is where the automatic dependencies start. There seems to be an extra line before the actual dependencies that contains a lone "0". If I remove, I can at least start a make in the working directory.
Since I couldn't build my whole system with 'emerge -uD world', I started compiling package manually one at a time. At the end, I found I could compile perl 5.8.4-r1 successfully. So some other update fixed the compile problem. One library that was changed was gettext. I believe it was downgraded from 14.2 to 12.1-r1. Maybe that was the package that was cauing the problem. I'm not sure.
nc