denzil fix for bitbake
cover denzil fix for bitbake
A single bitbake patch cherry-picked from master for denzil-next.
The following changes since commit 73cdebf60df225ee10f2eb215935be3b61e1b831:
documentation/dev-manual/dev-manual-kernel-appendix.xml: Add note about conflict (2012-06-29 15:54:26 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib paule/denzil-fixes-bitbake
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/denzil-fixes-bitbake
Paul Eggleton (1):
cooker: fix UnboundLocalError when exception occurs during parsing
bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/1 cooker: fix UnboundLocalError when exception occurs during parsing
Fix a recent regression where we see the following additional error after an error occurs during parsing:
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
self.cooker.updateCache()
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache
if not self.parser.parse_next():
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1672, in parse_next
self.virtuals += len(result)
UnboundLocalError: local variable 'result' referenced before assignment
(Bitbake rev: 1ae0181ba49ccfcb2d889de5dd1d8912b9e49157)
--- bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+)
bitbake/lib/bb/cooker.py +2 -0
@@ -1644,6 +1644,8 @@ class CookerParser(object): yield result def parse_next(self): + result = [] + parsed = None try: parsed, result = self.results.next() except StopIteration:
Signature · 1 line
1.7.9.5
Re: [denzil][PATCH 1/1] cooker: fix UnboundLocalError when exception occurs during parsing
I can confirm some users have seen this, I will try to get them to test it out.
-M
Quoted 40 lines · Paul Eggleton
Fix a recent regression where we see the following additional error after an error occurs during parsing:
ERROR: Command execution failed: Traceback (most recent call last):
File "/home/paul/poky/poky/bitbake/lib/bb/command.py", line 84, in runAsyncCommand
self.cooker.updateCache()
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache
if notself.parser.parse_next():
File "/home/paul/poky/poky/bitbake/lib/bb/cooker.py", line 1672, inparse_nextself.virtuals += len(result)UnboundLocalError: local variable 'result' referenced before assignment
(Bitbake rev:
1ae0181ba49ccfcb2d889de5dd1d8912b9e49157)Signed-off-by Paul Eggleton <[email protected]>Signed-off-by Richard Purdie <[email protected]>--- bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+)bitbake/lib/bb/cooker.py +2
-1@@ -1644,6 +1644,8 @@ class CookerParser(object): yield result def parse_next(self): + result = [] + parsed = None try: parsed, result = self.results.next() except StopIteration: --1.7.9.5
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky