Gentoo Archives: gentoo-portage-dev

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

Replies

Subject Author
Re: [gentoo-portage-dev] Conflicting RDEPENDS Alec Warner <antarus@g.o>
Re: [gentoo-portage-dev] Conflicting RDEPENDS "Patrick Börjesson" <psychotical@×××××××.com>