diff mbox series

[meta-oe,v2,22/26] ipc-run: add missing perl-module RDEPENDS

Message ID 20261201015526.1956497-23-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
IPC::Run and its IPC::Run::Debug, IO and Timer modules use base, bytes,
Carp, constant, Errno, Exporter, Fcntl, File::Spec, IO::Handle,
overload, POSIX, Scalar::Util, Socket, Symbol and Text::ParseWords, and
IPC::Run loads File::Basename with a string eval, which perl.req cannot
see. The package only RDEPENDS on perl, so these 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>
---
 .../perl/ipc-run_20260402.0.bb                | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/perl/ipc-run_20260402.0.bb b/meta-oe/recipes-devtools/perl/ipc-run_20260402.0.bb
index fa4ffd5907..583197bc2f 100644
--- a/meta-oe/recipes-devtools/perl/ipc-run_20260402.0.bb
+++ b/meta-oe/recipes-devtools/perl/ipc-run_20260402.0.bb
@@ -17,6 +17,25 @@  inherit cpan
 
 EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
 
+RDEPENDS:${PN} += "\
+    perl-module-base \
+    perl-module-bytes \
+    perl-module-carp \
+    perl-module-constant \
+    perl-module-errno \
+    perl-module-exporter \
+    perl-module-fcntl \
+    perl-module-file-basename \
+    perl-module-file-spec \
+    perl-module-io-handle \
+    perl-module-overload \
+    perl-module-posix \
+    perl-module-scalar-util \
+    perl-module-socket \
+    perl-module-symbol \
+    perl-module-text-parsewords \
+"
+
 do_compile() {
     export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
     cpan_do_compile