Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118569 - subversion fails with USE='-berkdb'
Summary: subversion fails with USE='-berkdb'
Status: RESOLVED DUPLICATE of bug 114481
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 12:19 UTC by Maarten Billemont
Modified: 2006-01-10 12:55 UTC (History)
0 users

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 Maarten Billemont 2006-01-10 12:19:02 UTC
When emerging subversion without Berkley DB support (USE='-berkdb') sys-libs/db is not a dependency, which causes subversion to fail with the following error:
 
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb-4.2
 
 subversion version in question is: dev-util/subversion-1.3.0  USE="bash-completion java nls perl python zlib -apache2 -berkdb -emacs -nowebdav -ruby"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 12:23:11 UTC
Re-emerge apr and apr-util...

*** This bug has been marked as a duplicate of 114481 ***
Comment 2 Maarten Billemont 2006-01-10 12:54:29 UTC
The consistency of my packages is fairly well, apr-utils has already been compiled without berkdb.
Now, it is possible apr wasn't compiled after apr-util had been recompiled, but this would mean there is a way to defeat the dependency system.
Is there a clean way to protect oneself against this?

ea. emerge apr apr-util with +berkdb
toggle to -berkdb
emerge -uvDN world will remerge apr-util with -berkdb
apr will not be updated, so I'm guessing this is what causes subversion to be forced to link against berkdb.

What can be done to make a system safe against these flaws that might become hard to trace?
Comment 3 Maarten Billemont 2006-01-10 12:55:48 UTC
The consistency of my packages is fairly well, apr-utils has already been compiled without berkdb.
Now, it is possible apr wasn't compiled after apr-util had been recompiled, but this would mean there is a way to defeat the dependency system.
Is there a clean way to protect oneself against this?

ea. emerge apr apr-util with +berkdb
toggle to -berkdb
emerge -uvDN world will remerge apr-util with -berkdb
apr will not be updated, so I'm guessing this is what causes subversion to be forced to link against berkdb.

What can be done to make a system safe against these flaws that might become hard to trace?