Skip to contentSkip to conversation

lcov: sort RDEPENDS alphabetical

PATCH New Claus Stovgaard 1 participant 2 messages Nov 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 lcov: sort RDEPENDS alphabetical

It is easier to get an overview of the perl modules needed for running lcov if they are sorted alphabetically

---
 meta-oe/recipes-support/lcov/lcov_1.16.bb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-oe/recipes-support/lcov/lcov_1.16.bb +5 -5
index 4f35eff90..53e192105 100755
@@ -10,12 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 RDEPENDS:${PN} += " \
     perl \
-    perl-module-filehandle \
-    perl-module-getopt-std \
-    perl-module-digest-md5 \
-    perl-module-digest-sha \
     perl-module-constant \
     perl-module-cwd \
+    perl-module-digest-md5 \
+    perl-module-digest-sha \
     perl-module-errno \
     perl-module-file-basename \
     perl-module-file-copy \
@@ -25,12 +23,14 @@ RDEPENDS:${PN} += " \
     perl-module-file-spec-functions \
     perl-module-file-spec-unix \
     perl-module-file-temp \
+    perl-module-filehandle \
     perl-module-getopt-long \
+    perl-module-getopt-std \
     perl-module-list-util \
     perl-module-mro \
     perl-module-overload \
-    perl-module-overloading \
     perl-module-overload-numbers \
+    perl-module-overloading \
     perl-module-parent \
     perl-module-pod-usage \
     perl-module-posix \
Signature · 1 line
2.45.2
#1 lore raw

PATCH 2/2 lcov: Add missing RDEPENDS

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.

---
 meta-oe/recipes-support/lcov/lcov_1.16.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/lcov/lcov_1.16.bb +4 -0
index 53e192105..81b80790f 100755
@@ -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 \
Signature · 1 line
2.45.2