This error is shown when someone tries to bitbake -b foo.bb with MACHINE set to something incompatible with foo.bb:COMPATIBLE_MACHINE OE om-gta04@shr ~/shr-core $ grep COMPATIBLE /OE/shr-core/meta-smartphone/meta-openmoko/recipes-kernel/linux/linux-gta04_git.bb COMPATIBLE_MACHINE = "om-gta04" OE om-gta04@shr ~/shr-core $ export MACHINE=om-gta02 OE om-gta02@shr ~/shr-core $ bitbake -b meta-smartphone/meta-openmoko/recipes-kernel/linux/linux-gta04_git.bb -c cleansstate WARNING: Buildfile specified, dependencies will not be handled. If this is not what you want, do not use -b / --buildfile. ERROR: Command execution failed: Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/bb/command.py", line 87, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/usr/lib64/python2.7/site-packages/bb/command.py", line 203, in buildFile command.cooker.buildFile(bfile, task) File "/usr/lib64/python2.7/site-packages/bb/cooker.py", line 1060, in buildFile self.status.add_from_recipeinfo(fn, info_array) File "/usr/lib64/python2.7/site-packages/bb/cache.py", line 712, in add_from_recipeinfo info.add_cacheData(self, fn) File "/usr/lib64/python2.7/site-packages/bb/cache.py", line 186, in add_cacheData cachedata.task_deps[fn] = self.task_deps AttributeError: 'CoreRecipeInfo' object has no attribute 'task_deps' Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. Better error message would be nice.
Fix merged to master in Poky rev fddc16989ddb181800eb6ec383b431e00d79f286 (bitbake rev a324df40243fa55ccc89fd5970d46f25330d0a0d).
Verified in 95c0e7827835e73f5d1ed4be9b2ba74b37b62004