Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11964 - perl-5.8.0-r3 fails to compile (base install)
Summary: perl-5.8.0-r3 fails to compile (base install)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 09:37 UTC by Martin Schwier
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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 Martin Schwier 2002-12-11 09:37:57 UTC
fresh gentoo 1.4_rc1 install. emerge systems fails while compiling perl:
!!! ERROR: sys-devel/perl-5.8.0-r3 failed.
!!! Funktion src_compile, Line -113, Exitcode 2
!!! Unable toe make
Comment 1 Mark 2002-12-11 10:10:23 UTC
Confirmed.
Comment 2 Roman Weber 2002-12-11 10:11:35 UTC
I hope it's the same problem....more infos:

make[2]: Entering directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
cp shared.pm ../../../lib/threads/shared.pm
/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/miniperl
"-I../../../lib" "-I../../../lib" ../../../lib/ExtUtils/xsubpp  -typemap
../../../lib/ExtUtils/typemap -typemap typemap  shared.xs > shared.xsc && mv
shared.xsc shared.c
Running Mkbootstrap for threads::shared ()
chmod 644 shared.bs
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-march=pentium4 -O3 -pipe   -DVERSION=\"0.90\" -DXS_VERSION=\"0.90\" -fpic
"-I../../.."   shared.c
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-march=pentium4 -O3 -pipe   -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fpic
"-I../.."  -DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG re.c
cp re.bs ../../lib/auto/re/re.bs
chmod 644 ../../lib/auto/re/re.bs
rm -f ../../lib/auto/re/re.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib re_exec.o re_comp.o re.o  -o
../../lib/auto/re/re.so     
chmod 755 ../../lib/auto/re/re.so
make[1]: Leaving directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/re'

        Making threads::shared (dynamic)
make[1]: Entering directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
make[1]: Leaving directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
make[1]: Entering directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
rm -f ../../../lib/auto/threads/shared/shared.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib shared.o  -o
../../../lib/auto/threads/shared/shared.so     
shared.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [../../../lib/auto/threads/shared/shared.so] Error 1
make[1]: Leaving directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
make: *** [lib/auto/threads/shared/shared.so] Error 2
make: *** Waiting for unfinished jobs....
gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-march=pentium4 -O3 -pipe   -DVERSION=\"0.99\" -DXS_VERSION=\"0.99\" -fpic
"-I../.."   threads.c
cp threads.bs ../../lib/auto/threads/threads.bs
chmod 644 ../../lib/auto/threads/threads.bs
cp shared.bs ../../../lib/auto/threads/shared/shared.bs
chmod 644 ../../../lib/auto/threads/shared/shared.bs
rm -f ../../lib/auto/threads/threads.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib threads.o  -o
../../lib/auto/threads/threads.so     
chmod 755 ../../lib/auto/threads/threads.so
rm -f ../../../lib/auto/threads/shared/shared.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib shared.o  -o
../../../lib/auto/threads/shared/shared.so     
chmod 755 ../../../lib/auto/threads/shared/shared.so
make[2]: Leaving directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads/shared'
make[1]: Leaving directory
`/mnt/disk1/tmp-portage/portage/perl-5.8.0-r3/work/perl-5.8.0/ext/threads'

!!! ERROR: sys-devel/perl-5.8.0-r3 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! Unable toe make
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-12-11 10:21:44 UTC
emake has been replaced with make. THis should be fixed now.
Comment 4 Mark 2002-12-11 10:45:20 UTC
yep, just figured out the same thing myself. Thanks :)