Summary: | app-portage/portage-utils-0.92: qmerge fails to match packages with SUBSLOT, due to bug in atom.c atom_clone() method | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Barnabás Virágh <cyborgyn> |
Component: | Current packages | Assignee: | Fabian Groffen <grobian> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gitweb.gentoo.org/proj/portage-utils.git/tree/libq/atom.c | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=816060 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to fix atom.c clone function, to include SUBSLOT |
Created attachment 742626 [details, diff]
Patch to fix atom.c clone function, to include SUBSLOT
Thanks, pushed in c7e7502 nothing to wrangle here, sorry for the noise The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e74e1d6c4bf1db571db1cec13356ffbe10ba56f commit 7e74e1d6c4bf1db571db1cec13356ffbe10ba56f Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-12-21 10:23:54 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-12-21 10:25:33 +0000 app-portage/portage-utils-0.93: version bump Closes: https://bugs.gentoo.org/815622 Closes: https://bugs.gentoo.org/816033 Closes: https://bugs.gentoo.org/816060 Closes: https://bugs.gentoo.org/829579 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org> app-portage/portage-utils/Manifest | 1 + .../portage-utils/portage-utils-0.93.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) |
The cache build finds and splits SLOT correctly to SLOT + SUBSLOT, but after when it is about to use, a clone of the atom to match, the clone function didn't copy SUBSLOT to the new cloned atom. This also prevented scenarios, during dependency resolving, to resolve such RDEPENDs: virtual/libudev:0/1=, and failing with error messages: qmerge: cannot resolve virtual/libudev:0/1= from rdepend(media-libs/libglvnd[X] dev-li... Reproducible: Always Steps to Reproduce: 1. qmerge -pv app-arch/bzip2:0/1 Actual Results: qmerge: nothing found for app-arch/bzip2:0/1 Expected Results: [R] app-arch/bzip2-1.0.8-r1 *** unmerging app-arch/bzip2-1.0.8-r1 >>> app-arch/bzip2-1.0.8-r1