summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r--bitbake/lib/bb/taskdata.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index 64ab032c3c..45f6902ddd 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -374,11 +374,7 @@ class TaskData:
374 all_p = dataCache.providers[item] 374 all_p = dataCache.providers[item]
375 375
376 eligible, foundUnique = bb.providers.filterProviders(all_p, item, cfgData, dataCache) 376 eligible, foundUnique = bb.providers.filterProviders(all_p, item, cfgData, dataCache)
377 377 eligible = [p for p in eligible if not self.getfn_id(p) in self.failed_fnids]
378 for p in eligible:
379 fnid = self.getfn_id(p)
380 if fnid in self.failed_fnids:
381 eligible.remove(p)
382 378
383 if not eligible: 379 if not eligible:
384 bb.msg.note(2, bb.msg.domain.Provider, "No buildable provider PROVIDES '%s' but '%s' DEPENDS on or otherwise requires it. Enable debugging and see earlier logs to find unbuildable providers." % (item, self.get_dependees_str(item))) 380 bb.msg.note(2, bb.msg.domain.Provider, "No buildable provider PROVIDES '%s' but '%s' DEPENDS on or otherwise requires it. Enable debugging and see earlier logs to find unbuildable providers." % (item, self.get_dependees_str(item)))
@@ -426,11 +422,7 @@ class TaskData:
426 raise bb.providers.NoRProvider(item) 422 raise bb.providers.NoRProvider(item)
427 423
428 eligible, numberPreferred = bb.providers.filterProvidersRunTime(all_p, item, cfgData, dataCache) 424 eligible, numberPreferred = bb.providers.filterProvidersRunTime(all_p, item, cfgData, dataCache)
429 425 eligible = [p for p in eligible if not self.getfn_id(p) in self.failed_fnids]
430 for p in eligible:
431 fnid = self.getfn_id(p)
432 if fnid in self.failed_fnids:
433 eligible.remove(p)
434 426
435 if not eligible: 427 if not eligible:
436 bb.msg.error(bb.msg.domain.Provider, "'%s' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity '%s' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.\nEnable debugging and see earlier logs to find unbuildable targets." % (self.get_rdependees_str(item), item)) 428 bb.msg.error(bb.msg.domain.Provider, "'%s' RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity '%s' but it wasn't found in any PACKAGE or RPROVIDES variables of any buildable targets.\nEnable debugging and see earlier logs to find unbuildable targets." % (self.get_rdependees_str(item), item))