summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/taskdata.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index b08387067e..39c899ebb7 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -429,7 +429,14 @@ class TaskData:
429 return 429 return
430 430
431 if not item in dataCache.providers: 431 if not item in dataCache.providers:
432 bb.event.fire(bb.event.NoProvider(item, dependees=self.get_dependees_str(item), reasons=self.get_reasons(item), close_matches=self.get_close_matches(item, dataCache.providers.keys())), cfgData) 432 close_matches = self.get_close_matches(item, dataCache.providers.keys())
433 # Is it in RuntimeProviders ?
434 all_p = bb.providers.getRuntimeProviders(dataCache, item)
435 for fn in all_p:
436 new = dataCache.pkg_fn[fn] + " RPROVIDES " + item
437 if new not in close_matches:
438 close_matches.append(new)
439 bb.event.fire(bb.event.NoProvider(item, dependees=self.get_dependees_str(item), reasons=self.get_reasons(item), close_matches=close_matches), cfgData)
433 raise bb.providers.NoProvider(item) 440 raise bb.providers.NoProvider(item)
434 441
435 if self.have_build_target(item): 442 if self.have_build_target(item):