On 2023-12-27 7:50 a.m., deepthi.hem...@windriver.com wrote:
From: Deepthi Hemraj<deepthi.hem...@windriver.com>

In SDK,running "x86_64-poky-linux-gp-display-html --help" fails due to missing 
perl modules which are required for it to work.

Fixes:Can't locate feature.pm in @INC (you may need to install the feature 
module) and also add all the perl modules to sdk.

Signed-off-by: Deepthi Hemraj<deepthi.hem...@windriver.com>
---
  .../packagegroups/nativesdk-packagegroup-sdk-host.bb          | 4 +---
  1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb 
b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
index 11e31dcba3..2561d79900 100644
--- a/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
+++ b/meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb
@@ -8,8 +8,6 @@ inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" -# autoconf pulls in nativesdk-perl but perl-module-integer is needed to
-# build some recent linux kernels (5.14+) for arm
  RDEPENDS:${PN} = "\
      nativesdk-pkgconfig \
      nativesdk-qemu \
@@ -28,7 +26,7 @@ RDEPENDS:${PN} = "\
      nativesdk-sdk-provides-dummy \
      nativesdk-bison \
      nativesdk-flex \
-    nativesdk-perl-module-integer \
+    nativesdk-perl-modules \
      "

perl-modules is a meta-package that pulls in *all* **726** (1) perl modules with each one
being ~100KB.

That's adding quite a bit of bloat for a feature that few people need ( gp-display-html --help https://manpages.debian.org/unstable/binutils-common/gp-display-html.1.en.html )

We just need perl-modue-feature to get features.pm.

tmp-glibc/work/core2-64-wrs-linux/perl/5.38.0/packages-split/perl-module-feature/usr/lib64/perl5/5.38.0/feature.pm

Can you try again to see if you can require fewer packages please?
If you can explain that you tried adding > 15 perl modules and you still don't have all the dependencies,
then we can talk about what to do.

Please confirm that you are able to use gp-display-html to view the results of a profiling run.

../Randy


1)

❯ ls tmp-glibc/work/core2-64-wrs-linux/perl/5.38.0/packages-split/ | rg module | wc -l
726


I
RDEPENDS:${PN}:darwin = "\


--
# Randy MacLeod
# Wind River Linux
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192953): 
https://lists.openembedded.org/g/openembedded-core/message/192953
Mute This Topic: https://lists.openembedded.org/mt/103383878/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to