diff options
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 074edd0763..475c3c5052 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1767,14 +1767,14 @@ class RunQueue: | |||
1767 | for tid in invalidtasks: | 1767 | for tid in invalidtasks: |
1768 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) | 1768 | (mc, fn, taskname, taskfn) = split_tid_mcfn(tid) |
1769 | pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn] | 1769 | pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn] |
1770 | h = self.rqdata.runtaskentries[tid].hash | 1770 | h = self.rqdata.runtaskentries[tid].unihash |
1771 | matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc]) | 1771 | matches = bb.siggen.find_siginfo(pn, taskname, [], self.cooker.databuilder.mcdata[mc]) |
1772 | match = None | 1772 | match = None |
1773 | for m in matches: | 1773 | for m in matches: |
1774 | if h in m: | 1774 | if h in m: |
1775 | match = m | 1775 | match = m |
1776 | if match is None: | 1776 | if match is None: |
1777 | bb.fatal("Can't find a task we're supposed to have written out? (hash: %s)?" % h) | 1777 | bb.fatal("Can't find a task we're supposed to have written out? (hash: %s tid: %s)?" % (h, tid)) |
1778 | matches = {k : v for k, v in iter(matches.items()) if h not in k} | 1778 | matches = {k : v for k, v in iter(matches.items()) if h not in k} |
1779 | if matches: | 1779 | if matches: |
1780 | latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] | 1780 | latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] |