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

Mathieu Dubois-Briand
2025-04-11T07:36:29Z

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?

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering