From: Zac Medico Date: Sat, 18 Sep 2010 23:36:23 +0000 (-0700) Subject: Add digraph --debug output in calc_depclean() for the case when X-Git-Tag: v2.2_rc84~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3fb0ffd33c33d5bb183cd174e974b91609de12a9;p=portage.git Add digraph --debug output in calc_depclean() for the case when it bails out due to unresolved dependencies. --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 9f77036e8..eb02a0304 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -761,6 +761,12 @@ def calc_depclean(settings, trees, ldpath_mtimes, return False if unresolvable and not allow_missing_deps: + + if "--debug" in myopts: + writemsg("\ndigraph:\n\n", noiselevel=-1) + resolver._dynamic_config.digraph.debug_print() + writemsg("\n", noiselevel=-1) + prefix = bad(" * ") msg = [] msg.append("Dependencies could not be completely resolved due to")