Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8110 - emerging perl-5.6.1-r6 failed during update-step3.sh script
Summary: emerging perl-5.6.1-r6 failed during update-step3.sh script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 15006
Blocks:
  Show dependency tree
 
Reported: 2002-09-19 10:09 UTC by Adolf Hohl
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adolf Hohl 2002-09-19 10:09:33 UTC
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.
Comment 1 SpanKY gentoo-dev 2002-09-19 14:42:32 UTC
mcummings: care to take a crack at this one ?  looks like a bad sed expression
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2002-09-19 16:22:44 UTC
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.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-09-19 16:26:03 UTC
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).