From 8de879583e30ee66051e1bbe989a0af6830795d6 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: 480939538f5887a70d11c2f7cf74446100e25fab) Signed-off-by: Richard Purdie (cherry picked from commit 608b9f821539de813bfbd9e65950dbc56a274bc2) Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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