diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-11 14:59:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-13 09:38:19 +0100 |
commit | 49927546d2b306830c98f6f9da4a6ad828f6a3a6 (patch) | |
tree | 23a5756d0f84128fc2718efc4812b69542250b28 /lib/bb/runqueue.py | |
parent | d6155d095513be3f500d089c4ed4c4b89949d560 (diff) | |
download | bitbake-49927546d2b306830c98f6f9da4a6ad828f6a3a6.tar.gz |
runqueue: Fix corruption issue
We need to copy this set, not modify the original else all kinds
of weird and bad things break, mostly from circular references.
We'll not go into how much sleep I lost tracking down the fallout
from this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index bb6108735..2bf19b977 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -2124,7 +2124,7 @@ class RunQueueExecute: # as most code can't handle them def build_taskdepdata(self, task): taskdepdata = {} - next = self.rqdata.runtaskentries[task].depends + next = self.rqdata.runtaskentries[task].depends.copy() next.add(task) next = self.filtermcdeps(task, next) while next: |