[bitbake-devel] [PATCH 2/5] runqueue: Fix task mismatch failures from incorrect logic
Richard Purdie
richard.purdie at linuxfoundation.org
Sun Dec 15 09:41:09 UTC 2019
The "no dependencies" task case was not being correctly considered in this
code and seemed to be the cause of occasionaly task hash mismatch errors
that were being seen as the dependencies were never accounted for properly.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index a45b27ce51..b3648ddb54 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -2286,7 +2286,7 @@ class RunQueueExecute:
current = next.copy()
next = set()
for tid in current:
- if not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
+ if len(self.rqdata.runtaskentries[p].depends) and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
procdep = []
for dep in self.rqdata.runtaskentries[tid].depends:
--
2.20.1
More information about the bitbake-devel
mailing list