summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index dd1b5e843..8a7686365 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2996,8 +2996,16 @@ class depgraph(object):
writemsg_stdout("\n", noiselevel=-1)
mask_docs = True
else:
+ cp_exists = False
+ if not atom.cp.startswith("null/"):
+ for pkg in self._iter_match_pkgs_any(
+ root_config, Atom(atom.cp)):
+ cp_exists = True
+ break
+
writemsg_stdout("\nemerge: there are no ebuilds to satisfy "+green(xinfo)+".\n", noiselevel=-1)
if isinstance(myparent, AtomArg) and \
+ not cp_exists and \
self._frozen_config.myopts.get(
"--misspell-suggestions", "y") != "n":
cp = myparent.atom.cp.lower()