diff mbox series

[meta-perl,11/31] libdata-hexdump-perl: add missing perl-module RDEPENDS

Message ID 20261201023529.2821291-12-tim.orling@konsulko.com
State Changes Requested
Headers show
Series perl recipes: add missing perl-module RDEPENDS | expand

Commit Message

Tim Orling Dec. 1, 2026, 2:34 a.m. UTC
The modules in libdata-hexdump-perl need perl-module-carp,
perl-module-exporter and perl-module-filehandle, but nothing in RDEPENDS
pulls them in, so they fail to load unless something else installs them.
This was the case before "perl: generate perl-rdepends.txt with
perl.req" in oe-core as well.

Found by the perl-rdeps QA check and by loading each module on
qemux86-64 with only the package and its RDEPENDS installed.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 .../recipes-perl/libdata/libdata-hexdump-perl_0.04.bb    | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.04.bb b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.04.bb
index b817d2cc33..0bbd24f7f2 100644
--- a/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.04.bb
+++ b/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.04.bb
@@ -14,7 +14,12 @@  LICENSE = "Artistic-1.0"
 LIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=277;endline=279;md5=bf1cd9373f8d1f85fe091ee069a480e9"
 
 DEPENDS = "perl"
-RDEPENDS:${PN} += "perl-module-parent"
+RDEPENDS:${PN} += "\
+    perl-module-carp \
+    perl-module-exporter \
+    perl-module-filehandle \
+    perl-module-parent \
+"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/N/NE/NEILB/Data-HexDump-${PV}.tar.gz \
            file://run-ptest \
@@ -30,6 +35,6 @@  do_install_ptest () {
     install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t
 }
 
-RDEPENDS:${PN}-ptest += "perl-module-exporter perl-module-carp perl-module-filehandle"
+RDEPENDS:${PN}-ptest += "perl-module-carp perl-module-exporter perl-module-filehandle"
 
 BBCLASSEXTEND = "native"