Am Tue, 19 Dec 2017 23:43:35 +0200 schrieb Nikos Chantziaras: > On 19/12/17 23:18, Walter Dnes wrote: >> Finishing off an install, and running "emerge --depclean" >> >> ===================================================================== >>>>> Assigning files to packages... >> * In order to avoid breakage of link level dependencies, one or more >> * packages will not be removed. This can be solved by rebuilding the >> * packages that pulled them in. >> * >> * sys-libs/db-5.3.28-r2 pulled in by: >> * sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so * >>>>> Adding lib providers to graph... >> ===================================================================== >> >> 1) I've rebuilt iproute2 >> >> [ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb >> -iptables -ipv6 -minimal (-selinux)" 0 KiB > > Unmerge it anyway and then rebuild iproute2. It seems like an automagic > dep. It should not be using db when the berkdb USE flag is not set. > Since it does, it's a bug.
This is most of the times caused by configure scripts auto-detecting the presence of certain libs. Such behavior should be disabled and indicates a missing explicit disable/enable in the ebuild. You should report it. > However, rebuilding it after unmerging db should fix it. > > With that being said, do a "quickpkg sys-libs/db" first to get a tarball > backup, just to be safe if you need to restore it. -- Regards, Kai Replies to list-only preferred.