Gentoo Archives: gentoo-portage-dev

From: Alec Warner <antarus@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Conflicting RDEPENDS
Date: Fri, 29 May 2009 16:41:28
Message-Id: b41005390905290941v2748df96raab9263263e3d61c@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] Conflicting RDEPENDS by "René 'Necoro' Neumann"
1 On Fri, May 29, 2009 at 2:33 AM, René 'Necoro' Neumann <lists@××××××.eu> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Patrick Börjesson schrieb:
6 >>>
7 >>> # emerge -1av bacon
8 >>>
9 >>> These are the packages that would be merged, in order:
10 >>>
11 >>> Calculating dependencies ... done!
12 >>> [ebuild UD] app-test/eggs-1 [2] 0 kB [1]
13 >>> [ebuild N ] app-test/bacon-1 0 kB [1]
14 >>>
15 >>>
16 >>> This second behavior looks wrong to me, as it downgrades the RDEPEND of
17 >>> spam and thus spam becomes unusable.
18 >>
19 >> Try: emerge -1av --complete-graph bacon
20 >
21 > Ok - this works ... IF spam is in world. If I installed spam with
22 > - --oneshot, it won't work either.
23
24 So don't use --oneshot :)
25
26 >
27 >> Unless --complete-graph is specified emerge won't pull in the entire
28 >> dependency graph, thus won't notice the dependency-spec of
29 >> app-test/spam.
30 >> Using -D combined with the world set when updating your system yields
31 >> the same result as that also pulls in the entire dependency graph.
32 >>
33 >> Unless the entire dependency graph is pulled in emerge only tries to
34 >> satisfy the dependencies of the packages given on the commandline, and
35 >> since there's no "connection" between app-test/spam and app-test/bacon,
36 >> and emerge doesn't do reverse deps when adding something to the
37 >> dep-graph, it doesn't notice that app-test/bacon and app-test/spam has
38 >> conflicting dependencies
39 >>
40 >> Using --complete-graph is noticably slower since it slows down
41 >> dependency calculations, but it should (IMHO) really be the default
42 >> since these conflicts shows _before_ anything breaks.
43 >
44 > I agree.
45 >
46 > Regards,
47 > René
48 > -----BEGIN PGP SIGNATURE-----
49 > Version: GnuPG v2.0.11 (GNU/Linux)
50 > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
51 >
52 > iEYEARECAAYFAkofq+sACgkQ4UOg/zhYFuBhsACdEUiXen0NriASzULe0Ak9Waiv
53 > 6v8An1OxTqmbnhlCk7sRG0pYxfHJad8Y
54 > =Haya
55 > -----END PGP SIGNATURE-----
56 >
57 >