Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: depclean confusion
Date: Fri, 29 Dec 2017 23:57:22
Message-Id: a31jhe-c9a.ln1@hurikhan77.spdns.de
In Reply to: [gentoo-user] Re: depclean confusion by Nikos Chantziaras
1 Am Tue, 19 Dec 2017 23:43:35 +0200 schrieb Nikos Chantziaras:
2
3 > On 19/12/17 23:18, Walter Dnes wrote:
4 >> Finishing off an install, and running "emerge --depclean"
5 >>
6 >> =====================================================================
7 >>>>> Assigning files to packages...
8 >> * In order to avoid breakage of link level dependencies, one or more
9 >> * packages will not be removed. This can be solved by rebuilding the
10 >> * packages that pulled them in.
11 >> *
12 >> * sys-libs/db-5.3.28-r2 pulled in by:
13 >> * sys-apps/iproute2-4.14.1-r1 needs libdb-5.3.so *
14 >>>>> Adding lib providers to graph...
15 >> =====================================================================
16 >>
17 >> 1) I've rebuilt iproute2
18 >>
19 >> [ebuild R ] sys-apps/iproute2-4.14.1-r1::gentoo USE="-atm -berkdb
20 >> -iptables -ipv6 -minimal (-selinux)" 0 KiB
21 >
22 > Unmerge it anyway and then rebuild iproute2. It seems like an automagic
23 > dep. It should not be using db when the berkdb USE flag is not set.
24 > Since it does, it's a bug.
25
26 This is most of the times caused by configure scripts auto-detecting the
27 presence of certain libs. Such behavior should be disabled and indicates
28 a missing explicit disable/enable in the ebuild. You should report it.
29
30
31 > However, rebuilding it after unmerging db should fix it.
32 >
33 > With that being said, do a "quickpkg sys-libs/db" first to get a tarball
34 > backup, just to be safe if you need to restore it.
35
36
37 --
38 Regards,
39 Kai
40
41 Replies to list-only preferred.