Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209389 Details for
Bug 292032
sys-apps/portage-2.1.7.4: unable to update mplayer (backtracking issue)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix backtracking display (from bug #291142)
backtrack_display.patch (text/plain), 1.27 KB, created by
Zac Medico
on 2009-11-06 04:02:44 UTC
(
hide
)
Description:
fix backtracking display (from bug #291142)
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2009-11-06 04:02:44 UTC
Size:
1.27 KB
patch
obsolete
>Index: pym/_emerge/depgraph.py >=================================================================== >--- pym/_emerge/depgraph.py (revision 14779) >+++ pym/_emerge/depgraph.py (revision 14780) >@@ -940,7 +940,9 @@ > parent_atoms = \ > self._dynamic_config._parent_atoms.get(pkg, set()) > if parent_atoms: >- parent_atoms = self._dynamic_config._slot_conflict_parent_atoms.intersection(parent_atoms) >+ conflict_atoms = self._dynamic_config._slot_conflict_parent_atoms.intersection(parent_atoms) >+ if conflict_atoms: >+ parent_atoms = conflict_atoms > if pkg >= existing_node: > # We only care about the parent atoms > # when they trigger a downgrade. >@@ -1337,7 +1339,18 @@ > if eliminate_pkg: > atom_pkg_graph.remove(pkg) > >+ # Yield < and <= atoms first, since those are more likely to >+ # cause a slot conflicts, and we want those atoms to be displayed >+ # in the resulting slot conflict message (see bug #291142). >+ less_than = [] >+ not_less_than = [] > for atom in cp_atoms: >+ if atom.operator in ('<', '<='): >+ less_than.append(atom) >+ else: >+ not_less_than.append(atom) >+ >+ for atom in chain(less_than, not_less_than): > child_pkgs = atom_pkg_graph.child_nodes(atom) > yield (atom, child_pkgs[0]) >
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 292032
: 209389