diff mbox series

[v3,3/3] nativesdk-packagegroup-sdk-host: Add missing perl modules to RDEPENDS

Message ID 20240912054628.1539323-3-Harish.Sadineni@windriver.com
State New
Headers show
Series [v3,1/3] binutils: Fix packaging of bfd-plugins | expand

Commit Message

Sadineni, Harish Sept. 12, 2024, 5:46 a.m. UTC
From: Harish Sadineni <Harish.Sadineni@windriver.com>

In SDK, missing perl modules causes 'x86_64-wrlinuxsdk-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)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
---
 .../packagegroups/nativesdk-packagegroup-sdk-host.bb           | 3 +++
 1 file changed, 3 insertions(+)

Comments

Richard Purdie Sept. 12, 2024, 6:44 a.m. UTC | #1
On Wed, 2024-09-11 at 22:46 -0700, Sadineni, Harish via lists.openembedded.org wrote:
> From: Harish Sadineni <Harish.Sadineni@windriver.com>
> 
> In SDK, missing perl modules causes 'x86_64-wrlinuxsdk-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)
> 
> Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
> ---
>  .../packagegroups/nativesdk-packagegroup-sdk-host.bb           | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> index c1d3c25060..70a7d3e494 100644
> --- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> +++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
> @@ -30,6 +30,9 @@ RDEPENDS:${PN} = "\
>      nativesdk-bison \
>      nativesdk-flex \
>      nativesdk-perl-module-integer \
> +    nativesdk-perl-module-bignum  \
> +    nativesdk-perl-module-bigint \
> +    nativesdk-perl-module-math-bigint \
>      "
>  
>  RDEPENDS:${PN}:darwin = "\
> 

Those dependencies should really be added to binutils-gprofng?

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index c1d3c25060..70a7d3e494 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -30,6 +30,9 @@  RDEPENDS:${PN} = "\
     nativesdk-bison \
     nativesdk-flex \
     nativesdk-perl-module-integer \
+    nativesdk-perl-module-bignum  \
+    nativesdk-perl-module-bigint \
+    nativesdk-perl-module-math-bigint \
     "
 
 RDEPENDS:${PN}:darwin = "\