[yocto] [recipetool] Failure to create a new recipe (failed to parse setup.py)

Vincent Rubiolo vincent.libre at cryostase.eu
Wed Dec 14 20:59:27 PST 2016


Hi Paul

On 12/04/2016 11:14 AM, Paul Eggleton wrote:
> Hmm, it looks like we're treating a byte array as a string (i.e. missing
> decoding) and that doesn't work. Likely this broke during the Python3
> migration, and since there are a number of different code paths in
> recipetool's python handling code our relatively simplistic automated tests
> didn't hit it. I have a fix here and will send it out soon.

Are there any news on this patch? I'd gladly test it out.

In the meantime, I can work around the issue by using the yocto-layer 
script, asking it to create a sample recipe (or manually copying an 
existing recipe file) alongside the new layer.

Thanks for the feedback,

Vincent



More information about the yocto mailing list