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

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jul 31 10:47:52 UTC 2012


On Mon, 2012-07-30 at 15:50 -0400, Denys Dmytriyenko wrote:
> 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.

I've pushed something which should resolve the problem and at least set
this to a known string ('Unknown').

Cheers,

Richard






More information about the Openembedded-core mailing list