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". ;)
It is fixed in >=3.0...
It should be fixed in current ebuilds.