Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176467 Details for
Bug 252572
emerge never ending dependendency calculatioins
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix infinite loop triggered by unresolvable blockers
blocker_loop.patch (text/plain), 1.23 KB, created by
Zac Medico
on 2008-12-26 20:56:50 UTC
(
hide
)
Description:
fix infinite loop triggered by unresolvable blockers
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-12-26 20:56:50 UTC
Size:
1.23 KB
patch
obsolete
>Index: pym/_emerge/__init__.py >=================================================================== >--- pym/_emerge/__init__.py (revision 12347) >+++ pym/_emerge/__init__.py (revision 12349) >@@ -6838,7 +6838,7 @@ > selected_nodes = list(selected_nodes) > selected_nodes.sort(cmp_circular_bias) > >- if not selected_nodes and not myblocker_uninstalls.is_empty(): >+ if not selected_nodes and myblocker_uninstalls.leaf_nodes(): > # An Uninstall task needs to be executed in order to > # avoid conflict if possible. > min_parent_deps = None >@@ -7007,15 +7007,17 @@ > except KeyError: > pass > else: >+ uninst_task = node > ignored_uninstall_tasks.add(node) > break > >- # After dropping an Uninstall task, reset >- # the state variables for leaf node selection and >- # continue trying to select leaf nodes. >- prefer_asap = True >- accept_root_node = False >- continue >+ if uninst_task is not None: >+ # After dropping an Uninstall task, reset >+ # the state variables for leaf node selection and >+ # continue trying to select leaf nodes. >+ prefer_asap = True >+ accept_root_node = False >+ continue > > if not selected_nodes: > self._circular_deps_for_display = mygraph
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 252572
:
176417
|
176418
|
176435
| 176467