Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 173181

Summary: dev-util/subversion-1.3.2 requires db-4.2
Product: Gentoo Linux Reporter: Carlos Eduardo Santos <cems>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: luke-jr+gentoobugs
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carlos Eduardo Santos 2007-04-02 18:56:25 UTC
emerge -uDN world upgraded db from 4.2 to 4.3, then emerge --depclean removed db-4.2 and subversion is broken: "svn: error while loading shared libraries: libdb-4.2.so: cannot open shared object file: No such file or directory".

I tried do recompile subversion (1.3.2-r3), but it failed because db-4.2 is required for compilation, too.

I had to emerge -av =sys-libs/db-4.2.52_p4-r2 to get svn working

Reproducible: Always

Steps to Reproduce:
1.emerge --depclean
2.emerge subversion
3.run svn
Comment 1 Luke-Jr 2007-04-03 19:03:44 UTC
I'm getting this on my laptop as well, but recompiling subversion worked on my other systems...
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-04-03 23:08:22 UTC
A revdep-rebuild is heavily recommended after depclean :)

From the big fat warning:
*** WARNING ***  Depclean may break link level dependencies.  Thus, it is
*** WARNING ***  recommended to use a tool such as `revdep-rebuild` (from
*** WARNING ***  app-portage/gentoolkit) in order to detect such breakage.
Comment 3 Luke-Jr 2007-04-03 23:21:01 UTC
Yeah, and revdep-rebuild tries to rebuild subversion... which errors!
Comment 4 Luke-Jr 2007-04-03 23:27:01 UTC
If you rearrange apr-util to rebuild first, subversion will work!
Comment 5 Carlos Eduardo Santos 2007-04-04 06:43:01 UTC
I always run revdep-rebuild, but this time I forgot, sorry. revdep-rebuild made subversion run with only db-4.3.

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 09:11:24 UTC
Reopen to dupe.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 09:11:53 UTC

*** This bug has been marked as a duplicate of bug 136654 ***