Subversion-1.3.2 fails to compile with the berkdb USE flag set, and sys-libs/db-4.3, since the makefile check seems to look for db-4.2 only... From portage's output: checking for socket in -lsocket... no checking for availability of Berkeley DB... no configure: error: Berkeley DB 4.0.14 wasn't found. From the configure.log file: configure:19659: checking for availability of Berkeley DB configure:19726: i686-pc-linux-gnu-gcc -o conftest -O2 -march=athlon-xp -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/apr-0 -I/usr/include/db4.2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -Wl,--as-needed -L/usr/lib conftest.c -L/usr/lib -ldb-4.2 >&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb-4.2 collect2: ld returned 1 exit status From the ebuild's COMMONDEPEND variable: berkdb? ( =sys-libs/db-4* ) If there's any more information required (emerge --info, etc) just ask... 5:)
Nuts, turned out it gets the version of db it has to compile against from apr-util. A recompile of that seemed to fix subversion's complaints. Weird that apr-util didn't show up in the revdep-rebuild, but oh well... Sorry for the inconvenience!
*** Bug 141692 has been marked as a duplicate of this bug. ***
*** Bug 142622 has been marked as a duplicate of this bug. ***
*** Bug 142680 has been marked as a duplicate of this bug. ***
*** Bug 143869 has been marked as a duplicate of this bug. ***
*** Bug 153865 has been marked as a duplicate of this bug. ***
*** Bug 163063 has been marked as a duplicate of this bug. ***
*** Bug 169658 has been marked as a duplicate of this bug. ***
*** Bug 173181 has been marked as a duplicate of this bug. ***
When I run revdep-rebuild, apr-util was rebuilt and then subversion worked.