[OE-core] [PATCH 1/1] sstate.bbclass: check before open the manifest

Robert Yang liezhi.yang at windriver.com
Fri Aug 30 01:24:08 UTC 2013



On 08/30/2013 01:00 AM, Richard Purdie wrote:
> On Thu, 2013-08-29 at 09:13 -0400, Robert Yang wrote:
>> The python stack trace would be printed if we:
>>
>> $ bitbake make (the make-3.82 will be built)
>> // Edit make.inc
>> $ bitbake make-3.81
>
> This is at best hiding the real problem. Why is bitbake building
> make-3.82 when you asked for make-3.81?
>
> I tried this here and also see the warning:
>
> ERROR: Multiple .bb files are due to be built which each provide make
> (/media/build1/poky/meta/recipes-devtools/make/make_3.81.bb /media/build1/poky/meta/recipes-devtools/make/make_3.82.bb).
>   This usually means one provides something the other doesn't and should.
>
> so bitbake is basically telling you there is a problem already. So there
> are two issues:
>

What I thought was that let the user know the normal error, but we can do
more to fix it as you pointed out.

> a) Why is make 3.82 being built?

Ah, yes, that's problem, I will do more investigation.

> b) If multiple identical PNs are being built we probably should hard
> error out since its not supported in the slightest. The sstate race you
> mention is the least of the problems :(.
>

OK, I will try to fix such a case:

bitbake make-3.81 make-3.82

// Robert

> Cheers,
>
> Richard
>
>
>



More information about the Openembedded-core mailing list