From e1958af36c9bb27f683b82a13e91f17f4cb64858 Mon Sep 17 00:00:00 2001 From: Harish Sadineni Date: Fri, 8 Nov 2024 08:24:56 -0800 Subject: [PATCH] binutils: Add missing perl modules to RDEPENDS for nativesdk variant In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors.. - Can't locate bignum.pm in @INC (you may need to install the feature module). - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::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 (patch taken to master branch with following commit id: 05f1099acbbb10b6ce33ea117d313749f7dc4a47) (From OE-Core rev: a1317e52260eed9961291d461e48a4915ffc36bc) Signed-off-by: Harish Sadineni Signed-off-by: Steve Sakoman --- meta/recipes-devtools/binutils/binutils_2.42.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/binutils/binutils_2.42.bb b/meta/recipes-devtools/binutils/binutils_2.42.bb index 2cce40f1ef..8594db9bfb 100644 --- a/meta/recipes-devtools/binutils/binutils_2.42.bb +++ b/meta/recipes-devtools/binutils/binutils_2.42.bb @@ -72,5 +72,9 @@ SRC_URI:append:class-nativesdk = " file://0003-binutils-nativesdk-Search-for-al USE_ALTERNATIVES_FOR:class-nativesdk = "" FILES:${PN}:append:class-nativesdk = " ${bindir}" +RDEPENDS:gprofng:class-nativesdk = " nativesdk-perl-module-bignum \ + nativesdk-perl-module-bigint \ + nativesdk-perl-module-math-bigint \ +" BBCLASSEXTEND = "native nativesdk"