diff mbox series

[meta-perl,09/31] libcrypt-openssl-guess-perl: add perl-module-english to RDEPENDS

Message ID 20261201023529.2821291-10-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 libcrypt-openssl-guess-perl need perl-module-english, but
nothing in RDEPENDS pulls it in, so they fail to load unless something
else installs it. 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>
---
 .../recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb    | 1 +
 1 file changed, 1 insertion(+)

Comments

Khem Raj Dec. 1, 2026, 3:45 a.m. UTC | #1
On Mon, Nov 30, 2026 at 6:35 PM Tim Orling <tim.orling@konsulko.com> wrote:
> +    perl-module-english \

English.pm aliases *OS_ERROR and *ERRNO to *!, which makes perl load
Errno:

  $ perl -e 'use English; print $INC{"Errno.pm"} ? "loaded\n" : "no\n"'
  loaded

So with only this change the package still misses Errno. See my reply
to 10/31; I think this belongs in perl-module-english itself.

-Khem
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
index 03b65cced1..97040e241b 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb
@@ -19,6 +19,7 @@  RDEPENDS:${PN} = "\
     perl-module-symbol \
     perl-module-strict \
     perl-module-warnings \
+    perl-module-english \
 "
 
 EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl -L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"