Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61847 - emerge --update portage Segmentation fault
Summary: emerge --update portage Segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 12:42 UTC by Branislav Kulich
Modified: 2004-08-30 19:25 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 Branislav Kulich 2004-08-26 12:42:48 UTC
emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r10 to /
>>> Downloading http://gentoo.zie.pg.gda.pl/distfiles/portage-2.0.50-r10.tar.bz2
--20:37:34--  http://gentoo.zie.pg.gda.pl/distfiles/portage-2.0.50-r10.tar.bz2
           => `/usr/portage/distfiles/portage-2.0.50-r10.tar.bz2'
Resolving gentoo.zie.pg.gda.pl... 153.19.33.225
Connecting to gentoo.zie.pg.gda.pl[153.19.33.225]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255,355 [application/x-tar]

100%[========================================================================================>] 255,355        1.41M/s             

20:37:35 (1.41 MB/s) - `/usr/portage/distfiles/portage-2.0.50-r10.tar.bz2' saved [255355/255355]

>>> md5 src_uri ;-) portage-2.0.50-r10.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r10.tar.bz2 to /var/tmp/portage/portage-2.0.50-r10/work
>>> Source unpacked.
collect2: ld terminated with signal 11 [Segmentation fault]
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... 

gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
In file included from libsandbox.c:1363:
getcwd.c: In function `__egetcwd':
getcwd.c:477: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [libsandbox.o] Error 1

!!! ERROR: sys-apps/portage-2.0.50-r10 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge --update portage
3.

Actual Results:  
emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r10 to /
>>> Downloading http://gentoo.zie.pg.gda.pl/distfiles/portage-2.0.50-r10.tar.bz2
--20:37:34--  http://gentoo.zie.pg.gda.pl/distfiles/portage-2.0.50-r10.tar.bz2
           => `/usr/portage/distfiles/portage-2.0.50-r10.tar.bz2'
Resolving gentoo.zie.pg.gda.pl... 153.19.33.225
Connecting to gentoo.zie.pg.gda.pl[153.19.33.225]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 255,355 [application/x-tar]

100%
[===============================================================================
=========>] 255,355        1.41M/s             

20:37:35 (1.41 MB/s) - `/usr/portage/distfiles/portage-2.0.50-r10.tar.bz2' saved 
[255355/255355]

>>> md5 src_uri ;-) portage-2.0.50-r10.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r10.tar.bz2 to /var/tmp/portage/portage-2.0.50-r10/
work
>>> Source unpacked.
collect2: ld terminated with signal 11 [Segmentation fault]
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... 

gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c 
libsandbox.c
In file included from libsandbox.c:1363:
getcwd.c: In function `__egetcwd':
getcwd.c:477: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [libsandbox.o] Error 1

!!! ERROR: sys-apps/portage-2.0.50-r10 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)
Comment 1 Branislav Kulich 2004-08-26 12:49:25 UTC
I run command "emerge portage" once more and all was compiled OK:


emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r10 to /
>>> md5 src_uri ;-) portage-2.0.50-r10.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r10.tar.bz2 to /var/tmp/portage/portage-2.0.50-r10/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox_futils.c -o sandbox_futils.o
gcc libsandbox.o sandbox_futils.o -shared  -fPIC -ldl -lc -nostdlib -lgcc -o libsandbox.so
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c sandbox.c -o sandbox.o
gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox

>>> Install portage-2.0.50-r10 into /var/tmp/portage/portage-2.0.50-r10/image/ category sys-apps
rm -f libsandbox.so sandbox
rm -f *.o *~ core
...
...
...
...
...
...
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-08-30 19:25:45 UTC
Closing.