From: Harish Sadineni <[email protected]>

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

Signed-off-by: Harish Sadineni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 05f1099acbbb10b6ce33ea117d313749f7dc4a47)
Signed-off-by: Steve Sakoman <[email protected]>
---
 meta/recipes-devtools/binutils/binutils_2.43.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/binutils/binutils_2.43.1.bb 
b/meta/recipes-devtools/binutils/binutils_2.43.1.bb
index 2cce40f1ef..8594db9bfb 100644
--- a/meta/recipes-devtools/binutils/binutils_2.43.1.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.43.1.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"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206229): 
https://lists.openembedded.org/g/openembedded-core/message/206229
Mute This Topic: https://lists.openembedded.org/mt/109169394/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to