aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-16 15:57:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:49:53 +0100
commit9be584272a63f48d8dc7c9f05b017d11250aa247 (patch)
tree67e930e0df104b70a3a47b3f0a3182918d74dc5f
parent53e6b630f0463d2d07cdaa9c9eb36794dc9b6b69 (diff)
downloadbitbake-9be584272a63f48d8dc7c9f05b017d11250aa247.tar.gz
bitbake-9be584272a63f48d8dc7c9f05b017d11250aa247.tar.bz2
bitbake-9be584272a63f48d8dc7c9f05b017d11250aa247.zip
runqueue.py: Improve error output to be more useful when non-existent tasks are found
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index cb4ffb21..0a8c723b 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1450,7 +1450,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
dep = self.rqdata.taskData.fn_index[depdata]
taskid = self.rqdata.get_task_id(self.rqdata.taskData.getfn_id(dep), idependtask.replace("_setscene", ""))
if taskid is None:
- bb.msg.fatal("RunQueue", "Task %s depends upon non-existent task %s:%s" % (self.rqdata.taskData.tasks_name[realid], dep, idependtask))
+ bb.msg.fatal("RunQueue", "Task %s:%s depends upon non-existent task %s:%s" % (self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[realid]], self.rqdata.taskData.tasks_name[realid], dep, idependtask))
sq_revdeps_squash[self.rqdata.runq_setscene.index(task)].add(self.rqdata.runq_setscene.index(taskid))
# Have to zero this to avoid circular dependencies