[OE-core] [PATCH] base.bbclass: Use bb.warn instead of bb.error for deprecation notification.

Otavio Salvador otavio at ossystems.com.br
Tue Feb 3 13:02:21 UTC 2015


On Tue, Feb 3, 2015 at 11:00 AM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 3 February 2015 at 12:53, Otavio Salvador <otavio at ossystems.com.br>
> wrote:
>>
>> > last time I checked (some days ago) it was not necessarily fatal. I was
>> > able to
>> > build complete image collecting a pile of PR_INC errors. That's what
>> > confused me...
>> > I'll check if I still have the log on another machine later.
>>
>> Florian has a point here. We should use 'bb.fatal' and abort all build
>> as soon as possible.
>
>
> Its an error in a specific recipe, so why should that abandon the build
> immediately?

It ends changing the content of the recipe and might raise a rebuild
of several things. Which ends being invalid as PRINC would make an
error in the end. So why not fail soon and ensure it is act upon it
ASAP?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list