Summary: | sys-apps/portage: emerge fails to report slot conflicts involving autounmask USE changes | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=426222 https://bugs.gentoo.org/show_bug.cgi?id=630488 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 300071, 628004 |
Description
Zac Medico
2017-04-17 08:41:49 UTC
If we're going to add pkg.with_use(self._pkg_use_enabled(pkg)) to the graph, then we need to add USE to the hash key. Also, the way that _pkg_use_enabled is used everywhere needs to be carefully considered. Maybe it will be okay as long as USE is part of the hash key. Fixing this bug will require significant changes, and it shouldn't block bug 615680. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=f5a58b3f2e2adc7f9d2794d4e91d44ec1419b56a commit f5a58b3f2e2adc7f9d2794d4e91d44ec1419b56a Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-02-23 22:14:30 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-02-23 22:37:34 +0000 Add USE conflict unit test for bug 615824 Test bug 615824, where an automask USE change results in a conflict which is not reported. In order to install L, foo must be disabled for both K and M, but autounmask disables foo for K and leaves it enabled for M: [ebuild N ] sci-libs/K-1 USE="-foo" [ebuild N ] sci-libs/L-1 [ebuild N ] sci-libs/M-1 USE="foo" The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by sci-libs/L-1::test_repo # required by sci-libs/L (argument) >=sci-libs/K-1 -foo Bug: https://bugs.gentoo.org/615824 Signed-off-by: Zac Medico <zmedico@gentoo.org> .../resolver/test_autounmask_use_slot_conflict.py | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) |