summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
-rw-r--r--bitbake/lib/bb/ui/knotty.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 2c8293d..09ad99e 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -416,10 +416,15 @@ def main(server, eventHandler, params, tf = TerminalFilter):
416 else: 416 else:
417 r = "" 417 r = ""
418 418
419 extra = ''
420 if not event._reasons:
421 if event._close_matches:
422 extra = ". Close matches:\n %s" % '\n '.join(event._close_matches)
423
419 if event._dependees: 424 if event._dependees:
420 logger.error("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)", r, event._item, ", ".join(event._dependees), r) 425 logger.error("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s", r, event._item, ", ".join(event._dependees), r, extra)
421 else: 426 else:
422 logger.error("Nothing %sPROVIDES '%s'", r, event._item) 427 logger.error("Nothing %sPROVIDES '%s'%s", r, event._item, extra)
423 if event._reasons: 428 if event._reasons:
424 for reason in event._reasons: 429 for reason in event._reasons:
425 logger.error("%s", reason) 430 logger.error("%s", reason)