hi, i get errors during the update procedure using the update-step3.sh script to get my system to 1.4rc1 state. it happens during compiling perl 5.6 although perl 5.8.0 is emerged already. why do i need perl 5.6.1-r6 and how can i fix it, so perl 5.8 is used. thanks for any comments below is the error message produced by the update script: ..... make[2]: Entering directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/x2p'echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist make[2]: Leaving directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/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.6.1-r6/work/perl-5.6.1/x2p'echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist make[2]: Leaving directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/x2p' Updating makefile... make[1]: Leaving directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/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. sed: -e expression #1, char 54: Unknown option to `s' sh ./makedepend.SH Extracting makedepend (with variable substitutions) sh ./makedepend MAKE=make test -s perlmain.c && touch perlmain.c cd x2p; make depend make[1]: Entering directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/x2p'sh ../makedepend MAKE=make make[1]: Leaving directory `/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/x2p' `sh cflags libperl.so perl.o` -fPIC perl.c CCCMD = -DPERL_CORE -c /bin/sh: -c: command not found make: *** [perl.o] Error 127 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) emerge -e gcc binutils glibc pam-login FAILED.
mcummings: care to take a crack at this one ? looks like a bad sed expression
Actually, I've seen this exact bug before and it was due to a bad line the user's make.conf file passing ccflags that b0rked perl's make. Let me see if I can find that bug report and post it in here.
Take a look at : http://bugs.gentoo.org/show_bug.cgi?id=6071 This user had the same problem you are having. Let me know if this is relavant or not. Spent a lot of time blaming my sed's before we tracked that one down :) (my sed's are all worthy of blame, but thankfully I didn't write the ones in -r6).