From: Chris Larson Date: Thu, 21 Oct 2010 21:14:23 +0000 (-0700) Subject: Resurrect display of failed files X-Git-Tag: 2011-1~3146 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=493f0cff713624957dbdb4a336d586cf9dd6ca4a;p=openembedded-core.git 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 --- 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: