| Summary: | bootstrap: libgcc_s not found on OpenSuSE | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Martin Höfling <martin.hoefling> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | jackhill |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Martin Höfling
2012-07-19 11:33:01 UTC
What is your $EPREFIX/etc/make.profile symlinked to? Prefix on amd64-linux uses lib as the libdir not lib64 as in …usr/lib64/gcc… I don’t understand why 4.2 is not affected though. I agree with both observations. How does $EPREFIX/usr look like? removing amd64 team, as they have nothing to do here as far as I can see now Link: make.profile -> /home/mhoefli/local/pfgentoo/usr/portage/profiles/prefix/linux/amd64 $ ls $EPREFIX/usr bin include lib lib64 libexec local portage sbin share tmp x86_64-pc-linux-gnu (In reply to comment #4) > $ ls $EPREFIX/usr > bin include lib lib64 libexec local portage sbin share tmp > x86_64-pc-linux-gnu Bingo, how did you get lib64 there? (qfile from portage-utils might help triage) no idea, emerged qfile. Is this the output you are interested?
mhoefli@mhoefli ~/local/pfgentoo $ qfile usr/lib64
sys-devel/gcc-4.2.4-r01.4 (/home/mhoefli/local/pfgentoo/usr/lib64)
sys-devel/gcc (/home/mhoefli/local/pfgentoo/usr/lib64)
seems as if gcc 4.2 has put some stuff there.
Just as a side note, I had similar lib64 problems emerging portage with python in tmp. Here's the full list of commands till the error occurs:
export EPREFIX=$HOME/local/pfgentoo
export PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH"
unset PYTHONPATH
./bootstrap-prefix.sh $EPREFIX tree
./bootstrap-prefix.sh $EPREFIX/tmp make
./bootstrap-prefix.sh $EPREFIX/tmp wget
./bootstrap-prefix.sh $EPREFIX/tmp sed
./bootstrap-prefix.sh $EPREFIX/tmp coreutils
./bootstrap-prefix.sh $EPREFIX/tmp findutils
./bootstrap-prefix.sh $EPREFIX/tmp tar
./bootstrap-prefix.sh $EPREFIX/tmp patch
./bootstrap-prefix.sh $EPREFIX/tmp grep
./bootstrap-prefix.sh $EPREFIX/tmp gawk
./bootstrap-prefix.sh $EPREFIX/tmp bash
./bootstrap-prefix.sh $EPREFIX/tmp zlib
./bootstrap-prefix.sh $EPREFIX/tmp python
#To fix python, I copied everything from lib64 in lib, otherwise portage doest find the python Makefile in the python config directory (they are in lib64).
#Copy $EPREFIX/tmp/usr/lib64 into $EPREFIX/tmp/usr/lib
./bootstrap-prefix.sh $EPREFIX portage
hash -r
emerge --oneshot sed
emerge --oneshot --nodeps bash
emerge --oneshot --nodeps wget
emerge --oneshot --nodeps sys-apps/baselayout-prefix
emerge --oneshot --nodeps app-arch/xz-utils
emerge --oneshot --nodeps sys-devel/m4
emerge --oneshot --nodeps sys-devel/flex
emerge --oneshot --nodeps sys-devel/bison
emerge --oneshot --nodeps sys-devel/binutils-config
emerge --oneshot --nodeps sys-devel/binutils
emerge --oneshot --nodeps sys-devel/gcc-config
emerge --oneshot --nodeps "=sys-devel/gcc-4.2*"
emerge --oneshot sys-apps/coreutils
emerge --oneshot sys-apps/findutils
emerge --oneshot '<app-arch/tar-1.26-r1'
emerge --oneshot sys-apps/grep
emerge --oneshot sys-devel/patch
emerge --oneshot sys-apps/gawk
emerge --oneshot sys-devel/make
emerge --oneshot sys-libs/zlib
emerge --oneshot --nodeps sys-apps/file
emerge --oneshot --nodeps app-admin/eselect
emerge --oneshot app-misc/pax-utils
emerge --oneshot "<net-misc/wget-1.13.4-r1"
emerge --oneshot virtual/os-headers
env FEATURES="-collision-protect" emerge --oneshot sys-apps/portage
rm -Rf $EPREFIX/tmp/*
hash -r
emerge --sync
emerge --oneshot "<dev-libs/mpc-0.9"
env USE=-git emerge -u system
echo 'USE="unicode nls"' >> $EPREFIX/etc/portage/make.conf
echo 'CFLAGS="-O2 -pipe"' >> $EPREFIX/etc/portage/make.conf
echo 'CXXFLAGS="${CFLAGS}"' >> $EPREFIX/etc/portage/make.conf
gcc-config -l
gcc-config 2
emerge -e system
this seems a dup of #414469 to me *** This bug has been marked as a duplicate of bug 414469 *** |