Re: [OE-core][PATCH V2 2/4] nativesdk.bbclass: handle PACKAGE_WRITE_DEPS

ChenQi
2025-04-14T03:28:59Z

On 4/11/25 15:36, Mathieu Dubois-Briand wrote:
> On Thu Apr 10, 2025 at 3:40 PM CEST, Chen Qi via lists.openembedded.org wrote:
>> From: Chen Qi <Qi.Chen@windriver.com>
>>
>> We want nativesdk packages to depend on correct recipes introduced
>> by PACKAGE_WRITE_DEPS, so do the same mapping just as we do for DEPENDS.
>>
>> Before this change:
>> nativesdk-glib-2.0 -> qemuwrapper-cross
>>
>> After this change:
>> nativesdk-glib-2.0 -> nativesdk-qemuwrapper-cross
>>
>> This can fix do_populate_sdk failure complaining missing of
>> nativesdk-qemuwrapper. Error message is like below:
>>
>> NOTE: > Executing update_gio_module_cache-nativesdk intercept ...
>> NOTE: Exit code 127. Output:
>> /xxx/lib32-core-image-sato/1.0/intercept_scripts-xxxx/
>> update_gio_module_cache-nativesdk: 13: nativesdk-qemuwrapper: not found
>>
>> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
>> ---
> Hi,
>
> Thanks for your patch.
>
> It looks like this is causing some issues on the autobuilder:
>
> NOTE: The "universe" target is only intended for testing and may produce errors.
> NOTE: Resolving any missing task queue dependencies
> WARNING: Nothing PROVIDES 'nativesdk-ptest-runner'. Close matches:
> nativesdk-libtest-warnings-perl
> nativesdk-serf
> nativesdk-xtst
>
> I was able to easily reproduce this locally, just with "bitbake universe -c fetch".
>
> Can you have a look at this, please?
>
Yes. I'll look into it ASAP.

Regards,
Qi