diff options
author | Ming Liu <liu.ming50@gmail.com> | 2018-06-29 17:43:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 21:38:06 +0100 |
commit | 7cb125d7ee4b80fb33d87bdd0b257bc6daaff051 (patch) | |
tree | a2835b85dde4ee4a7b49b84a315168aef199c08b /bitbake | |
parent | 9fff2b5a75ecade5f09716c3a6818d234021c0a8 (diff) | |
download | poky-7cb125d7ee4b80fb33d87bdd0b257bc6daaff051.tar.gz |
bitbake: runqueue.py: Fix a virtual class extension stamps issue
The file_name parameter passed to bb.parse.siggen.invalidate_task
should be a virtual file name instead of a real file name, or else you
will encounter a following error, for instance, when you run:
$ bitbake nativesdk-lzip -c unpack -f
the error arise:
| ERROR: An uncaught exception occurred in runqueue
| if file_name:
| > taintfn = d.stamp[file_name] + '.' + task + '.taint'
| else:
| KeyError: 'virtual:nativesdk:/opt/poky/meta/recipes-extended/lzip/lzip_1.19.bb'
when multilib builds are used on OE.
(Bitbake rev: da37bdad46e11e7ce93ba7a59d58757b769dc16b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 2d9e18d888..0a4d155466 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1093,7 +1093,7 @@ class RunQueueData: | |||
1093 | bb.debug(1, "Task %s is marked nostamp, cannot invalidate this task" % taskname) | 1093 | bb.debug(1, "Task %s is marked nostamp, cannot invalidate this task" % taskname) |
1094 | else: | 1094 | else: |
1095 | logger.verbose("Invalidate task %s, %s", taskname, fn) | 1095 | logger.verbose("Invalidate task %s, %s", taskname, fn) |
1096 | bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], fn) | 1096 | bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], taskfn) |
1097 | 1097 | ||
1098 | self.init_progress_reporter.next_stage() | 1098 | self.init_progress_reporter.next_stage() |
1099 | 1099 | ||