Skip to contentSkip to conversation

Issues building with Jethro

DISCUSSION Barros Pena, Belen 2 participants 2 messages Feb 19, 2016

lore
Share & tools
lore
#0 lore raw

I've been running across a new issue when trying to build the Jethro release with master (not the libsdl issue we already know about: this looks like a different one). It happens in both master and toaster-next. This is the error:

command: bash -c 'source /home/yocto/migrations-test/bitbake/bin/toaster restart-bitbake'
ERROR: Unable to parse OE_IMPORTED[:=]
Traceback (most recent call last):
File "OE_IMPORTED[:=]", line 1, in <module>
File
"/home/yocto/migrations-test/_toaster_clones/_git___git.yoctoproject.org_po ky_jethro/meta/classes/base.bbclass", line 30, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f4a7d412e10>):
import oe.data
> for toimport in oe.data.typed_value("OE_IMPORTS", d):
imported = __import__(toimport)
File
"/home/yocto/migrations-test/_toaster_clones/_git___git.yoctoproject.org_po ky_jethro/meta/lib/oe/data.py", line 6, in typed_value(key='OE_IMPORTS', d=<bb.data_smart.DataSmart object at 0x7f4a7d412e10>):
to determine the type and parameters for construction."""
> var_type = d.getVarFlag(key, 'type')
flags = d.getVarFlags(key)
ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception TypeError: getVarFlag() takes at least 4 arguments (3 given)

Bitbake server start failed

======================

Is it just me seeing this? Any ideas what could be causing it?

Thanks!

Belén

#1 lore raw
Quoted 14 lines · Belen

"/home/yocto/migrations -test/_toaster_clones/_git___git.yoctoproject.org_po ky_jethro/meta/lib/oe/data.py", line 6, in typed_value(key='OE_IMPORTS', d=<bb.data_smart.DataSmart object at 0x7f4a7d412e10>):
to determine the type and parameters for construction."""
> var_type = d.getVarFlag(key, 'type')
flags = d.getVarFlags(key)
ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was
${@oe_import(d)} which triggered exception TypeError: getVarFlag() takes
at least 4 arguments (3 given)

Quoted 6 lines

Bitbake server start failed

======================

Is it just me seeing this? Any ideas what could be causing it?

I can tell you its from:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4e5e501155a21fe64a470c626b3afe6d9748308e

which was another of the recent API changes I've talked about.

What, if anything can be done about that in toaster's context I don't know.

Cheers,

Richard