Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632210 - sys-apps/portage-2.3.10: SlotConflictUpdateTestCase fails with @world
Summary: sys-apps/portage-2.3.10: SlotConflictUpdateTestCase fails with @world
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 554838 631448
  Show dependency tree
Reported: 2017-09-28 00:33 UTC by Zac Medico
Modified: 2018-02-01 23:55 UTC (History)
1 user (show)

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

SlotConflictUpdateTestCase debug log (test_slot_conflict_update.log.xz,2.71 KB, application/x-xz)
2017-09-28 00:33 UTC, Zac Medico

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2017-09-28 00:33:01 UTC
Created attachment 496788 [details]
SlotConflictUpdateTestCase debug log

While testing a fix for bug 632202, I found that my fix caused SlotConflictUpdateTestCase to fail. Changing the test case as follows also causes it to fail:

diff --git a/pym/portage/tests/resolver/ b/pym/portage/tests/resolver/
index 331e5788b..f251d01f1 100644
--- a/pym/portage/tests/resolver/
+++ b/pym/portage/tests/resolver/
@@ -80,7 +80,7 @@ class SlotConflictUpdateTestCase(TestCase):
 			# this behavior makes SlotConflictMaskUpdateTestCase
 			# fail.
-				world,
+				['@world'],
 				all_permutations = True,
 				options = {"--update": True, "--deep": True},
 				success = True,
Comment 1 Zac Medico gentoo-dev 2017-09-29 06:17:07 UTC
It clearly misbehaves in the _solve_non_slot_operator_slot_conflicts method where it keeps boost-1.53.0 but removes the boost-build-1.53.0 that it depends on:

!!! Slot conflict solution:
   Conflict: (/tmp/tmpbbbg_epx/, dev-libs/boost:0)
      keep:   (dev-libs/boost-1.53.0:0/1.53::test_repo, ebuild scheduled for merge)
      keep:   (dev-libs/boost-1.52.0:0/1.52::test_repo, installed)
   Conflict: (/tmp/tmpbbbg_epx/, dev-util/boost-build:0)
      keep:   (dev-util/boost-build-1.52.0:0/0::test_repo, installed)
      remove: (dev-util/boost-build-1.53.0:0/0::test_repo, ebuild scheduled for merge)
Removing package: (dev-util/boost-build-1.53.0:0/0::test_repo, ebuild scheduled for merge)
Comment 4 Zac Medico gentoo-dev 2017-10-02 19:37:20 UTC
Released in 2.3.11.