summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-10-21 14:14:23 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:38 +0000
commit493f0cff713624957dbdb4a336d586cf9dd6ca4a (patch)
treee6bfae231a551869cfacdc64cbaa85affe7f1900
parent283b0a20c2a9bfa27966e10f40669cbe904b7080 (diff)
downloadopenembedded-core-493f0cff713624957dbdb4a336d586cf9dd6ca4a.tar.gz
openembedded-core-493f0cff713624957dbdb4a336d586cf9dd6ca4a.tar.bz2
openembedded-core-493f0cff713624957dbdb4a336d586cf9dd6ca4a.tar.xz
openembedded-core-493f0cff713624957dbdb4a336d586cf9dd6ca4a.zip
Resurrect display of failed files
This was inadvertantly removed when trying to reduce the amount of duplicated information the user sees when a failure occurs. (Bitbake rev: 850d6158ea9daa58e896fd6b258d586df797dcf4) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 90366cd76..33b9201e6 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -692,6 +692,8 @@ class BBCooker:
try:
retval = rq.execute_runqueue()
except runqueue.TaskFailure as exc:
+ for fnid in exc.args:
+ buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
failures += len(exc.args)
retval = False
if not retval:
@@ -727,6 +729,8 @@ class BBCooker:
try:
retval = rq.execute_runqueue()
except runqueue.TaskFailure as exc:
+ for fnid in exc.args:
+ buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
failures += len(exc.args)
retval = False
if not retval: