[OE-core] [PATCH 1/1] devtool.py: remove fetch results from download directory to avoid failure

ChenQi Qi.Chen at windriver.com
Tue Jan 22 02:22:15 UTC 2019


On 01/21/2019 05:53 PM, Richard Purdie wrote:
> On Mon, 2019-01-21 at 17:29 +0800, Chen Qi wrote:
>> The fetch results need to be removed from the download directory to
>> avoid
>> failures like below.
>>
>>    Submodule path 'doxyport': checked out
>> 'db3e1a6eb8677d3166d90d82c3068689803ce547'
>>
>>    fatal: reference is not a tree:
>> 67cad692720982ac3cbd99bf1c3421edc69b08f9
>>    Unable to checkout '67cad692720982ac3cbd99bf1c3421edc69b08f9' in
>> submodule path 'doxygen2jsdoc'
>>
>>    ERROR: Function failed: base_do_unpack
> I'd like to understand the problem here a bit more. My worry is that
> deleting files manually from DL_DIR is bad practise, particularly if
> that directory is shared between builds like on our autobuilder.
>
> We've had similar problems with cleansstate since that can also remove
> artefacts from the sstate cache which another build may be using. We
> can do this only when the sstate directory is not shared.
>
> Cheers,
>
> Richard
>
>
I just pulled to latest master and did the tests again. Things worked 
well. This patch is not needed.
It seems that Mark's commits regarding gitsm in bitbake has fixed the 
problem I met.

Best Regards,
Chen Qi


More information about the Openembedded-core mailing list