@@ -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
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(+)