aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-12-25 00:37:18 -0800
committerZac Medico <zmedico@gentoo.org>2019-12-26 14:56:39 -0800
commit680276cc4d4faa653203366cbe3c896ac3883cf2 (patch)
treee3d02ab2ffa79d6f309bec7a9a72b53fe313f511 /lib/portage/tests/resolver/test_onlydeps_minimal.py
parentemerge --with-test-deps: use _queue_disjunctive_deps (diff)
downloadportage-680276cc4d4faa653203366cbe3c896ac3883cf2.tar.gz
portage-680276cc4d4faa653203366cbe3c896ac3883cf2.tar.bz2
portage-680276cc4d4faa653203366cbe3c896ac3883cf2.zip
_serialize_tasks: limit scope of dropped circular dependencies
Ensure that all members of a buildtime dependency cycle are merged as a group, such that packages which depend on one or more members of the group will only be merged *after* the entire group has been merged. This extends runtime cycle handling to also handle buildtime cycles in cases where the buildtime dependencies happen to be satisfied by installed packages. In situations when this is necessary, it is desirable to rely on the old installed instances of these packages as little as possible, since they might have been broken by the upgrade of a package that is a member of the dependency cycle. Upgrading members of the cycle as a group effectively minimizes reliance on the old installed package instances, avoiding some cases of bug 199856. For example, it should avoid bug 703676, where libspectre reportedly failed to build against an old installed instance of ghostscript-gpl. Bug: https://bugs.gentoo.org/199856 Bug: https://bugs.gentoo.org/689644 Bug: https://bugs.gentoo.org/690436 Bug: https://bugs.gentoo.org/703676 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage/tests/resolver/test_onlydeps_minimal.py')
0 files changed, 0 insertions, 0 deletions