From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E41F9138CA2 for ; Fri, 24 Apr 2015 01:57:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FAC3E0AD8; Fri, 24 Apr 2015 01:57:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF0F2E0AD5 for ; Fri, 24 Apr 2015 01:57:27 +0000 (UTC) Received: from [10.0.31.145] (unknown [100.42.98.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 0DABB34069A for ; Fri, 24 Apr 2015 01:57:27 +0000 (UTC) Message-ID: <5539A304.50204@gentoo.org> Date: Thu, 23 Apr 2015 18:57:24 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 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 References: <1429744035.24234.29.camel@transmode.se> <55384F92.2040400@gentoo.org> <1429788911.24234.48.camel@transmode.se> In-Reply-To: <1429788911.24234.48.camel@transmode.se> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6c40102b-6f5c-4ee0-bd0d-42c9a0bef63a X-Archives-Hash: 39f2fa6289d17be5439b3250e333c74a 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