diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/runningbuild.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/runningbuild.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py index 78fa1417f5..abd3300149 100644 --- a/bitbake/lib/bb/ui/crumbs/runningbuild.py +++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py | |||
@@ -375,10 +375,16 @@ class RunningBuild (gobject.GObject): | |||
375 | r = "R" | 375 | r = "R" |
376 | else: | 376 | else: |
377 | r = "" | 377 | r = "" |
378 | |||
379 | extra = '' | ||
380 | if not event._reasons: | ||
381 | if event._close_matches: | ||
382 | extra = ". Close matches:\n %s" % '\n '.join(event._close_matches) | ||
383 | |||
378 | if event._dependees: | 384 | if event._dependees: |
379 | msg = "Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)\n" % (r, event._item, ", ".join(event._dependees), r) | 385 | msg = "Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s\n" % (r, event._item, ", ".join(event._dependees), r, extra) |
380 | else: | 386 | else: |
381 | msg = "Nothing %sPROVIDES '%s'\n" % (r, event._item) | 387 | msg = "Nothing %sPROVIDES '%s'%s\n" % (r, event._item, extra) |
382 | if event._reasons: | 388 | if event._reasons: |
383 | for reason in event._reasons: | 389 | for reason in event._reasons: |
384 | msg += ("%s\n" % reason) | 390 | msg += ("%s\n" % reason) |