[bitbake-devel] [PATCH] lib/bb/runqueue.py: fix exceptions with -k and failed targets
richard.purdie at linuxfoundation.org
Mon Sep 24 11:14:40 UTC 2012
On Sun, 2012-09-23 at 14:14 +0100, Paul Eggleton wrote:
> If a target dependency is marked as failed and yet we are continuing on
> because -k has been specified, don't try to access the dependency's data
> in taskData.build_targets since it will have been removed. This fixes
> "IndexError: list index out of range" errors in this situation.
> Also, do not print the "unhandled exception" message when SystemExit is
> raised since we will have reported the actual error already in this
> case (e.g. when -k has been specified and some targets failed).
> Fixes [YOCTO #3133].
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> bitbake/lib/bb/runqueue.py | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Merged to master, thanks.
More information about the bitbake-devel