public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] emerge -a @preserved-rebuild wants to rebuild dev-java/oracle-jdk-bin-1.8.0.45
Date: Thu, 23 Apr 2015 18:57:24 -0700	[thread overview]
Message-ID: <5539A304.50204@gentoo.org> (raw)
In-Reply-To: <1429788911.24234.48.camel@transmode.se>

On 04/23/2015 04:35 AM, Joakim Tjernlund wrote:
> On Wed, 2015-04-22 at 18:49 -0700, Zac Medico wrote:
>> On 04/22/2015 04:07 PM, Joakim Tjernlund wrote:
>>> emerge -a @preserved-rebuild
>>> [ebuild   Rf  ] dev-java/oracle-jdk-bin-1.8.0.45
>>>
>>> but this does not help, how can I see what @preserved-rebuild is looking for?
>>>
>>>   Jocke
>>>
>>
>> Probably ffmpeg/libav libraries. Here's a bug report:
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=460468
> 
> Yes, that is it :)
> 
> I would really like to have some verbose mode to @preserved-rebuild which shows
> what lib(s) is/are causing a rebuild.

Usually the "!!! existing preserved libs" message suffices. For example,
I just hit the exact same issue and the output looked like this:

!!! existing preserved libs:
>>> package: media-video/libav-9.17
 *  - /usr/lib64/libavformat.so.54
 *  - /usr/lib64/libavformat.so.54.20.4
 *      used by
/opt/oracle-jdk-bin-1.8.0.45/jre/lib/amd64/libavplugin-54.so
(dev-java/oracle-jdk-bin-1.8.0.45)
 *  - /usr/lib64/libavcodec.so.54
 *  - /usr/lib64/libavcodec.so.54.35.0
 *      used by
/opt/oracle-jdk-bin-1.8.0.45/jre/lib/amd64/libavplugin-54.so
(dev-java/oracle-jdk-bin-1.8.0.45)

> Seems easy to fool @preserved-rebuild though, just did
>   emerge -C oracle-jdk-bin ffmpeg && emerge oracle-jdk-bin:1.7 oracle-jdk-bin:1.8 media-video/ffmpeg
> and now portage is happy even though noting is solved.

It should be easy to fool, since it should only trigger under the
specific circumstances where a package contains library with installed
consumers (and there are no alternative providers of the same library
installed).
-- 
Thanks,
Zac


  reply	other threads:[~2015-04-24  1:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 23:07 [gentoo-portage-dev] emerge -a @preserved-rebuild wants to rebuild dev-java/oracle-jdk-bin-1.8.0.45 Joakim Tjernlund
2015-04-23  1:49 ` Zac Medico
2015-04-23 11:35   ` Joakim Tjernlund
2015-04-24  1:57     ` Zac Medico [this message]
2015-04-24  6:20       ` Joakim Tjernlund
2015-04-24  6:52         ` Zac Medico

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=5539A304.50204@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-portage-dev@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