diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-03 23:20:15 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:21 +0000 |
commit | 483f85802a97cb9ad4d958c29458db91acc7809f (patch) | |
tree | e67948401b16ef7d75cd88857139fd2b00af26df /bitbake/lib/bb/taskdata.py | |
parent | c2b5a617285733053f867c3fdda2179a65ccbe4c (diff) | |
download | poky-483f85802a97cb9ad4d958c29458db91acc7809f.tar.gz |
bitbake: Sync various functions with those from bitbake-dev and bitbake upstream
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 12 |
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)) |