aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-11 14:59:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-13 09:38:19 +0100
commit49927546d2b306830c98f6f9da4a6ad828f6a3a6 (patch)
tree23a5756d0f84128fc2718efc4812b69542250b28 /lib/bb/runqueue.py
parentd6155d095513be3f500d089c4ed4c4b89949d560 (diff)
downloadbitbake-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.py2
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: