diff mbox series

[meta-oe,18/31] libjson-perl: add missing perl-module RDEPENDS

Message ID 20261201023529.2821291-19-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 libjson-perl need perl-module-bytes, perl-module-carp,
perl-module-constant, perl-module-exporter, perl-module-overload and
perl-module-b, 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>
---
 meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
index 56fa7f2c1e..6232c0fd72 100644
--- a/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
+++ b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
@@ -21,6 +21,13 @@  UPSTREAM_VERSION_UNKNOWN = "1"
 
 inherit cpan
 
-RDEPENDS:${PN} += "perl"
+RDEPENDS:${PN} += "\
+    perl-module-b \
+    perl-module-bytes \
+    perl-module-carp \
+    perl-module-constant \
+    perl-module-exporter \
+    perl-module-overload \
+"
 
 BBCLASSEXTEND = "native nativesdk"