diff mbox series

[meta-oe,scarthgap,3/3] lcov: Add missing RDEPENDS

Message ID 20250308090405.345593-3-akash.hadke27@gmail.com
State New
Headers show
Series [meta-oe,scarthgap,1/3] lcov: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status | expand

Commit Message

Akash Hadke March 8, 2025, 9:04 a.m. UTC
From: Claus Stovgaard <claus.stovgaard@gmail.com>

Found by just adding lcov to core-image-minimal, running geninfo and
getting errors like.

Can't locate Module/Load.pm in @INC (you may need to install the Module::Load module)
... at /usr/bin/geninfo line 63.
BEGIN failed--compilation aborted at /usr/bin/geninfo line 63.

Can't locate Module/Metadata.pm in @INC (you may need to install the Module::Metadata module)
... at /usr/lib/perl5/5.38.2/Module/Load/Conditional.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.38.2/Module/Load/Conditional.pm line 14.
Compilation failed in require at /usr/bin/geninfo line 64.

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e7f560b9b8dacf7aadf59d6321c2e869dcd5831e)
Signed-off-by: Akash Hadke <akash.hadke27@gmail.com>
---
 meta-oe/recipes-support/lcov/lcov_1.16.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/lcov/lcov_1.16.bb b/meta-oe/recipes-support/lcov/lcov_1.16.bb
index 53e1921054..81b80790fe 100755
--- a/meta-oe/recipes-support/lcov/lcov_1.16.bb
+++ b/meta-oe/recipes-support/lcov/lcov_1.16.bb
@@ -9,7 +9,9 @@  LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 RDEPENDS:${PN} += " \
+    libjson-perl \
     perl \
+    perl-module-compress-zlib \
     perl-module-constant \
     perl-module-cwd \
     perl-module-digest-md5 \
@@ -27,6 +29,8 @@  RDEPENDS:${PN} += " \
     perl-module-getopt-long \
     perl-module-getopt-std \
     perl-module-list-util \
+    perl-module-load \
+    perl-module-metadata \    
     perl-module-mro \
     perl-module-overload \
     perl-module-overload-numbers \