Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612874 - sys-apps/portage: missed update from llvm:0 to llvm:4 when clang is not in @world
Summary: sys-apps/portage: missed update from llvm:0 to llvm:4 when clang is not in @w...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 155723 619102
  Show dependency tree
Reported: 2017-03-17 03:48 UTC by Zac Medico
Modified: 2017-08-11 19:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2017-03-17 03:48:38 UTC
If the test case for bug 612772 is modified by removing sys-devel/clang from @world, then the update from llvm:0 to llvm:4 is held back when check_reverse_dependencies returns False for the ~sys-devel/llvm-3.9.1 dependency from the installed sys-devel/clang-3.9.1-r100 instance. In this case, the _in_blocker_conflict method that solves bug 612772 returns False, because the clang:4 update is never pulled into the dependency graph.

It would be nice if emerge would recognize that an upgrade to llvm:4 would make the clang:0 package eligible for removal by --depclean. This is the test case:

diff --git a/pym/portage/tests/resolver/ b/pym/portage/tests/resolver/
index 2ab379c..484e69e 100644
--- a/pym/portage/tests/resolver/
+++ b/pym/portage/tests/resolver/
@@ -70,7 +70,7 @@ class SlotOperatorExclusiveSlotsTestCase(TestCase):
-               world = ["sys-devel/clang", "media-libs/mesa"]
+               world = ["media-libs/mesa"]
                test_cases = (
Comment 3 Zac Medico gentoo-dev 2017-08-11 19:48:47 UTC
Fixed in 2.3.6.