diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/runqueue.py | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,7 @@ Changes in BitBake 1.8.x: - Improve runqueue code comments - Add task scheduler abstraction and some example schedulers - Improve circular dependency chain debugging code and user feedback + - Don't give a stacktrace for invalid tasks, have a user friendly message (#3431) Changes in Bitbake 1.8.8: - Rewrite svn fetcher to make adding extra operations easier diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 895092d94..68ef3a722 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -532,6 +532,9 @@ class RunQueue: if fnid in taskData.failed_fnids: continue + if target[1] not in taskData.tasks_lookup[fnid]: + bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s does not exist for target %s" % (target[1], target[0])) + listid = taskData.tasks_lookup[fnid][target[1]] mark_active(listid, 1) |