[oe] bitbake COMPATIBLE_MACHINE stack backtrace

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Oct 7 18:36:12 UTC 2010


Hi,

If I run bitbake (git head of about a week ago) with a recipe that has
COMPATIBLE_MACHINE set and that is not for my machine, I get a bitbake
tracedump;

Log;
frans at linux-suse:~/oe/openembedded/recipes/zaurus-utils> grep COMPAT *
encdec-updater.bb:COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'
nandlogical_1.0.0.bb:COMPATIBLE_MACHINE = "(poodle|c7x0|akita|spitz|tosa)"
zaurus-installer.bb:COMPATIBLE_MACHINE = '(collie|poodle|c7x0|spitz|akita|tosa)'
zaurus-legacy-tar.bb:COMPATIBLE_MACHINE = "spitz"
zaurus-updater.bb:COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'

frans at linux-suse:~/oe/openembedded/recipes/zaurus-utils> bitbake -b
zaurus-legacy-tar.bb
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/frans/oe/bitbake/lib/bb/command.py", line 88, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/frans/oe/bitbake/lib/bb/command.py", line 174, in buildFile
    command.cooker.buildFile(bfile, task)
  File "/home/frans/oe/bitbake/lib/bb/cooker.py", line 650, in buildFile
    self.status.task_deps[fn]['depends'] = {}
TypeError: 'NoneType' object does not support item assignment

frans at linux-suse:~/oe/openembedded/recipes/zaurus-utils> bitbake
zaurus-legacy-tar
NOTE: Handling BitBake files: - (7148/7148) [100 %]
Parsing of 7148 .bb files complete (6693 cached, 455 parsed). 7333
targets, 330 skipped, 0 masked, 0 errors.
NOTE: oestats: build 93365
ERROR: Nothing PROVIDES 'zaurus-legacy-tar'
ERROR: Command execution failed: Traceback (most recent call last):
  File "/home/frans/oe/bitbake/lib/bb/command.py", line 88, in runAsyncCommand
    commandmethod(self.cmds_async, self, options)
  File "/home/frans/oe/bitbake/lib/bb/command.py", line 184, in buildTargets
    command.cooker.buildTargets(pkgs_to_build, task)
  File "/home/frans/oe/bitbake/lib/bb/cooker.py", line 737, in buildTargets
    taskdata.add_provider(localdata, self.status, k)
  File "/home/frans/oe/bitbake/lib/bb/taskdata.py", line 357, in add_provider
    self.add_provider_internal(cfgData, dataCache, item)
  File "/home/frans/oe/bitbake/lib/bb/taskdata.py", line 377, in
add_provider_internal
    raise bb.providers.NoProvider(item)
NoProvider: zaurus-legacy-tar

Especially in the first case there is no  real error message.
I seem to recall (but have not verified) that 1.10 handled this
without traceback.

Any opinions/fixes?

Frans




More information about the Openembedded-devel mailing list