As suggested, I tried to emerge portage, but the build fails- Reproducible: Always Steps to Reproduce: 1.emerge portage 2. 3. Actual Results: emerge portage Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/portage-2.0.49-r21 to / >>> md5 src_uri ;-) portage-2.0.49-r21.tar.bz2 >>> Unpacking source... >>> Unpacking portage-2.0.49-r21.tar.bz2 to /var/tmp/portage/portage-2.0.49-r21/work >>> Source unpacked. ./create-localdecls Checking truncate argument type... off_t Checking libc version... libc.so.6 Checking glibc subversion... gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostdlib -lgcc gcc -march=i386 -O1 -pipe -Wall -c sandbox.c gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libdl.so: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE' collect2: ld returned 1 exit status make: *** [sandbox] Error 1 !!! ERROR: sys-apps/portage-2.0.49-r21 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message)
emerge -V portage Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
could you try re-emering glibc please and if that doesnt work, try re-emerging gcc
I reemerged glibc successfully; however, that did not solve the problem. I then tried to emerge gcc, which failed. Here is the error message: ./.libs/libgcj.so: undefined reference to `dlopen' collect2: ld returned 1 exit status make[3]: *** [jv-convert] Error 1 make[3]: *** Waiting for unfinished jobs.... ./.libs/libgcj.so: undefined reference to `dlopen' collect2: ld returned 1 exit status make[3]: *** [gij] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/i686-pc-linux-gnu/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/i686-pc-linux-gnu/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.2.3-r3 failed. !!! Function src_compile, Line 411, Exitcode 2 !!! (no error message) Now what ?
I also upgraded gcc-config and retried emerging gcc, but I keep getting the same mistake.
I managed to re-emerge gcc with USE="-java" emerge gcc however the problem with portage persists.
Michele, are you still having issues w/ sandbox compilation? Reopen if the issue still exists.
Closing due to old age