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.
Cheers,
--
Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
