diff mbox series

[meta-perl,14/31] libfile-slurp-perl: add missing perl-module RDEPENDS

Message ID 20261201023529.2821291-15-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 libfile-slurp-perl need perl-module-carp,
perl-module-errno, perl-module-exporter, perl-module-fcntl,
perl-module-file-basename, perl-module-file-spec, perl-module-file-temp,
perl-module-io-handle, perl-module-posix and perl-module-re, 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>
---
 .../libfile/libfile-slurp-perl_9999.32.bb           | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.32.bb b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.32.bb
index e12fc5b7e6..489b66cdb0 100644
--- a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.32.bb
+++ b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_9999.32.bb
@@ -16,4 +16,17 @@  inherit cpan
 
 SRC_URI[sha256sum] = "4c3c21992a9d42be3a79dd74a3c83d27d38057269d65509a2f555ea0fb2bc5b0"
 
+RDEPENDS:${PN} += "\
+    perl-module-carp \
+    perl-module-errno \
+    perl-module-exporter \
+    perl-module-fcntl \
+    perl-module-file-basename \
+    perl-module-file-spec \
+    perl-module-file-temp \
+    perl-module-io-handle \
+    perl-module-posix \
+    perl-module-re \
+"
+
 BBCLASSEXTEND = "native"