diff mbox series

[meta-perl,v2,14/26] libtest-harness-perl: add missing perl-module RDEPENDS

Message ID 20261201015526.1956497-15-tim.orling@konsulko.com
State Under Review
Headers show
Series perl recipes: add missing base, DynaLoader and other perl-module RDEPENDS | expand

Commit Message

Tim Orling Dec. 1, 2026, 1:54 a.m. UTC
Test::Harness, App::Prove and the TAP modules use base, constant, Errno,
File::Basename, File::Find, File::Glob, File::Path, File::Spec,
Getopt::Long, IO::Handle, IO::Select, POSIX and Text::ParseWords, but
nothing in RDEPENDS pulls in the matching perl-module packages, before
or after "perl: generate perl-rdepends.txt with perl.req" in oe-core, so
the modules fail to load unless something else installs them. 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>
---
 .../libtest/libtest-harness-perl_3.52.bb            | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.52.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.52.bb
index 47c6409bdc..edc3b608e6 100644
--- a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.52.bb
+++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.52.bb
@@ -35,7 +35,20 @@  S = "${UNPACKDIR}/Test-Harness-${PV}"
 inherit cpan ptest-perl
 
 RDEPENDS:${PN} += "\
+    perl-module-base \
     perl-module-benchmark \
+    perl-module-constant \
+    perl-module-errno \
+    perl-module-file-basename \
+    perl-module-file-find \
+    perl-module-file-glob \
+    perl-module-file-path \
+    perl-module-file-spec \
+    perl-module-getopt-long \
+    perl-module-io-handle \
+    perl-module-io-select \
+    perl-module-posix \
+    perl-module-text-parsewords \
 "
 
 RDEPENDS:${PN}-ptest += "\