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

Paul Eggleton paul.eggleton at linux.intel.com
Thu Dec 15 09:28:02 PST 2016


Hi Vincent,

On Wed, 14 Dec 2016 20:59:27 Vincent Rubiolo wrote:
> 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.

Sorry for not getting back to you earlier - the patch got sent shortly after 
our discussion and has now been merged:

  http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8fe1f25ea087cea13c5380de758078f0fb9eae34

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list