Summary: | Portage doesn't pick up updates to xorg-server, which is in the world file | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Denis Dupeyron (RETIRED) <calchan> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amade, ansla80, bkohler, casta, esigra, josef64, polynomial-c, realnc |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 155723, 484436 | ||
Attachments: | _solve_non_slot_operator_slot_conflicts: fix bug #522084 |
Description
Denis Dupeyron (RETIRED)
2014-09-03 20:21:54 UTC
Is it still picked up if you use 'emerge -vpD xorg-server' ? There's a chance, that one of your packages has a restriction on xorg-server version. You can show reverse dependencies like this: emerge -pv --depclean xorg-server I have reproduced this bug in the past, no there was nothing that needed an older version. If you "emerge -1 xorg-server" to force the upgrade, then "emerge -uDNav world", everything is consistent and there are no problems. Looks like this is caused by the following commit: a862cc5dd1a56114fa579c5fb01b518b243666d9 : Solve some slot conflicts without backtracking My guess is that _solve_non_slot_operator_slot_conflicts (from commit a862cc5dd1a5) is solving slot conflicts triggered by slot operators before self._dynamic_config._slot_operator_replace_installed has had a chance to become populated by the first backtrack run. I now have a copy of Ben's configuration, with which I hope to reproduce this bug. In the following branch I have a test case (based on Ben's configuration) that reproduces this bug: https://github.com/zmedico/portage/tree/bug_522084 It shows that _solve_non_slot_operator_slot_conflicts removes both versions of xorg-server from the graph, since they don't have any non-conflict parents (except for @selected which matches both instances). Created attachment 385084 [details, diff] _solve_non_slot_operator_slot_conflicts: fix bug #522084 Fix _solve_non_slot_operator_slot_conflicts to add all parents to the conflict_graph, even for parents where the atom matches all relevant nodes. Otherwise, we risk removing all of the matched nodes from the graph, which would cause a missed update. This is in git now: https://github.com/gentoo/portage/commit/c81f3f4586b7b6164f5038ac778098911fef9404 *** Bug 519536 has been marked as a duplicate of this bug. *** *** Bug 523486 has been marked as a duplicate of this bug. *** This is fixed in portage-2.2.14. *** Bug 506022 has been marked as a duplicate of this bug. *** |