Summary: | sys-apps/portage: missed sys-devel/llvm-3.8.0-r2 update from 3.7.1-r2 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, gentoo-bugs |
Priority: | Normal | Keywords: | InVCS |
Version: | 2.2 | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=612772 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723, 604854 | ||
Attachments: | copy of user configuration that reproduces the issue |
Description
Zac Medico
2016-05-31 04:58:37 UTC
Created attachment 435896 [details]
copy of user configuration that reproduces the issue
I was able to reproduce the problem using the attached configuration together with the gentoo repository at commit 88c1f9f779abf72b6091cd5f772dfcb29151e639 (from 2016-05-19, approximately when the user reported the issue).
The debug log shows a bunch of failed slot_operator_update_probe calls like this: slot_operator_update_probe: existing child package: (sys-devel/llvm-3.7.1-r2:0/3.7.1::gentoo, installed) existing parent package: (media-libs/mesa-11.2.2:0/0::gentoo, installed) new child package: None new parent package: None It seems pretty obvious that it has to fail in check_reverse_dependencies, since updating to llvm-3.8.0-r2 would break this dependency from the installed clang-3.7.1-r100 instance: ~sys-devel/llvm-3.7.1[clang(-),-debug,static-analyzer,abi_x86_64(-)] Maybe we can handle this by ignoring a broken reverse dependency when the corresponding parent package has an available update which would be compatible with the selected replacement package. sounds reasonable to me I have a test case which reproduces this issue in the following branch: https://github.com/zmedico/portage/tree/bug_584626 My branch has a fix, and I've posted the patches for review: https://archives.gentoo.org/gentoo-portage-dev/message/0d492715dd8b590c29004c82eecbb02a https://archives.gentoo.org/gentoo-portage-dev/message/64eef561062fb9ef59260f7a05c2f108 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=0ccb4f0fefa54592f9c90c70c855dbe35d0ede75 Fixed in portage-2.3.3. |