Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136654 - dev-util/subversion-1.3.2 fails to compile with only db-4.3
Summary: dev-util/subversion-1.3.2 fails to compile with only db-4.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 141692 142622 142680 143869 153865 163063 169658 173181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-13 07:12 UTC by Mike Auty (RETIRED)
Modified: 2007-04-04 16:45 UTC (History)
8 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 Mike Auty (RETIRED) gentoo-dev 2006-06-13 07:12:59 UTC
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:)
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-06-13 07:21:28 UTC
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!
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-25 04:47:39 UTC
*** Bug 141692 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-03 02:11:07 UTC
*** Bug 142622 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-03 11:41:44 UTC
*** Bug 142680 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-08-14 03:37:39 UTC
*** Bug 143869 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-02 14:04:59 UTC
*** Bug 153865 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-21 14:02:10 UTC
*** Bug 163063 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-03-06 20:05:24 UTC
*** Bug 169658 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 09:11:53 UTC
*** Bug 173181 has been marked as a duplicate of this bug. ***
Comment 10 Carlos Eduardo Santos 2007-04-04 16:45:22 UTC
When I run revdep-rebuild, apr-util was rebuilt and then subversion worked.