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 C334E138CA3 for ; Sat, 14 Mar 2015 17:59:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3696E092B; Sat, 14 Mar 2015 17:59:03 +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 28DA5E0929 for ; Sat, 14 Mar 2015 17:59:03 +0000 (UTC) Received: from [192.168.0.13] (ip174-67-205-96.oc.oc.cox.net [174.67.205.96]) (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 9FE49340817 for ; Sat, 14 Mar 2015 17:59:01 +0000 (UTC) Message-ID: <550476E3.7050506@gentoo.org> Date: Sat, 14 Mar 2015 10:58:59 -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] custom profiles? References: <1425636949.22708.149.camel@transmode.se> <54FB5D04.3090102@gentoo.org> <1425829669.22708.214.camel@transmode.se> <1425834066.22708.220.camel@transmode.se> <54FC9BC9.50108@gentoo.org> <1426088901.31989.31.camel@transmode.se> <550081CC.3010103@gentoo.org> <1426104966.31989.78.camel@transmode.se> <5500A8F7.2010608@gentoo.org> <1426196606.31989.154.camel@transmode.se> <55023475.1050008@gentoo.org> <1426248516.3123.34.camel@transmode.se> <55032396.7030007@gentoo.org> <1426337756.3123.50.camel@transmode.se> In-Reply-To: <1426337756.3123.50.camel@transmode.se> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Archives-Salt: df0b0fe8-2394-4e56-94cb-2a8a5f3401f2 X-Archives-Hash: 50a465aef75a2e3563bd34cb10597d51 On 03/14/2015 05:55 AM, Joakim Tjernlund wrote: > On Fri, 2015-03-13 at 10:51 -0700, Zac Medico wrote: >> On 03/13/2015 05:08 AM, Joakim Tjernlund wrote: >>> On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: >>>> On 03/12/2015 02:43 PM, Joakim Tjernlund wrote: >>>>> >>>>> >>>>> >>>>>> >>>>>>> Why is --dynamic-deps=y default? This feels like lying about your true deps, I am probably missing >>>>>>> something here, an example would be great:) >>>>>> >>>>>> It's a legacy behavior, since portage has always behaved this way, and ebuild developers have >>>>>> relied >>>>>> upon >>>>>> it (resulting in broken dependency calculations without it). >>>>> >>>>> Here is odd difference: >>>>> >>>>> emerge --dynamic-deps=n changed-deps=y -a1 vanilla-sources >>>>> ... >>>>> Nothing to merge >>>>> >>>> >>>> That's normal, because --changed-deps implies --selective (a number of options do this). If you add -- >>>> selective=n to the above command, you'll get the same result regardless of the --changed-deps option. >>> >>> I just did a sync and "emerge -aNDu --dynamic-deps=n --changed-deps=y --selective=n world" and >>> again portage wanted to rebuild > 150 pkgs. >>> --selective=n seems to be the culprit, should I expect this from --selective=n ? >> >> Yes --selective=n is the opposite of --noreplace, so for the above command, it will rebuild everything in >> /var/lib/portage/world. > > hmm, this kind of a bummer I don't understand your motivation for using --selective=n with that command. Isn't the command useful without it? > --dynamic-deps=n implies --changed-deps=y which implies --selective=n > and this makes the whole world to rebuild. No, don't use --selective=n. I only mentioned it in order to explain the behavior that you observed. > Using just --dynamic-deps=n was not really safe if I understood corretly? It's safe, but you may need --changed-deps in order for your dependency calculations to work (depends on how the dependencies of your installed packages have changed). -- Thanks, Zac