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-14 17:28:23 +0100 |
commit | 18c109d6f5366d5c92f10735f7408bbd7ffa76cb (patch) | |
tree | 7890a3568d3761f8a0275571b888a2cb0102c9c7 /bitbake/lib/bb/runqueue.py | |
parent | 18b8e2e10494d3b0e18743a1bf9e99038da4229c (diff) | |
download | poky-18c109d6f5366d5c92f10735f7408bbd7ffa76cb.tar.gz |
bitbake: 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.
(Bitbake rev: 49927546d2b306830c98f6f9da4a6ad828f6a3a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index bb61087359..2bf19b9778 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2124,7 +2124,7 @@ class RunQueueExecute: | |||
2124 | # as most code can't handle them | 2124 | # as most code can't handle them |
2125 | def build_taskdepdata(self, task): | 2125 | def build_taskdepdata(self, task): |
2126 | taskdepdata = {} | 2126 | taskdepdata = {} |
2127 | next = self.rqdata.runtaskentries[task].depends | 2127 | next = self.rqdata.runtaskentries[task].depends.copy() |
2128 | next.add(task) | 2128 | next.add(task) |
2129 | next = self.filtermcdeps(task, next) | 2129 | next = self.filtermcdeps(task, next) |
2130 | while next: | 2130 | while next: |