From 73896a7a0e0b7fa1c6ee8a72940aefdba641ea5e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 14 Dec 2019 12:54:22 +0000 Subject: bitbake: runqueue: Fix task mismatch failures from incorrect logic 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. (Bitbake rev: 608b9f821539de813bfbd9e65950dbc56a274bc2) Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/runqueue.py') diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index a45b27ce51..b3648ddb54 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/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: -- cgit v1.2.3-54-g00ecf