Re: [OE-core] [PATCH v2 2/2] packagegroup-core-tools-profile: add lttng-modules to LTTNGTOOLS

Mathieu Dubois-Briand
2026-03-20T07:08:31Z

On Wed Mar 18, 2026 at 11:10 AM CET, Kai Kang via lists.openembedded.org wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> It has removed lttng-modules from lttng-tools's RRECOMMENDS, so add
> lttng-modules to LTTNGTOOLS in packagegroup-core-tools-profile.bb to
> make its dependent packages unchanged.
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---

Hi,

Thanks for your patch.

> .../packagegroups/packagegroup-core-tools-profile.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> index 9c09f5ab44..42c15772a0 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
> @@ -31,7 +31,7 @@ SYSTEMTAP:libc-musl = ""
> SYSTEMTAP:nios2 = ""
> SYSTEMTAP:riscv32 = ""
>
> -LTTNGTOOLS = "lttng-tools"
> +LTTNGTOOLS = "lttng-tools lttng-modules"

This won't work for riscv64, as lttng-modules is marked as not
compatible:

ERROR: Nothing RPROVIDES 'lttng-modules' (but /srv/pokybuild/yocto-worker/qemuriscv64/build/layers/openembedded-core/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb RDEPENDS on or otherwise requires it)
lttng-modules was skipped: incompatible with host riscv64-poky-linux (not in COMPATIBLE_HOST)
lttng-modules was skipped: incompatible with host riscv64-poky-linux (not in COMPATIBLE_HOST)
NOTE: Runtime target 'lttng-modules' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lttng-modules']

https://autobuilder.yoctoproject.org/valkyrie/#/builders/45/builds/1252

Can you look for a solution working on all platforms?

Thanks,
Mathieu

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