Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273656 - dev-lang/python: linked against sys-libs/db even with USE="-berkdb"
Summary: dev-lang/python: linked against sys-libs/db even with USE="-berkdb"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-10 21:42 UTC by Bernd Lommerzheim
Modified: 2009-09-29 19:39 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 Bernd Lommerzheim 2009-06-10 21:42:49 UTC
Hey Gentoo-Developers,
on my server I had an sys-libs/db (db-4.7.25_p3) installed as a dependency of mail-mta/postfix. As I did not want that other packages are build with db support I set the global "-berkdb" USE-flag and "equery depends db" said that only Postfix depends on db. Later I remerged the newest version of dev-lang/python (2.6.2-r1) and I thought that it would be built without db support and would not be linked against it because of the "-berkdb" flag. Today I removed the dependency of Postfix against sys-libs/db and removed it. To be sure that no binary was linked against the removed libdb-4.7.so I ran "revdep-rebuild -v -p" and that script said the following:
 *   broken /usr/lib64/python2.6/lib-dynload/_bsddb.so (requires libdb-4.7.so)
I checked if the "-berkdb" USE-flag was really set for dev-lang/python and it was. Of cause the broken link issue was solved after I recompiled python with the same USE-flags. But there is this bug:
dev-lang/python (_bsddb.so) is linked against a existing libdb-4.7.so even if USE="-berkdb" is used.
Thanks.

Reproducible: Always

Steps to Reproduce:
1. emerge sys-libs/db
2. USE="-berkdb" emerge dev-lang/python
3. emerge --unmerge sys-libs/db
4. revdep-rebuild -v -p
Actual Results:  
 *   broken /usr/lib64/python2.6/lib-dynload/_bsddb.so (requires libdb-4.7.so)
A library of Python is linked against db even with USE="-berkdb"

Expected Results:  
This library of Python should not be linked against db when building dev-lang/python with USE="-berkdb". ;)
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-17 16:53:01 UTC
It is fixed in >=3.0...
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-29 19:39:11 UTC
It should be fixed in current ebuilds.