Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 864155 Details for
Bug 908717
sys-apps/portage-9999: can't resolve upgrade to LLVM 17 snapshots
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
POC patch
patch (text/plain), 1.56 KB, created by
YiFei Zhu
on 2023-06-18 18:17:46 UTC
(
hide
)
Description:
POC patch
Filename:
MIME Type:
Creator:
YiFei Zhu
Created:
2023-06-18 18:17:46 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/lib/_emerge/depgraph.py b/lib/_emerge/depgraph.py >index 28acfed9d..4ce7beef3 100644 >--- a/lib/_emerge/depgraph.py >+++ b/lib/_emerge/depgraph.py >@@ -1872,6 +1872,24 @@ class depgraph: > if self._dynamic_config._allow_backtracking: > self._slot_operator_trigger_reinstalls() > >+ # When there needs to be additional slot operator rebuilds, >+ # _solve_non_slot_operator_slot_conflicts is not aware of them, >+ # so it ends up pulling in subslot dependencies according to the >+ # installed subslots. This causes "slot conflict" entries to be added >+ # to backtrack infos, and portage would backtrack by masking each >+ # version. This is not ideal because portage now have to do multiple >+ # backtracks, for each version masked. It also implies that portage >+ # is attempting to pull in those versions, and this may cause issues >+ # during subslot rebuild pruning. Instead of that, let portage solve >+ # slot operator rebuilds first, then backtrack on slot conflicts, if >+ # they are truly necessary after slot operator rebuilds are considered. >+ if self._dynamic_config._backtrack_infos.setdefault("config", {}).get( >+ "slot_operator_replace_installed", set() >+ ): >+ if "slot conflict" in self._dynamic_config._backtrack_infos: >+ del self._dynamic_config._backtrack_infos["slot conflict"] >+ return >+ > def _process_slot_conflict(self, conflict): > """ > Process slot conflict data to identify specific atoms which
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 908717
:
864097
|
864098
|
864099
|
864100
|
864101
|
864108
|
864109
|
864145
|
864154
| 864155