[OE-core] AttributeError: 'CoreRecipeInfo' object has no attribute 'task_deps'

Martin Jansa martin.jansa at gmail.com
Wed Jul 25 18:12:15 UTC 2012


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 at 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 at shr ~/shr-core $ export MACHINE=om-gta02
OE om-gta02 at 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: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120725/318ff195/attachment-0002.sig>


More information about the Openembedded-core mailing list