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

Bug 108563

Summary: bootstrap.sh fails to emerge gettext-0.14.4
Product: Gentoo Linux Reporter: Andrew <lobsterless>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew 2005-10-08 20:57:39 UTC
When I try to bootstrap my system using stage1-x86-2005.1 and portage-20051006 
on machine shown in `emerge info` below, there is an error compiling gettext, 
specifically in format-scheme.c.  I get these errors:

gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:2077: Warning: end of file not at end of a line; newline 
inserted
{standard input}:2999: Error: bad register name `%e'
make[4]: *** [format-lisp.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc: Internal error: Killed (program cc1)
->cascading make errors

I tried changing optimization to -O2, but had the same trouble.

Reproducible: Always
Steps to Reproduce:
1. Follow the Gentoo documentation like a good semi-competent newbie, create a 
make.conf file shown below.
2. Run scripts/bootstrap.sh

Actual Results:  
See above.

Expected Results:  
Bootstrap my system.

I have ignored repeated (I tried many, many times) errors about being unable to 
finish `emerge --sync`, because it has recieved xfce-extra, and that appears to 
be the last thing needed to sync.

-------------emerge --info-----------
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.
20041102-r1, 2.6.12-gentoo-r6 i586)
=================================================================
System uname: 2.6.12-gentoo-r6 i586 Pentium 75 - 200
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O3 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i586 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 alsa apm avi berkdb bitmap-fonts crypt cups encode fbcon foomaticdb 
fortran gdbm gif gpm imlib jpeg libg++ libwww mad mp3 mpeg ncurses nls ogg 
oggvorbis oss pam pdflib perl php png python readline spell ssl tcpd truetype 
truetype-fonts type1-fonts vorbis xml2 zlib userland_GNU kernel_linux 
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

-----------/etc/make.conf-------------
# These settings were created by a n00b.  Good luck.  AH 04OCT05
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O3 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
AUTOCLEAN="yes"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"

USE="-X fbcon -arts -eds -emboss -gnome -gstreamer -gtk -gtk2 -ipv6 -kde -mikmod 
-motif -opengl php -qt -quicktime -sdl -xmms -xv"

--------------All of the errors-------------------
/bin/sh ../libtool --tag=CC --mode=compile gcc -DLOCALEDIR=\"/usr/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/
lib/gettext\" -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/
lib\" -DGETTEXTDATADIR=\"/usr/share/gettext\" -DPROJECTSDIR=\"/usr/share/
gettext/projects\" -DHAVE_CONFIG_H -I. -I. -I..  -I. -I. -I.. -I../libgrep -I../
libuniname -I../lib -I../lib -I../intl -I../../gettext-runtime/intl   -O3 -
march=i586 -pipe -c -o format-scheme.lo format-scheme.c
 gcc -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" 
-DUSEJEXE=0 -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" -DGETTEXTJAR=\"/usr/share/
gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" -DGETTEXTDATADIR=\"/usr/share/
gettext\" -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I. -I. -I.. -I../libgrep -I../libuniname -I../lib -I../lib -I../intl -I..
/../gettext-runtime/intl -O3 -march=i586 -pipe -c format-scheme.c  -fPIC -DPIC 
-o .libs/format-scheme.o
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
{standard input}: Assembler messages:
{standard input}:2077: Warning: end of file not at end of a line; newline 
inserted
{standard input}:2999: Error: bad register name `%e'
make[4]: *** [format-lisp.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [format-scheme.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gettext-0.14.4/work/gettext-0.14.4/
gettext-tools/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.4/work/gettext-0.14.4/
gettext-tools/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.4/work/gettext-0.14.4/
gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.4/work/gettext-0.14.4/
gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.4 failed.
!!! Function src_compile, Line 65, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 04:29:18 UTC
You are probably out of memory/diskspace or have bad hardware.

*** This bug has been marked as a duplicate of 20600 ***