| Message ID | 20261201023529.2821291-2-tim.orling@konsulko.com |
|---|---|
| State | Changes Requested |
| Headers | show |
| Series | perl recipes: add missing perl-module RDEPENDS | expand |
On Mon, Nov 30, 2026 at 6:35 PM Tim Orling <tim.orling@konsulko.com> wrote:
> +RDEPENDS:${PN} += "perl-module-carp perl-module-parse-cpan-meta"
CPAN::Requirements::Dynamic requires IPC::Cmd, Perl::OSType and
CPAN::Meta::Requirements::Range
require CPAN::Meta::Requirements::Range; (version ranges)
require IPC::Cmd; (can_run)
require Perl::OSType; (is_os_type)
so please add perl-module-ipc-cmd, perl-module-perl-ostype and the package
that ships CPAN/Meta/Requirements/Range.pm.
Loading each module on target does not catch require-at-call-time
dependencies like these
-Khem
diff --git a/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.003.bb b/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.003.bb index 8716737c66..4bdd50e73c 100644 --- a/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.003.bb +++ b/meta-perl/recipes-extended/requirements-dynamic/cpan-requirements-dynamic_0.003.bb @@ -11,3 +11,5 @@ SRC_URI[sha256sum] = "0731694542ec57aead9f20259ba678f74e5602e655b1833eef3e9336f4 S = "${UNPACKDIR}/CPAN-Requirements-Dynamic-${PV}" inherit cpan + +RDEPENDS:${PN} += "perl-module-carp perl-module-parse-cpan-meta"
The modules in cpan-requirements-dynamic need perl-module-carp and perl-module-parse-cpan-meta, 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> --- .../requirements-dynamic/cpan-requirements-dynamic_0.003.bb | 2 ++ 1 file changed, 2 insertions(+)