summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 9c90e736c..71fa4378d 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -12676,9 +12676,12 @@ def action_depclean(settings, trees, ldpath_mtimes,
for consumer_dblink in set(chain(*consumers.values())):
consumer_pkg = vardb.get(("installed", myroot,
consumer_dblink.mycpv, "nomerge"))
- resolver._add_pkg(pkg, Dependency(parent=consumer_pkg,
+ if not resolver._add_pkg(pkg,
+ Dependency(parent=consumer_pkg,
priority=UnmergeDepPriority(runtime=True),
- root=pkg.root))
+ root=pkg.root)):
+ resolver.display_problems()
+ return 1
writemsg_level("\nCalculating dependencies ")
success = resolver._complete_graph()