[OE-core] [PATCH] lib/oe/lsb: Add basic LSB functions

Denys Dmytriyenko denis at denix.org
Mon Jul 30 19:50:41 UTC 2012


On Sat, Jul 28, 2012 at 10:58:16AM +0100, Jack Mitchell wrote:
> On 28/07/2012 10:37, Martin Jansa wrote:
> >On Sat, Jul 28, 2012 at 11:16:14AM +0200, Martin Jansa wrote:
> >>>by installing lsb_release. Archlinux 64.
> >>>
> >>>Should it check to see if it installed first and error otherwise? It
> >>>looks like it tries to do it here:
> >>>
> >>>+    try:
> >>>+        output, err = bb.process.run(['lsb_release', '-a'], stderr=PIPE)
> >>>+    except bb.process.CmdError as exc:
> >>>+        return
> >>>
> >>>
> >>>but it must be missing something.
> >>
> >>Same here, interesting is that it failed only during 2nd build, 1st
> >>with this commit applied finished fine.
> >
> >Ah no, it was there also first time I've overlooked it as it's not
> >fatal.
> >
> 
> It was fatal for me as it trashed my sstate folder naming and then
> refused to build some packages. The directory in my sstate was
> created as:
> 
> ${NATIVELSBSTRING}
> 
> Then when Bitbake tried to use shared state it expanded
> NATIVELSBSTRING to nothing and failed.

I have the same issue here - Gentoo/64. Can we get it fixed in the master, 
please? Thanks.

-- 
Denys




More information about the Openembedded-core mailing list