From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EB6A13873B for ; Fri, 29 Dec 2017 23:57:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F31CAE0ECB; Fri, 29 Dec 2017 23:57:14 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83F9EE0E86 for ; Fri, 29 Dec 2017 23:57:14 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eV4UU-0003vq-Ab for gentoo-user@lists.gentoo.org; Sat, 30 Dec 2017 00:55:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Kai Krakow Subject: [gentoo-user] Re: depclean confusion Date: Sat, 30 Dec 2017 00:52:42 +0100 Message-ID: References: <20171219211837.GA7880@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Pan/0.142 (He slipped to Sam a double gin; 01b5bf4 git.gnome.org/pan2) X-Archives-Salt: 4f665aba-9a76-4e56-95ce-f27dfd0f7eb3 X-Archives-Hash: e89314d57fd0c27f71afc0fa5fd1f482 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.