Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170599 Details for
Bug 245358
sys-apps/portage - emerge doesn't show output if USE flag dep fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
display parent nodes and the argument that pulled them in
parents.patch (text/plain), 1.29 KB, created by
Zac Medico
on 2008-11-03 08:05:39 UTC
(
hide
)
Description:
display parent nodes and the argument that pulled them in
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-11-03 08:05:39 UTC
Size:
1.29 KB
patch
obsolete
>Index: pym/_emerge/__init__.py >=================================================================== >--- pym/_emerge/__init__.py (revision 11804) >+++ pym/_emerge/__init__.py (revision 11805) >@@ -5288,10 +5288,6 @@ > xinfo='"%s"' % arg > # Discard null/ from failed cpv_expand category expansion. > xinfo = xinfo.replace("null/", "") >- if myparent: >- xfrom = '(dependency required by '+ \ >- green('"%s"' % myparent[2]) + \ >- red(' [%s]' % myparent[0]) + ')' > masked_packages = [] > missing_use = [] > missing_licenses = [] >@@ -5386,8 +5382,24 @@ > show_mask_docs() > else: > print "\nemerge: there are no ebuilds to satisfy "+green(xinfo)+"." >- if myparent: >- print xfrom >+ >+ # Show parent nodes and the argument that pulled them in. >+ node = myparent >+ msg = [] >+ while node is not None: >+ msg.append('(dependency required by "%s" [%s])' % \ >+ (colorize('INFORM', str(node.cpv)), node.type_name)) >+ parent = None >+ for parent in self.digraph.parent_nodes(node): >+ if isinstance(parent, DependencyArg): >+ msg.append('(dependency required by "%s" [argument])' % \ >+ (colorize('INFORM', str(parent)))) >+ parent = None >+ break >+ node = parent >+ for line in msg: >+ print line >+ > print > > def _select_pkg_highest_available(self, root, atom, onlydeps=False):
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 245358
: 170599