From 3fb0ffd33c33d5bb183cd174e974b91609de12a9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Sep 2010 16:36:23 -0700 Subject: Add digraph --debug output in calc_depclean() for the case when it bails out due to unresolved dependencies. --- pym/_emerge/actions.py | 6 ++++++ 1 file changed, 6 insertions(+) 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") -- cgit v1.2.3-1-g7c22