Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597542 - net-dns/bind-tools-9.11.0 automagic dep on dev-db/lmdb liblmdb.so.0
Summary: net-dns/bind-tools-9.11.0 automagic dep on dev-db/lmdb liblmdb.so.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 14:28 UTC by Ben Kohler
Modified: 2016-11-05 12:06 UTC (History)
2 users (show)

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 Ben Kohler gentoo-dev 2016-10-19 14:28:44 UTC
I noticed today that depclean allowed me to remove dev-db/lmdb since none of my packages depend on it, but then preserve-libs kicks in for liblmdb.so.0 because several bind-tools binaries have linked to it.

Details:


ris-ben ~ # emerge -1 lmdb
Calculating dependenc... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-db/lmdb-0.9.18::gentoo
>>> Installing (1 of 1) dev-db/lmdb-0.9.18::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 0.49, 0.28, 0.15
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
ris-ben ~ # emerge bind-tools
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-dns/bind-tools-9.11.0::gentoo
>>> Installing (1 of 1) net-dns/bind-tools-9.11.0::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 1.17, 0.51, 0.26
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
ris-ben ~ # emerge -c lmdb

Calculating dependencies... done!
>>> Calculating removal order...

 dev-db/lmdb
    selected: 0.9.18 
   protected: none 
     omitted: none 

All selected packages: =dev-db/lmdb-0.9.18

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Unmerging (1 of 1) dev-db/lmdb-0.9.18...
Packages installed:   1095
Packages in world:    211
Packages in system:   44
Required packages:    1095
Number removed:       1

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-db/lmdb-0.9.18
 *  - /usr/lib64/liblmdb.so.0
 *      used by /usr/bin/delv (net-dns/bind-tools-9.11.0)
 *      used by /usr/bin/dig (net-dns/bind-tools-9.11.0)
 *      used by /usr/bin/dnssec-dsfromkey (net-dns/bind-tools-9.11.0)
 *      used by 10 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
ris-ben ~ #
Comment 1 Ben Kohler gentoo-dev 2016-10-19 14:35:42 UTC
Now that I look closer, this is already handled in net-dns/bind, we just need that same $(use_with lmdb) fix copied over to bind-tools as well.

Thanks!
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2016-11-05 12:06:46 UTC
Should be fixed in _p1. Thanks!