1 |
-----BEGIN PGP SIGNED MESSAGE-----
|
2 |
Hash: SHA1
|
3 |
|
4 |
On Fri, 29 May 2009 01:36:20 +0200
|
5 |
René 'Necoro' Neumann <lists@××××××.eu> wrote:
|
6 |
|
7 |
> -----BEGIN PGP SIGNED MESSAGE----- |
8 |
> Hash: SHA1 |
9 |
> |
10 |
> Hi, |
11 |
> |
12 |
> (The following is done with portage-2.2_rc33) |
13 |
> |
14 |
> I created some small test-packages for the following usecase: |
15 |
> |
16 |
> Package "spam" rdepends on "=eggs-2". |
17 |
> Package "bacon" rdepends on "=eggs-1". |
18 |
> |
19 |
> So in theory there should be no way of installing them together (given |
20 |
> that eggs is not slotted). This works if I try to install them in one go. |
21 |
> |
22 |
> !!! Multiple package instances within a single package slot have been pulled |
23 |
> !!! into the dependency graph, resulting in a slot conflict: |
24 |
> |
25 |
> app-test/eggs:0 |
26 |
> |
27 |
> ('ebuild', '/', 'app-test/eggs-2', 'merge') pulled in by |
28 |
> =app-test/eggs-2 required by ('ebuild', '/', 'app-test/spam-1', 'merge') |
29 |
> |
30 |
> ('ebuild', '/', 'app-test/eggs-1', 'merge') pulled in by |
31 |
> =app-test/eggs-1 required by ('ebuild', '/', 'app-test/bacon-1', |
32 |
> 'merge') |
33 |
> |
34 |
> |
35 |
> It looks different, if spam is installed and I try to install bacon |
36 |
> additionally: |
37 |
> |
38 |
> # emerge -1av bacon |
39 |
> |
40 |
> These are the packages that would be merged, in order: |
41 |
> |
42 |
> Calculating dependencies ... done! |
43 |
> [ebuild UD] app-test/eggs-1 [2] 0 kB [1] |
44 |
> [ebuild N ] app-test/bacon-1 0 kB [1] |
45 |
> |
46 |
> |
47 |
What happens if you use
|
48 |
emerge -1avD bacon
|
49 |
|
50 |
> This second behavior looks wrong to me, as it downgrades the RDEPEND of |
51 |
> spam and thus spam becomes unusable. |
52 |
> |
53 |
|
54 |
Yeah, it does look wrong, but I don't think it is. Ideally, I suppose
|
55 |
eggs-1 could depend on !=app-test/spam-1 and so on, but that requires
|
56 |
coordination among developers. I suppose there is a bug in the ebuilds
|
57 |
because they should be set up so that if you have spam installed, you
|
58 |
can't install bacon and so on.
|
59 |
> Regards, |
60 |
> René |
61 |
> |
62 |
> P.S.: In case it matters: You can find the repository containing the |
63 |
> trivial ebuilds here: https://code.launchpad.net/~necoro/+junk/test_repo |
64 |
> -----BEGIN PGP SIGNATURE----- |
65 |
> Version: GnuPG v2.0.11 (GNU/Linux) |
66 |
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
67 |
> |
68 |
> iEYEARECAAYFAkofH/QACgkQ4UOg/zhYFuDK/ACfegI2ylDDQV1/VZu+XAXUMUpL |
69 |
> 9icAnRSvVxoK/XuZhOO3jWlXmXUjWV7p |
70 |
> =1RJK |
71 |
> -----END PGP SIGNATURE----- |
72 |
> |
73 |
|
74 |
Regards,
|
75 |
Ferris
|
76 |
- --
|
77 |
Ferris McCormick (P44646, MI) <fmccor@g.o>
|
78 |
Developer, Gentoo Linux (Sparc, Userrel, Trustees)
|
79 |
-----BEGIN PGP SIGNATURE-----
|
80 |
Version: GnuPG v2.0.11 (GNU/Linux)
|
81 |
|
82 |
iEYEARECAAYFAkofKE4ACgkQQa6M3+I///ecCQCfc17hm2Ih9hUbbVxVhIBzjrjK
|
83 |
xNMAnjkFUhSAfE7J9EXdCvpbjMq2afKk
|
84 |
=0M+O
|
85 |
-----END PGP SIGNATURE----- |