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