public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kai Krakow <hurikhan77@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: depclean confusion
Date: Sat, 30 Dec 2017 00:52:42 +0100	[thread overview]
Message-ID: <a31jhe-c9a.ln1@hurikhan77.spdns.de> (raw)
In-Reply-To: p1c11h$bj5$1@blaine.gmane.org

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.



      parent reply	other threads:[~2017-12-29 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 21:18 [gentoo-user] depclean confusion Walter Dnes
2017-12-19 21:43 ` [gentoo-user] " Nikos Chantziaras
2017-12-20  0:55   ` Walter Dnes
2017-12-29 23:52   ` Kai Krakow [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a31jhe-c9a.ln1@hurikhan77.spdns.de \
    --to=hurikhan77@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox