diff options
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 457723603a..bf2dc5494d 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -1224,12 +1224,11 @@ class RunQueue: | |||
| 1224 | if match is None: | 1224 | if match is None: |
| 1225 | bb.fatal("Can't find a task we're supposed to have written out? (hash: %s)?" % h) | 1225 | bb.fatal("Can't find a task we're supposed to have written out? (hash: %s)?" % h) |
| 1226 | matches = {k : v for k, v in matches.iteritems() if h not in k} | 1226 | matches = {k : v for k, v in matches.iteritems() if h not in k} |
| 1227 | latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] | 1227 | if len(matches): |
| 1228 | prevh = __find_md5__.search(latestmatch).group(0) | 1228 | latestmatch = sorted(matches.keys(), key=lambda f: matches[f])[-1] |
| 1229 | output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb) | 1229 | prevh = __find_md5__.search(latestmatch).group(0) |
| 1230 | bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output)) | 1230 | output = bb.siggen.compare_sigfiles(latestmatch, match, recursecb) |
| 1231 | 1231 | bb.plain("\nTask %s:%s couldn't be used from the cache because:\n We need hash %s, closest matching task was %s\n " % (pn, taskname, h, prevh) + '\n '.join(output)) | |
| 1232 | |||
| 1233 | 1232 | ||
| 1234 | class RunQueueExecute: | 1233 | class RunQueueExecute: |
| 1235 | 1234 | ||
