Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42901 - Subversion 1.0.0 ebuild won't compile with "cannot find /lib/libcom_err.so"
Summary: Subversion 1.0.0 ebuild won't compile with "cannot find /lib/libcom_err.so"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 09:01 UTC by Mick Semb Wever
Modified: 2004-03-22 09:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mick Semb Wever 2004-02-25 09:01:32 UTC
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.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2004-02-25 10:37:46 UTC
qpkg -f /lib/libcom_err.so results in package sys-fs/e2fsprogs.  Try remerging e2fsprogs
Comment 2 Mick Semb Wever 2004-02-26 03:22:05 UTC
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 :-(
Comment 3 Mick Semb Wever 2004-02-26 03:24:22 UTC
Tried reemerging sys-fs/e2fsprogs-1.34-r1
Made no difference to compile errors :=(
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-27 01:08:31 UTC
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
Comment 5 Mick Semb Wever 2004-03-22 04:30:53 UTC
Still happening with subversion-1.0.0-r1
(e2fsprogs has been reemerged).
Comment 6 Mick Semb Wever 2004-03-22 09:13:44 UTC
Oops. Tried again and it worked. Something got fixed in r1?