I sync'ed today (say approx 2007-11-13 01:00 UTC), and emerged sys-libs/ncurses-5.6-r2 in my amd64 nomultilib prefix-portage install. It hosed my install as bash no longer worked giving the error "error while loading shared libraries: /opt/hwbp/usr/lib64/libncurses.so.5: invalid ELF header". (my EPREFIX is /opt/hwbp) The contents of EPREFIX/usr/lib64/libncurses.so are: --- /* GNU ld script Since Gentoo has critical dynamic libraries in /lib, and the static versions in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we run into linking problems. See bug http://bugs.gentoo.org/4411 for more info. */ OUTPUT_FORMAT ( elf64-x86-64 ) GROUP ( /opt/hwbp/lib64/libncurses.so ) --- however, /opt/hwbp/lib64/libncurses.so does not exist, and looking at the ncurses CONTENTS file nothing was installed in /opt/hwbp/lib64 I have since tried bootstrapping again, but this still happens with ncurses-5.5-r03.2 in the 20071108 snapshot, preventing getting past the "emerge --oneshot bash" stage.(I've tried both multilib and nomultilib When I originally bootstrapped on this platform, some months ago (around April I think), it was working OK. Reproducible: Always
I'm using: Portage 2.2.00.8470-prefix (default-prefix/linux/amd64/no-multilib, gcc-4.2.2, unavailable, 2.6.20-1.2925.fc6 x86_64) and I'm going to upgrade ncurses now.
indeed, it hoses the system. This is probably related: /net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo-prefix/grobian/prefix-tree/sys-libs/ncurses/ncurses-5.6-r2.ebuild: line 130: cd: /net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo/var/tmp/portage/sys-libs/ncurses-5.6-r2/image/ufs/fabian/scratch/programs/gentoo//lib64: No such file or directory
and I think I found the problem... oopsie... works fine on platforms that use lib instead of lib64.
the solution is to remove usr/lib64/libncurses.so.5 and /usr/lib64/libncursesw.so.5 such that tools fall back to your host OS provided ones.
Please apply the workaround as described in my previous post, emerge --sync and reemerge ncurses. I fixed the issue now. Sorry for the inconvenience, I will create a new snapshot asap!