[oe-commits] [bitbake] 02/04: runqueue: Ensure task dependencies work correctly
git at git.openembedded.org
git at git.openembedded.org
Sat Dec 28 00:04:49 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 493302712471bfc08eec68bafb45f2af994814fe
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Dec 27 20:47:33 2019 +0000
runqueue: Ensure task dependencies work correctly
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index f827998..56ca252 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2353,6 +2353,12 @@ class RunQueueExecute:
if tid in self.tasks_scenequeue_done:
self.tasks_scenequeue_done.remove(tid)
for dep in self.sqdata.sq_covered_tasks[tid]:
+ if dep in self.runq_complete:
+ bb.error("Task %s marked as completed but now needing to rerun? Aborting build." % dep)
+ self.failed_tids.append(tid)
+ self.rq.state = runQueueCleanUp
+ return
+
if dep not in self.runq_complete:
if dep in self.tasks_scenequeue_done and dep not in self.sqdata.unskippable:
self.tasks_scenequeue_done.remove(dep)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list