1 |
On Sat, 2015-03-14 at 10:58 -0700, Zac Medico wrote: |
2 |
> On 03/14/2015 05:55 AM, Joakim Tjernlund wrote: |
3 |
> > On Fri, 2015-03-13 at 10:51 -0700, Zac Medico wrote: |
4 |
> > > On 03/13/2015 05:08 AM, Joakim Tjernlund wrote: |
5 |
> > > > On Thu, 2015-03-12 at 17:51 -0700, Zac Medico wrote: |
6 |
> > > > > On 03/12/2015 02:43 PM, Joakim Tjernlund wrote: |
7 |
> > > > > > |
8 |
> > > > > > |
9 |
> > > > > > |
10 |
> > > > > > > |
11 |
> > > > > > > > Why is --dynamic-deps=y default? This feels like lying about your true deps, I am probably |
12 |
> > > > > > > > missing |
13 |
> > > > > > > > something here, an example would be great:) |
14 |
> > > > > > > |
15 |
> > > > > > > It's a legacy behavior, since portage has always behaved this way, and ebuild developers have |
16 |
> > > > > > > relied |
17 |
> > > > > > > upon |
18 |
> > > > > > > it (resulting in broken dependency calculations without it). |
19 |
> > > > > > |
20 |
> > > > > > Here is odd difference: |
21 |
> > > > > > |
22 |
> > > > > > emerge --dynamic-deps=n changed-deps=y -a1 vanilla-sources |
23 |
> > > > > > ... |
24 |
> > > > > > Nothing to merge |
25 |
> > > > > > |
26 |
> > > > > |
27 |
> > > > > That's normal, because --changed-deps implies --selective (a number of options do this). If you add |
28 |
> > > > > -- |
29 |
> > > > > selective=n to the above command, you'll get the same result regardless of the --changed-deps |
30 |
> > > > > option. |
31 |
> > > > |
32 |
> > > > I just did a sync and "emerge -aNDu --dynamic-deps=n --changed-deps=y --selective=n world" and |
33 |
> > > > again portage wanted to rebuild > 150 pkgs. |
34 |
> > > > --selective=n seems to be the culprit, should I expect this from --selective=n ? |
35 |
> > > |
36 |
> > > Yes --selective=n is the opposite of --noreplace, so for the above command, it will rebuild everything |
37 |
> > > in |
38 |
> > > /var/lib/portage/world. |
39 |
> > |
40 |
> > hmm, this kind of a bummer |
41 |
> |
42 |
> I don't understand your motivation for using --selective=n with that command. Isn't the command useful |
43 |
> without it? |
44 |
|
45 |
I have it my default emerge options |
46 |
|
47 |
> |
48 |
> > --dynamic-deps=n implies --changed-deps=y which implies --selective=n |
49 |
> > and this makes the whole world to rebuild. |
50 |
> |
51 |
> No, don't use --selective=n. I only mentioned it in order to explain the behavior that you observed. |
52 |
> |
53 |
> > Using just --dynamic-deps=n was not really safe if I understood corretly? |
54 |
> |
55 |
> It's safe, but you may need --changed-deps in order for your dependency calculations to work (depends on |
56 |
> how the dependencies of your installed packages have changed). |
57 |
|
58 |
I am trying to find out what to put in emerge default options and this "may need" |
59 |
does relay compute in terms of default options. |
60 |
Does --dynamic-deps=n only work reliable with emerge -NDu world ? |
61 |
|
62 |
Jocke |