From 493f0cff713624957dbdb4a336d586cf9dd6ca4a Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 21 Oct 2010 14:14:23 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/bb/cooker.py') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 90366cd76c..33b9201e6f 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: -- cgit v1.2.3-54-g00ecf