Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47283

Summary: sed compile fails during bootstrap
Product: Gentoo Release Media Reporter: Kirk Smith <ksmith>
Component: EverythingAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kirk Smith 2004-04-08 17:00:18 UTC
When running the bootstrap script, all versions (stable and devel) of sed fail to compile on regex.


------------------------------------------------------------------------
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl -I.. -I../lib   -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \
then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi
In file included from regex.c:78:
regex_internal.h:100:1: warning: "__mempcpy" redefined
In file included from /usr/include/string.h:375,
                 from regex_internal.h:29,
                 from regex.c:78:
/usr/include/bits/string2.h:204:1: warning: this is the location of the previous definition
In file included from regex.c:81:
regcomp.c: In function `parse_bracket_element':
regcomp.c:3250: 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 reproduceable, so it is likely a hardware or OS problem
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sed-4.0.9/work/sed-4.0.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sed-4.0.9/work/sed-4.0.9'
make: *** [all] Error 2

!!! ERROR: sys-apps/sed-4.0.9 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! Shared build failed

------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1. run bootstrap.sh



System:
AMD Athlon XP 2200+
512 MB Ram
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2004-04-09 05:00:01 UTC
regcomp.c:3250: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.

Likely to be a hardware issue like buggy memory or broken (overheated?) cpu
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2004-05-11 22:39:30 UTC
I am closing this one now. Drop a comment if it needs to be reopened

*** This bug has been marked as a duplicate of 20600 ***
Comment 3 Phattanon Duangdara 2004-10-06 03:48:13 UTC
I found cause of sed and other packages build fail.

I have stage 1 in my my amd64 box. Using bootstrap.sh and bootstrap-2.6.sh from stage1.

sed build failed every time every bootstarap.

I found that configure is not properly running ?

I mean configure (econf) not actually running and sed being build after gnuconfig_update because of 'which' executable in stage tarball is missing lead to ebuild process failed.

Build process use bootstrap.sh from sed when not neccessary and cause sed build to fail and also bootstrapping.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-06 05:39:33 UTC
Use bootstrap-cascade.sh
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:24:48 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.