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

Bug 765676

Summary: sys-libs/db in different slots collision on file /usr/lib64/libdb.so
Product: Gentoo Linux Reporter: Andrés Becerra Sandoval <andres.becerra>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrés Becerra Sandoval 2021-01-16 19:21:03 UTC
Trying to merge sys-libs/db in two different slots results in collision on file /usr/lib64/libdb.so

For example:
- Having installed sys-libs/db-6.0.35 (slot 6.0) as a dependency of many packages
- I need to install biopython, that pulls rdflib, that pulls bsddb3
- bsddb3 can not satisfy its dependency on db with db:6.0 becaus it has:
RDEPEND="
    <sys-libs/db-6.3:=
    || (
        sys-libs/db:6.2
        sys-libs/db:6.1
        sys-libs/db:5.3
        sys-libs/db:5.1
        sys-libs/db:4.8
        sys-libs/db:4.7
    )"
- If I try to use other slot, different to 6.0, I get collision 
- With both versions sys-libs/db:5.3 and sys-libs/db:6.2 I get:
Detected file collision(s):
 * 
 *      /usr/lib64/libdb.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * sys-libs/db-6.0.35-r3:6.0::gentoo
 *      /usr/lib64/libdb.so
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-16 19:24:17 UTC

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