When I run bootstrap-2.6.sh I get this error. How do I get Bootstrap to use portage-2.0.50-r1? Gentoo Linux; http://www.gentoo.org/ Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL Starting Bootstrap of base system ... Using >=sys-apps/baselayout-1.7.9-r1 Using >=sys-apps/portage-2.0.25 Using >=sys-devel/binutils-2.13.90.0.4 Using >=sys-devel/gcc-3.2 Using sys-devel/gettext Using virtual/os-headers Using >=sys-libs/glibc-2.2.5 Using >=sys-apps/texinfo-4.2-r1 Using sys-libs/zlib Using >=sys-libs/ncurses-5.2.20020112a Configuring environment... Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.50-r1 to / >>> md5 src_uri portage-2.0.50-r1.tar.bz2 >>> Unpacking source... >>> Unpacking portage-2.0.50-r1.tar.bz2 to /var/tmp/portage/portage-2.0.50-r1/wo rk >>> Source unpacked. /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status ./create-localdecls Checking truncate argument type... off_t Checking libc version... /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status ldd: ./libctest: No such file or directory rm: cannot remove `libctest': No such file or directory gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsan dbox.c gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbo x_futils.c gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostd lib -lgcc /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status make: *** [libsandbox.so] Error 1 !!! ERROR: sys-apps/portage-2.0.50-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.running bootstrap-2.6.sh under 2004.0 livecd 2. 3. Actual Results: Gentoo Linux; http://www.gentoo.org/ Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL Starting Bootstrap of base system ... Using >=sys-apps/baselayout-1.7.9-r1 Using >=sys-apps/portage-2.0.25 Using >=sys-devel/binutils-2.13.90.0.4 Using >=sys-devel/gcc-3.2 Using sys-devel/gettext Using virtual/os-headers Using >=sys-libs/glibc-2.2.5 Using >=sys-apps/texinfo-4.2-r1 Using sys-libs/zlib Using >=sys-libs/ncurses-5.2.20020112a Configuring environment... Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.50-r1 to / >>> md5 src_uri portage-2.0.50-r1.tar.bz2 >>> Unpacking source... >>> Unpacking portage-2.0.50-r1.tar.bz2 to /var/tmp/portage/portage-2.0.50-r1/wo rk >>> Source unpacked. /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status ./create-localdecls Checking truncate argument type... off_t Checking libc version... /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status ldd: ./libctest: No such file or directory rm: cannot remove `libctest': No such file or directory gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsan dbox.c gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbo x_futils.c gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostd lib -lgcc /usr/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status make: *** [libsandbox.so] Error 1 !!! ERROR: sys-apps/portage-2.0.50-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) Expected Results: bootstrap-2.6.sh should run and complete fine Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24-xfs-r3) ================================================================= System uname: 2.4.24-xfs-r3 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.13 Autoconf: Automake: ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apache2 apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang spell ssl svga tcpd truetype usb x86 xml2 xmms xv zlib"
*** Bug 43811 has been marked as a duplicate of this bug. ***
You set ACCEPT_KEYWORDS="x86 ~x86". 1.) This setting is kinda nonsense ;) 2.) As mentioned in the installation-manual, you shouldn't set ~x86 before bootstrap is done. 3.) The syntax ">=sys-apps/portage-2.0.25" means that bootstrap will merge a portage version bigger or equal to 2.0.25, and in fact, this is what it does (>>> emerge (1 of 1) sys-apps/portage-2.0.50-r1 to /) Your Problem is likely to arise because of setting ~x86 before bootstrap is done. -> Usererror