diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-18 16:36:23 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-18 16:36:23 -0700 |
commit | 3fb0ffd33c33d5bb183cd174e974b91609de12a9 (patch) | |
tree | adb758977bc80220740fda97bba90c1e4f3742a3 | |
parent | 88b8b762722c1ec1ccc83d3f8a06e12fb5424139 (diff) | |
download | portage-3fb0ffd33c33d5bb183cd174e974b91609de12a9.tar.gz portage-3fb0ffd33c33d5bb183cd174e974b91609de12a9.tar.bz2 portage-3fb0ffd33c33d5bb183cd174e974b91609de12a9.zip |
Add digraph --debug output in calc_depclean() for the case when
it bails out due to unresolved dependencies.
-rw-r--r-- | pym/_emerge/actions.py | 6 |
1 files changed, 6 insertions, 0 deletions
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") |