diff mbox series

[meta-oe,v2,11/26] libconfig-general-perl: add missing perl-module RDEPENDS

Message ID 20261201015526.1956497-12-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
Config::General uses base, bytes, English, IO::File, FileHandle,
File::Spec::Functions, File::Glob, Data::Dumper, Carp::Heavy and
constant, but nothing in its RDEPENDS pulls in the matching perl-module
packages, before or after "perl: generate perl-rdepends.txt with
perl.req" in oe-core, so the module fails 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/libconfig-general-perl_2.69.bb             | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.69.bb b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.69.bb
index a3bb37e17c..18a51a479e 100644
--- a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.69.bb
+++ b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.69.bb
@@ -16,6 +16,19 @@  EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}
 
 inherit cpan
 
+RDEPENDS:${PN} += "\
+    perl-module-base \
+    perl-module-bytes \
+    perl-module-carp-heavy \
+    perl-module-constant \
+    perl-module-data-dumper \
+    perl-module-english \
+    perl-module-file-glob \
+    perl-module-file-spec-functions \
+    perl-module-filehandle \
+    perl-module-io-file \
+"
+
 do_compile() {
     export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
     cpan_do_compile