Compiling 1.0.0 fails everytime. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge subversion Actual Results: cd subversion/tests/libsvn_subr && /bin/sh /var/tmp/portage/subversion-1.0.0/work/subversion-1.0.0/libtool --silent --mode=link gcc -L/var/tmp/portage/subversion-1.0.0/image//usr/lib -mcpu=i686 -funroll-loops -pipe -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o config-test config-test.o ../../../subversion/tests/libsvn_test-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.1 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -ldl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find /lib/libcom_err.so collect2: ld returned 1 exit status make: *** [subversion/libsvn_ra_dav/libsvn_ra_dav-1.la] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-util/subversion-1.0.0 failed. !!! Function src_compile, Line 118, Exitcode 2 !!! make of subversion failed #uname -a Linux miw-1719 2.6.3-rc3-gentoo #1 Tue Feb 24 09:54:41 CET 2004 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux USE="static X gtk gnome alsa apache2 -arts cups dga doc evo foomaticdb gstreamer gtk2 gtkhtml java jpeg junit -qt -kde mozilla mpeg oci8 pdflib quicktime samba spell sse truetype unicode usb xml xml2 xmms zlib x86 krb4 irmc" 1st attempt) CFLAGS="-O3 -march=pentium4 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -ffast-math" 2nd attempt, same results) CFLAGS="-mcpu=i686 -funroll-loops -pipe" 3rd attempt) without static in USE keywords. Same results.
qpkg -f /lib/libcom_err.so results in package sys-fs/e2fsprogs. Try remerging e2fsprogs
Tried linking /usr/lib/libcom_err.so -> /lib/libcom_err.so got: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot open linker script file /lib/libcom_err.so: Too many open files Realised that libcom_err.so refers to mit-krb5 package which is fixed to app-crypt/mit-krb5-1.2.7 due to evolution & ximian-connector requirements :-(
Tried reemerging sys-fs/e2fsprogs-1.34-r1 Made no difference to compile errors :=(
It seems that this library is provided by both mit-krb5 and e2fsprogs. This is a bug and I will go and find out what went wrong. In the meantime try remerging e2fsprogs
Still happening with subversion-1.0.0-r1 (e2fsprogs has been reemerged).
Oops. Tried again and it worked. Something got fixed in r1?