[bitbake-devel] [PATCH 0/2] Fix NameError in generatePkgDepTreeData
Andy Voltz
andy.voltz at timesys.com
Thu May 18 16:09:09 UTC 2017
As part of the multi-config changes it looks like the wrong loop variable is
used which causes a NameError. The rdepends loop which follows is correct,
so the fix mimics that.
The first patch is needed to run this script which demonstrates the issue:
https://gist.github.com/avoltz/e28fb3d6d9980f2d8c073e0d146cbc69
I run that script from bitbake/bin with and without the 2nd patch for testing.
The second patch fixes:
File "../poky/bitbake/lib/bb/cooker.py", line 910, in generatePkgDepTreeData
if dep in taskdata[mc].build_targets and taskdata[mc].build_targets[dep]:
NameError: name 'dep' is not defined
I'm not sure if the first patch is the best method to enable HOB caches, but
it helps with the test case..
More information about the bitbake-devel
mailing list