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 0EC4D138CA3 for ; Sat, 14 Mar 2015 18:36:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FC09E092D; Sat, 14 Mar 2015 18:35:41 +0000 (UTC) Received: from gw1.transmode.se (gw1.transmode.se [195.58.98.146]) by pigeon.gentoo.org (Postfix) with ESMTP id 8B9EAE08EB for ; Sat, 14 Mar 2015 18:35:35 +0000 (UTC) Received: from exch2.transmode.se (exch2.transmode.se [192.168.203.24]) by gw1.transmode.se (Postfix) with ESMTP id 550331186FBD for ; Sat, 14 Mar 2015 19:35:29 +0100 (CET) Received: from exch1.transmode.se (192.168.201.16) by exch2.transmode.se (192.168.203.24) with Microsoft SMTP Server (TLS) id 15.0.995.29; Sat, 14 Mar 2015 19:35:28 +0100 Received: from exch1.transmode.se ([fe80::fc1a:b575:a6a1:145b]) by exch1.transmode.se ([fe80::fc1a:b575:a6a1:145b%19]) with mapi id 15.00.0995.028; Sat, 14 Mar 2015 19:35:28 +0100 From: Joakim Tjernlund To: "gentoo-portage-dev@lists.gentoo.org" Subject: Re: [gentoo-portage-dev] custom profiles? Thread-Topic: [gentoo-portage-dev] custom profiles? Thread-Index: AQHQV/aEYoJuCeJj/kyWychB2qEDZZ0RZvsAgAFGyYCAABR6AIAAIL2AgASB7oCAACPLAIAAJwQAgAAHrYCAAaMOAIAANGmAgAC9UQCAAF+/AIABP88AgABUrICAAAoxAA== Date: Sat, 14 Mar 2015 18:35:28 +0000 Message-ID: <1426358128.3123.61.camel@transmode.se> 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> <550476E3.7050506@gentoo.org> In-Reply-To: <550476E3.7050506@gentoo.org> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.15.91 x-originating-ip: [192.168.200.4] Content-Type: text/plain; charset="iso-8859-15" Content-ID: <8BCF461B599043428CCAF9E2A6E18B50@transmode.com> Content-Transfer-Encoding: quoted-printable 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 X-Archives-Salt: 6c8ebe85-fb06-4c8e-ab3c-202277003765 X-Archives-Hash: bf9dbc4218a56f1bc2033b72a3c02930 On Sat, 2015-03-14 at 10:58 -0700, Zac Medico wrote: > 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: > > > > > >=20 > > > > > >=20 > > > > > >=20 > > > > > > >=20 > > > > > > > > Why is --dynamic-deps=3Dy default? This feels like lying ab= out your true deps, I am probably=20 > > > > > > > > missing > > > > > > > > something here, an example would be great:) =20 > > > > > > >=20 > > > > > > > It's a legacy behavior, since portage has always behaved this= way, and ebuild developers have=20 > > > > > > > relied=20 > > > > > > > upon=20 > > > > > > > it (resulting in broken dependency calculations without it). > > > > > >=20 > > > > > > Here is odd difference: > > > > > >=20 > > > > > > emerge --dynamic-deps=3Dn changed-deps=3Dy -a1 vanilla-sources > > > > > > ... > > > > > > Nothing to merge > > > > > >=20 > > > > >=20 > > > > > That's normal, because --changed-deps implies --selective (a numb= er of options do this). If you add=20 > > > > > -- > > > > > selective=3Dn to the above command, you'll get the same result re= gardless of the --changed-deps=20 > > > > > option. > > > >=20 > > > > I just did a sync and "emerge -aNDu --dynamic-deps=3Dn --changed-de= ps=3Dy --selective=3Dn world" and > > > > again portage wanted to rebuild > 150 pkgs. > > > > --selective=3Dn seems to be the culprit, should I expect this from = --selective=3Dn ? > > >=20 > > > Yes --selective=3Dn is the opposite of --noreplace, so for the above = command, it will rebuild everything=20 > > > in=20 > > > /var/lib/portage/world. > >=20 > > hmm, this kind of a bummer >=20 > I don't understand your motivation for using --selective=3Dn with that co= mmand. Isn't the command useful=20 > without it? I have it my default emerge options=20 >=20 > > --dynamic-deps=3Dn implies --changed-deps=3Dy which implies --selective= =3Dn > > and this makes the whole world to rebuild. >=20 > No, don't use --selective=3Dn. I only mentioned it in order to explain th= e behavior that you observed. >=20 > > Using just --dynamic-deps=3Dn was not really safe if I understood corre= tly? >=20 > It's safe, but you may need --changed-deps in order for your dependency c= alculations to work (depends on=20 > how the dependencies of your installed packages have changed). I am trying to find out what to put in emerge default options and this "may= need" does relay compute in terms of default options. Does --dynamic-deps=3Dn only work reliable with emerge -NDu world ? Jocke=