Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 134986 Details for
Bug 189966
built_with_use fails for binary packages due to suboptimal merge order triggered by circular deps involving PDEPEND
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
merge packages earlier when on PDEPEND is unsatisfied
pdepend.patch (text/plain), 2.30 KB, created by
Zac Medico
on 2007-11-02 03:25:33 UTC
(
hide
)
Description:
merge packages earlier when on PDEPEND is unsatisfied
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-11-02 03:25:33 UTC
Size:
2.30 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 8314) >+++ bin/emerge (working copy) >@@ -2330,7 +2330,7 @@ > break > ignore_priority_soft_range = [None] > ignore_priority_soft_range.extend( >- xrange(DepPriority.MIN, DepPriority.SOFT + 1)) >+ xrange(DepPriority.MIN, DepPriority.MEDIUM_SOFT + 1)) > tree_mode = "--tree" in self.myopts > # Tracks whether or not the current iteration should prefer asap_nodes > # if available. This is set to False when the previous iteration >@@ -2359,6 +2359,7 @@ > > while not mygraph.empty(): > selected_nodes = None >+ ignore_priority = None > if prefer_asap and asap_nodes: > """ASAP nodes are merged before their soft deps.""" > asap_nodes = [node for node in asap_nodes \ >@@ -2450,25 +2452,23 @@ > accept_root_node = True > continue > >- if selected_nodes and ignore_priority > DepPriority.SOFT: >- # Try to merge ignored medium deps as soon as possible. >- for node in selected_nodes: >- children = set(mygraph.child_nodes(node)) >- soft = children.difference( >- mygraph.child_nodes(node, >- ignore_priority=DepPriority.SOFT)) >- medium_soft = children.difference( >- mygraph.child_nodes(node, >- ignore_priority=DepPriority.MEDIUM_SOFT)) >- medium_soft.difference_update(soft) >- for child in medium_soft: >- if child in selected_nodes: >- continue >- if child in asap_nodes: >- continue >- # TODO: Try harder to make these nodes get >- # merged absolutely as soon as possible. >- asap_nodes.append(child) >+ if selected_nodes and ignore_priority > DepPriority.SOFT: >+ # Try to merge ignored medium deps as soon as possible. >+ for node in selected_nodes: >+ children = set(mygraph.child_nodes(node)) >+ soft = children.difference( >+ mygraph.child_nodes(node, >+ ignore_priority=DepPriority.SOFT)) >+ medium_soft = children.difference( >+ mygraph.child_nodes(node, >+ ignore_priority=DepPriority.MEDIUM_SOFT)) >+ medium_soft.difference_update(soft) >+ for child in medium_soft: >+ if child in selected_nodes: >+ continue >+ if child in asap_nodes: >+ continue >+ asap_nodes.append(child) > > if not selected_nodes: > if not myblockers.is_empty():
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 189966
: 134986