Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104078 Details for
Bug 157897
sys-apps/portage-2.1.2_rc3-r3 - emerge --update --newuse --deep world fails with KeyError
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
show how the packages got pulled into the dependency graph
show_parents.patch (text/plain), 1.29 KB, created by
Zac Medico
on 2006-12-15 01:29:05 UTC
(
hide
)
Description:
show how the packages got pulled into the dependency graph
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-12-15 01:29:05 UTC
Size:
1.29 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 5294) >+++ bin/emerge (working copy) >@@ -862,9 +862,15 @@ > "package slot have been " > print "!!! pulled into the dependency graph:" > print >- for cpv in packages: >- print " ", cpv >- print >+ for node, parents in packages: >+ print node, >+ if parents: >+ print "pulled in by" >+ for parent in parents: >+ print " ", parent >+ else: >+ print "(no parents)" >+ print > > msg = [] > msg.append("It may be possible to solve this problem ") >@@ -1000,7 +1006,13 @@ > priority=priority) > return 1 > else: >- self._show_slot_collision_notice((mykey, e_cpv)) >+ e_parents = self.digraph.parent_nodes(existing_node) >+ myparents = [] >+ if myparent: >+ myparents.append(myparent) >+ self._show_slot_collision_notice( >+ ((tuple(mybigkey), myparents), >+ (existing_node, e_parents))) > return 0 > > jbigkey = tuple(mybigkey) >@@ -1497,9 +1509,6 @@ > # The existing node can be reused. > selected_pkg = [e_type, myroot, e_cpv, > self.useFlags[myroot][e_cpv]] >- else: >- self._show_slot_collision_notice((mycpv, e_cpv)) >- return 0 > > if myparent: > #we are a dependency, so we want to be unconditionally added
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 157897
:
103855
| 104078