-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

(The following is done with portage-2.2_rc33)

I created some small test-packages for the following usecase:

Package "spam" rdepends on "=eggs-2".
Package "bacon" rdepends on "=eggs-1".

So in theory there should be no way of installing them together (given
that eggs is not slotted). This works if I try to install them in one go.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

app-test/eggs:0

  ('ebuild', '/', 'app-test/eggs-2', 'merge') pulled in by
    =app-test/eggs-2 required by ('ebuild', '/', 'app-test/spam-1', 'merge')

  ('ebuild', '/', 'app-test/eggs-1', 'merge') pulled in by
    =app-test/eggs-1 required by ('ebuild', '/', 'app-test/bacon-1',
'merge')


It looks different, if spam is installed and I try to install bacon
additionally:

# emerge -1av bacon

These are the packages that would be merged, in order:

Calculating dependencies                ... done!
[ebuild     UD] app-test/eggs-1 [2] 0 kB [1]
[ebuild  N    ] app-test/bacon-1  0 kB [1]


This second behavior looks wrong to me, as it downgrades the RDEPEND of
spam and thus spam becomes unusable.

Regards,
René

P.S.: In case it matters: You can find the repository containing the
trivial ebuilds here: https://code.launchpad.net/~necoro/+junk/test_repo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkofH/QACgkQ4UOg/zhYFuDK/ACfegI2ylDDQV1/VZu+XAXUMUpL
9icAnRSvVxoK/XuZhOO3jWlXmXUjWV7p
=1RJK
-----END PGP SIGNATURE-----

Reply via email to