[OE-core] Python3 error?
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jun 3 13:41:33 UTC 2016
On Fri, 2016-06-03 at 09:08 +0200, Gary Thomas wrote:
> After the change over to Python3, I'm getting this error:
>
> ERROR: Unable to parse /local/poky-cutting-edge/meta-gnome/recipes
> -gnome/gnome-vfs/gnome-vfs_2.24.4.bb
> Traceback (most recent call last):
> File "/local/poky-cutting-edge/bitbake/lib/bb/siggen.py", line
> 151, in
> SignatureGeneratorOEBasicHash.finalise(fn='/local/poky-cutting
> -edge/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb',
> d=<bb.data_smart.DataSmart object at 0x7f3d6ec78b38>, variant=None):
> try:
> > taskdeps = self._build_data(fn, d)
> except:
> File "/local/poky-cutting-edge/bitbake/lib/bb/siggen.py", line
> 104, in
> SignatureGeneratorOEBasicHash._build_data(fn='/local/poky-cutting
> -edge/meta-gnome/recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb',
> d=<bb.data_smart.DataSmart object at 0x7f3d6ec78b38>):
>
> > tasklist, gendeps, lookupcache =
> bb.data.generate_dependencies(d)
>
> File "/local/poky-cutting-edge/bitbake/lib/bb/data.py", line 438,
> in generate_dependencies(d=<bb.data_smart.DataSmart
> object at 0x7f3d6ec78b38>):
> if dep not in deps:
> > deps[dep], values[dep] =
> build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
> newdeps |= deps[dep]
>
> This is from a recipe in meta-openembedded
>
> Any ideas how to fix it?
Also, this backtrace is unclear. Could you apply:
http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/wip&id=02d40b13690ac8e9aaad203d09d5158d2f1c16c8
and see if you get a better backtrace?
If so I'd better get that patch cleaned up.
Cheers,
Richard
More information about the Openembedded-core
mailing list