Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73304 - Bootstrap failure: gettext version 0.12.1-r2 fails to compile
Summary: Bootstrap failure: gettext version 0.12.1-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 22:30 UTC by Mystilleef
Modified: 2004-12-04 11:47 UTC (History)
0 users

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


Attachments
Config log (config.log,6.68 KB, text/plain)
2004-12-03 22:35 UTC, Mystilleef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mystilleef 2004-12-03 22:30:32 UTC
gettext version 0.12.1-r2 fails to compile during a stage 1 bootstrap with the following error:
...
...
...
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link

!!! ERROR: sys-devel/gettext-0.12.1-r2 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.cd /usr/portage
2.scripts/bootstrap.sh -f
3.scripts/bootstrap.sh 

Actual Results:  
>>> emerge (2 of 7) sys-devel/gettext-0.12.1-r2 to /
>>> md5 files   ;-) gettext-0.14.1.ebuild
>>> md5 files   ;-) gettext-0.12.1-r2.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/gettext-0.12.1-bootstrap.patch
>>> md5 files   ;-) files/gettext-0.12.1-without_java.patch
>>> md5 files   ;-) files/digest-gettext-0.14.1
>>> md5 files   ;-) files/digest-gettext-0.12.1-r2
>>> md5 files   ;-) files/gettext-0.12.1-tempfile.patch
>>> md5 files   ;-) files/gettext-0.14.1-no-java-tests.patch
>>> md5 files   ;-) files/gettext-0.14.1-without_java.patch
>>> md5 src_uri ;-) gettext-0.12.1.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-0.12.1.tar.gz to /var/tmp/portage/gettext-0.12.1-r2/work
bootstrap
 * Applying gettext-0.12.1-bootstrap.patch ...                                 
                [ ok ] * Applying gettext-0.12.1-tempfile.patch ...            
                                      [ ok ] * Patching ${S}/config/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.4.3.patch ...
 *   Applying tmp-1.3.5.patch ...
 *   Applying fix-relink-1.4.0.patch ...
 * Applying uClibc/libtool patches ...
 * Using GNU config files from /usr/share/gnuconfig
 *  Updating config/config.sub                                                 
                [ ok ] *  Updating config/config.guess                         
                                      [ ok ]>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --without-included-gettext --enable-nlsconfigure:
WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in autoconf-lib-link
configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib'
'--without-included-gettext' '--enable-nls' 'CC=gcc' 'CFLAGS=-w -pipe
-funit-at-a-time -ftracer -march=athlon -Os -fomit-frame-pointer -fforce-addr
-frename-registers -fweb -s -fPIC -fpic' 'CXXFLAGS=-w -pipe -funit-at-a-time
-ftracer -march=athlon -Os -fomit-frame-pointer -fforce-addr -frename-registers
-fweb -s -fPIC -fpic' 'CXX=gcc' 'LDFLAGS=-Wl,-O1 -s'
'host_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot
create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for autoconf-lib-link

!!! ERROR: sys-devel/gettext-0.12.1-r2 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Expected bootstrap to complete successfully

[01:27 PM root(portage)]# emerge info
Portage 2.0.51-r3 (hardened/x86, gcc-3.3.4, unavailable, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-w -pipe -funit-at-a-time -ftracer -march=athlon -Os           
-fomit-frame-pointer -fforce-addr -frename-registers          -fweb -s -fPIC -fpic"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-w -pipe -funit-at-a-time -ftracer -march=athlon -Os         
-fomit-frame-pointer -fforce-addr -frename-registers          -fweb -s -fPIC -fpic"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa bindist cjk crypt curl dlloader dvd esd faad flac
gnome gnutls gstreamer gtk2 hal hardened howl ithreads live makecheck mmx mmx2
mng network nls nptl oss pam pic pie readline real rtc speex ssl svg tcpd tetex
theora threads tiff unicode usb userlocales x86 xine xv zlib"
Comment 1 Mystilleef 2004-12-03 22:35:23 UTC
Created attachment 45242 [details]
Config log

Config log for gettext
Comment 2 Mystilleef 2004-12-04 11:43:48 UTC
I figured out the problem. I was using the wrong make.conf file. Human error on my part.
Comment 3 solar (RETIRED) gentoo-dev 2004-12-04 11:47:50 UTC
that was easy :)