this happens when I try to enter stage two of the install. bootstrap went fine, but emerge system then fails with groff. emerge info reports the following: almach groff-1.17.2 # emerge info Portage 2.0.46-r2 (default-x86-1.4, gcc-sh: which: command not found sh: -dumpversion: command not found, glibc-2.2.5-r6,2.3.1-r2) ================================================================= System uname: 2.4.19-r1 i686 GenuineIntel USE="x86 oss apm crypt cups encode java jpeg libg++ mikmod mpeg pdflib qtmt quicktime spell svga truetype xml2 xmms zlib -xv -gpm -mmx -3dnow -arts -lame -esd -gif -imlib -sdl -oggvorbis -gnome -gtk -X -qt -kde -motif -opengl -avi -png -tiff -gif -nls slang readline berkdb gdbm tcpd pam libwww ssl mitshm perl python ipv6 ncurses snmp" ARCH="x86" COMPILER="gcc3" CHOST="i386-pc-linux-gnu" CFLAGS="-mcpu=i386 -O3 -pipe" CXXFLAGS="-mcpu=i386 -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="" AUTOCLEAN="yes" SYNC="rsync://pittheus.uio.no/gentoo-x86-portage" GENTOO_MIRRORS="http://gentoo.linux.no http://www.ibiblio.org/gentoo" the relevant part of config.log when manually trying to build groff: int main () { exit (42); ; return 0; } configure:1788: g++ -c -g -O2 conftest.cc >&5 configure:1791: $? = 0 configure:1794: test -s conftest.o configure:1797: $? = 0 configure:1819: g++ -c -g -O2 conftest.cc >&5 configure:1822: $? = 0 configure:1825: test -s conftest.o configure:1828: $? = 0 configure:1854: checking that C++ compiler can compile simple program configure:1866: g++ -o conftest -g -O2 conftest.cc >&5 configure:1869: $? = 0 configure:1871: ./conftest ./conftest: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or dire ctory configure:1874: $? = 127 configure: program exited with status 127 configure: failed program was: #line 1861 "configure" #include "confdefs.h" int main() { return 0; } configure:1882: result: no configure:1883: error: a working C++ compiler is required hopefully this comes from either my odd USE-flags or something. still, it's not exactly nice. :-/
Include the info of: # ls /usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.1 and: # gcc -v
almach portage # gcc -v Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.1/specs Configured with: /var/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local --enable-shared --disable-nls Thread model: posix gcc version 3.2.1 almach portage # ls /usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.1 cc1 crtbeginS.o jc1 libg2c.so.0 libgcj.a libiberty.a libstdc++.a libsupc++.la cc1obj crtbeginT.o jvgenmain libg2c.so.0.0.0 libgcj.la libobjc.a libstdc++.la specs cc1plus crtend.o libfrtbegin.a libgcc.a libgcj.so libobjc.la libstdc++.so tradcpp0 collect2 crtendS.o libg2c.a libgcc_eh.a libgcj.so.3 libobjc.so libstdc++.so.5 cpp0 f771 libg2c.la libgcc_s.so libgcj.so.3.0.0 libobjc.so.1 libstdc++.so.5.0.1 crtbegin.o include libg2c.so libgcc_s.so.1 libgcj.spec libobjc.so.1.0.0 libsupc++.a I've retraced my steps and I hit the exact same problem again.
Make that: please include the info of: # ls -l /usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.1 Sorry.
almach portage # ls -l /usr/lib/gcc-lib/i386-pc-linux-gnu/3.2.1 total 87460 -rwxr-xr-x 1 root root 3467436 Dec 28 08:18 cc1 -rwxr-xr-x 1 root root 3549504 Dec 28 08:18 cc1obj -rwxr-xr-x 1 root root 4057668 Dec 28 08:18 cc1plus -rwxr-xr-x 1 root root 98672 Dec 28 08:18 collect2 -rwxr-xr-x 1 root root 103832 Dec 28 08:18 cpp0 -rw-r--r-- 1 root root 1636 Dec 28 08:18 crtbegin.o -rw-r--r-- 1 root root 1996 Dec 28 08:18 crtbeginS.o -rw-r--r-- 1 root root 1916 Dec 28 08:18 crtbeginT.o -rw-r--r-- 1 root root 1192 Dec 28 08:18 crtend.o -rw-r--r-- 1 root root 1244 Dec 28 08:18 crtendS.o -rwxr-xr-x 1 root root 3861672 Dec 28 08:18 f771 drwxr-xr-x 9 root root 4096 Dec 28 08:18 include -rwxr-xr-x 1 root root 3520820 Dec 28 08:18 jc1 -rwxr-xr-x 1 root root 9932 Dec 28 08:18 jvgenmain -rw-r--r-- 1 root root 1038 Dec 28 08:18 libfrtbegin.a -rw-r--r-- 1 root root 317580 Dec 28 08:18 libg2c.a -rw-r--r-- 1 root root 758 Dec 28 08:18 libg2c.la lrwxrwxrwx 1 root root 15 Dec 28 08:18 libg2c.so -> libg2c.so.0.0.0 lrwxrwxrwx 1 root root 15 Dec 28 08:18 libg2c.so.0 -> libg2c.so.0.0.0 -rwxr-xr-x 1 root root 127984 Dec 28 08:18 libg2c.so.0.0.0 -rw-r--r-- 1 root root 1750284 Dec 28 08:18 libgcc.a -rw-r--r-- 1 root root 209136 Dec 28 08:18 libgcc_eh.a lrwxrwxrwx 1 root root 13 Dec 28 08:18 libgcc_s.so -> libgcc_s.so.1 -rw-r--r-- 1 root root 37348 Dec 28 08:18 libgcc_s.so.1 -rw-r--r-- 1 root root 50030694 Dec 28 08:18 libgcj.a -rw-r--r-- 1 root root 995 Dec 28 08:18 libgcj.la lrwxrwxrwx 1 root root 15 Dec 28 08:18 libgcj.so -> libgcj.so.3.0.0 lrwxrwxrwx 1 root root 15 Dec 28 08:18 libgcj.so.3 -> libgcj.so.3.0.0 -rwxr-xr-x 1 root root 8144815 Dec 28 08:18 libgcj.so.3.0.0 -rw-r--r-- 1 root root 336 Dec 28 08:18 libgcj.spec -rw-r--r-- 1 root root 161958 Dec 28 08:18 libiberty.a -rw-r--r-- 1 root root 109650 Dec 28 08:18 libobjc.a -rwxr-xr-x 1 root root 761 Dec 28 08:18 libobjc.la lrwxrwxrwx 1 root root 16 Dec 28 08:18 libobjc.so -> libobjc.so.1.0.0 lrwxrwxrwx 1 root root 16 Dec 28 08:18 libobjc.so.1 -> libobjc.so.1.0.0 -rwxr-xr-x 1 root root 97352 Dec 28 08:18 libobjc.so.1.0.0 -rw-r--r-- 1 root root 8031258 Dec 28 08:18 libstdc++.a -rwxr-xr-x 1 root root 969 Dec 28 08:18 libstdc++.la lrwxrwxrwx 1 root root 18 Dec 28 08:18 libstdc++.so -> libstdc++.so.5.0.1 lrwxrwxrwx 1 root root 18 Dec 28 08:18 libstdc++.so.5 -> libstdc++.so.5.0.1 -rwxr-xr-x 1 root root 1080573 Dec 28 08:18 libstdc++.so.5.0.1 -rw-r--r-- 1 root root 483102 Dec 28 08:18 libsupc++.a -rwxr-xr-x 1 root root 909 Dec 28 08:18 libsupc++.la -rw-r--r-- 1 root root 6821 Dec 28 08:18 specs -rwxr-xr-x 1 root root 57228 Dec 28 08:18 tradcpp0
There was an issue with gcc-3.2 and later not being able to link to libstdc++, but I cannot find it now. Do you really have an i386 ?
the box I am compiling this on is a Pentium box, but the install will be ported to a box with an elan chip of some sort, so I opted to be safe and build for i386. that should work, right? if there is anything I can do to test tings, let me know. I can set up another partition to build with other USE-flags if it is desired for testing. just give the box some time to bootstrap. :-)
there has been lots of updates in portage for both gcc and groff is this still an issue?
seems to be fixed
sorry for the late reply, rebuilding and testing has taken time. this bug does indeed seem to be gone.