Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197292 - Early failure of prefix bootstrap on SUSE 9
Summary: Early failure of prefix bootstrap on SUSE 9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-28 12:45 UTC by Rabbe Fogelholm
Modified: 2007-10-29 09:58 UTC (History)
0 users

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


Attachments
console output (console-output.txt.bz2,24.68 KB, application/octet-stream)
2007-10-28 12:55 UTC, Rabbe Fogelholm
Details
$EPREFIX/var/tmp/portage/sys-apps/sed-4.1.5/work/sed-4.1.5/config.log (config.log,8.38 KB, text/plain)
2007-10-28 12:58 UTC, Rabbe Fogelholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2007-10-28 12:45:31 UTC
Bootstrapping prefix Gentoo failed at an early stage for me on a SUSE Linux Enterprise Server 9.3 machine.

I followed the September 11, 2007 version of http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-linux.xml.

The commands that I type in, as an unprivileged user, were: 

mkdir -p /tmp/local/g2
cd /tmp/local/g2
export EPREFIX=`pwd`
export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH"
wget http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/bootstrap-prefix.sh?format=txt
chmod +x bootstrap-prefix.sh\?format\=txt 
mv bootstrap-prefix.sh\?format\=txt  bootstrap-prefix.sh
./bootstrap-prefix.sh $EPREFIX tree
./bootstrap-prefix.sh $EPREFIX/tmp wget
./bootstrap-prefix.sh $EPREFIX/tmp python
./bootstrap-prefix.sh $EPREFIX portage
export LDFLAGS="-L${EPREFIX}/usr/lib{64,} -Wl,-rpath=${EPREFIX}/usr/lib{64,} -L${EPREFIX}/lib{64,} -Wl,-rpath=${EPREFIX}/lib{64,}"
export CPPFLAGS="-I${EPREFIX}/usr/include"
hash -r
emerge --oneshot sed

Everything went fine up to the `emerge --oneshot sed' step. See attachments. The very last lines go:

>>> Compiling source in /tmp/local/g2/var/tmp/portage/sys-apps/sed-4.1.5/work/sed-4.1.5 ...
/bin/sed
./configure --prefix=/tmp/local/g2/usr --host=i686-pc-linux-gnu --mandir=/tmp/local/g2/usr/share/man --infodir=/tmp/local/g2/usr/share/info --datadir=/tmp/local/g2/usr/share --sysconfd
ir=/tmp/local/g2/etc --localstatedir=/tmp/local/g2/var/lib --bindir=/tmp/local/g2/bin --disable-nls --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/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-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /tmp/local/g2/var/tmp/portage/sys-apps/sed-4.1.5/work/sed-4.1.5/config.log
 * 
 * ERROR: sys-apps/sed-4.1.5 failed.
 * Call stack:
 *   , line :  Called die
 * The specific snippet of code:

 *   
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/local/g2/var/tmp/portage/sys-apps/sed-4.1.5/temp/build.log'.
 * 

 * Messages for package sys-apps/sed-4.1.5:

 * 
 * ERROR: sys-apps/sed-4.1.5 failed.
 * Call stack:
 *   , line :  Called die
 * The specific snippet of code:
 *   
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/local/g2/var/tmp/portage/sys-apps/sed-4.1.5/temp/build.log'.
Comment 1 Rabbe Fogelholm 2007-10-28 12:55:34 UTC
Created attachment 134530 [details]
console output

entire console output, compressed with bzip2.
Comment 2 Rabbe Fogelholm 2007-10-28 12:58:17 UTC
Created attachment 134531 [details]
$EPREFIX/var/tmp/portage/sys-apps/sed-4.1.5/work/sed-4.1.5/config.log

$EPREFIX/var/tmp/portage/sys-apps/sed-4.1.5/work/sed-4.1.5/config.log
Comment 3 Fabian Groffen gentoo-dev 2007-10-28 20:31:18 UTC
This won't expand (bug in the howto):

export LDFLAGS="-L${EPREFIX}/usr/lib{64,} -Wl,-rpath=${EPREFIX}/usr/lib{64,}
-L${EPREFIX}/lib{64,} -Wl,-rpath=${EPREFIX}/lib{64,}"

Please replace it by the properly expanded version (usr/lib64 usr/lib lib64 lib)
Comment 4 Rabbe Fogelholm 2007-10-29 09:48:38 UTC
I noticed that the webpage is updated now; I am re-trying the new setting for LDFLAGS right now and all looks fine. Just a minor thing: I suppose the date of the webpage should be updated (it still says September 11).
Comment 5 Fabian Groffen gentoo-dev 2007-10-29 09:58:38 UTC
ok, fixed the date in the doc now.

Considering this one as fixed.