Details here. http://forums.gentoo.org/viewtopic-p-2486212.html#2486212 typically emerge fails with this. ------------------- /bin/install -c -m 644 link.h /var/tmp/portage/glibc-2.3.5.20050421/image//nptl/usr/include/link.h /bin/install -c -m 644 ../sysdeps/i386/bits/link.h /var/tmp/portage/glibc-2.3.5.20050421/image//nptl/usr/include/bits/link.h make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5.20050421/work/glibc-2.3.5/elf' make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5.20050421/work/glibc-2.3.5' shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory prepallstrip: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory strip: x86_64-pc-linux-gnu-strip --strip-unneeded find: cannot get current directory: No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5.20050421/image//lib/ld-linux.so.2': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5.20050421/image//lib/libpthread.so.0': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5.20050421/image//lib/libthread_db.so.1': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5.20050421/image//lib/tls/libpthread.so.0': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5.20050421/image//lib/tls/libthread_db.so.1': No such file or directory !!! ERROR: sys-libs/glibc-2.3.5.20050421 failed. !!! Function toolchain-glibc_src_install, Line 402, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ------------------ same error appears for 2.3.5 as well. Reproducible: Always Steps to Reproduce: 1.emerge glibc 2. 3. Actual Results: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory prepallstrip: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory strip: i686-pc-linux-gnu-strip --strip-unneeded find: cannot get current directory: No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5/image//lib/libpthread.so.0': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5/image//lib/libthread_db.so.1': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5/image//lib/tls/libthread_db.so.1': No such file or directory cp: cannot create symbolic link `/var/tmp/portage/glibc-2.3.5/image//lib/tls/libpthread.so.0': No such file or directory !!! ERROR: sys-libs/glibc-2.3.5 failed. !!! Function toolchain-glibc_src_install, Line 398, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: should emerge patch is attached.
Created attachment 61030 [details, diff] pop the dir that we pushed.
*** Bug 95689 has been marked as a duplicate of this bug. ***
thanks for the patch, updated all relevant glibc ebuilds with it
just wanna mention that the recent sandbox brought this problem to the forefront. It has always been there but never came out. So, whoever upgraded portage (hence got the new sandbox) won't be able to compile any glibc.
*** Bug 95747 has been marked as a duplicate of this bug. ***
*** Bug 95776 has been marked as a duplicate of this bug. ***