Re: [OE-core] [PATCH 1/2] binutils-cross-canadian: Add missing perl mpodules to RDEPENDS

Richard Purdie
2025-09-30T13:48:01Z

On Tue, 2025-09-30 at 05:39 -0700, Sadineni, Harish via lists.openembedded.org wrote:
> From: Harish Sadineni <Harish.Sadineni@windriver.com>
>
> In sdk while running "x86_64-poky-linux-gp-display-html --help" gives
> following error:
> $sdk/sysroots/x86_64-pokysdk-linux/usr/bin/x86_64-poky-linux->
> ./x86_64-poky-linux-gp-display-html --help
> Can't locate bigint.pm in @INC (you may need to install the bigint module
>
> By adding the following perl modules to RDEPENDS fixes the above errors:
>   nativesdk-perl-module-bignum
>   nativesdk-perl-module-bigint
>   nativesdk-perl-module-math-bigint
>
> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
> ---
>  meta/recipes-devtools/binutils/binutils-cross-canadian.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> index 7d7ffe92ce..9dc73fbdf1 100644
> --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
> @@ -5,6 +5,7 @@ PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
>  BPN = "binutils"
>
>  DEPENDS = "flex-native bison-native virtual/nativesdk-cross-cc virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
> +RDEPENDS:${PN} += "nativesdk-perl-module-bignum  nativesdk-perl-module-bigint nativesdk-perl-module-math-bigint"
>  EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
>                  --enable-poison-system-directories \
>                  "

This is probably the right direction but shouldn't this be for the
gprofng package rather than ${PN}?

Cheers,

Richard