[bitbake-devel] [PATCH 2/2] bitbake: build.py: check dependendent task for addtask

Robert Yang liezhi.yang at windriver.com
Sun May 5 05:56:11 UTC 2019



On 5/2/19 3:42 AM, Richard Purdie wrote:
> On Wed, 2019-05-01 at 18:48 +0200, Nicolas Dechesne wrote:
>> On Wed, May 1, 2019 at 5:30 PM Burton, Ross <ross.burton at intel.com>
>> wrote:
>>> On Wed, 1 May 2019 at 11:51, Jacob Kroon <jacob.kroon at gmail.com>
>>> wrote:
>>>> I'm getting a lot of these warnings after removing tmp/ and
>>>> rebuilding
>>>> my image from sstate cache.
>>>> FWIW I use rm_work.bbclass, and regularly use the
>>>> sstate-cache-management,sh script to prune old cache.
>>>
>>> There's a patch I hacked up in master-next that shows where these
>>> warnings are coming from.  Yes, this patch produces two warnings
>>> per
>>> recipe with rm_work enabled.
>>
>> argh... i hit the same issue and came up with the exact same
>> conclusion.. i should have checked the mailing list earlier today ;)
>>
>> I am getting thousands of warnings like that with rm_work. I had
>> modified bitbake so that it shows the 'task' name like Ross, in ().
> 
> I suspect we're going to need to rethink that patch, and/or perhaps
> rm_work...


Sorry for the warnings, I just came back from the International Labour Day
Holiday. Something is wrong with rm_work, I will send a patch to fix it.

> 
> I did have concerns about it but was assured it was widely tested. We
> also probably need an rm_work test case on the autobuilder (need a bug
> for that so we don't forget?).

Rather than add a testcae on autobuilder, how about add a testcase to
oe-selftest, please ?

// Robert

> 
> Cheers,
> 
> Richard
> 
> 
> 


More information about the bitbake-devel mailing list