Gentoo Archives: gentoo-portage-dev

From: "René 'Necoro' Neumann" <lists@××××××.eu>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Conflicting RDEPENDS
Date: Thu, 28 May 2009 23:36:37
Message-Id: 4A1F1FF4.4080707@necoro.eu
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi,
5
6 (The following is done with portage-2.2_rc33)
7
8 I created some small test-packages for the following usecase:
9
10 Package "spam" rdepends on "=eggs-2".
11 Package "bacon" rdepends on "=eggs-1".
12
13 So in theory there should be no way of installing them together (given
14 that eggs is not slotted). This works if I try to install them in one go.
15
16 !!! Multiple package instances within a single package slot have been pulled
17 !!! into the dependency graph, resulting in a slot conflict:
18
19 app-test/eggs:0
20
21 ('ebuild', '/', 'app-test/eggs-2', 'merge') pulled in by
22 =app-test/eggs-2 required by ('ebuild', '/', 'app-test/spam-1', 'merge')
23
24 ('ebuild', '/', 'app-test/eggs-1', 'merge') pulled in by
25 =app-test/eggs-1 required by ('ebuild', '/', 'app-test/bacon-1',
26 'merge')
27
28
29 It looks different, if spam is installed and I try to install bacon
30 additionally:
31
32 # emerge -1av bacon
33
34 These are the packages that would be merged, in order:
35
36 Calculating dependencies ... done!
37 [ebuild UD] app-test/eggs-1 [2] 0 kB [1]
38 [ebuild N ] app-test/bacon-1 0 kB [1]
39
40
41 This second behavior looks wrong to me, as it downgrades the RDEPEND of
42 spam and thus spam becomes unusable.
43
44 Regards,
45 René
46
47 P.S.: In case it matters: You can find the repository containing the
48 trivial ebuilds here: https://code.launchpad.net/~necoro/+junk/test_repo
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v2.0.11 (GNU/Linux)
51 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
52
53 iEYEARECAAYFAkofH/QACgkQ4UOg/zhYFuDK/ACfegI2ylDDQV1/VZu+XAXUMUpL
54 9icAnRSvVxoK/XuZhOO3jWlXmXUjWV7p
55 =1RJK
56 -----END PGP SIGNATURE-----

Replies

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