diff mbox series

[meta-perl,10/31] libcrypt-urandom-perl: add perl-module-errno to RDEPENDS

Message ID 20261201023529.2821291-11-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-urandom-perl need perl-module-errno, 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>
---
 meta-perl/recipes-perl/libcrypt/libcrypt-urandom-perl_0.55.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:
> The modules in libcrypt-urandom-perl need perl-module-errno, but nothing
> in RDEPENDS pulls it in

Crypt::URandom does not use Errno itself (its only errno check is
POSIX::EINTR()). Errno is loaded by English, which it uses: English.pm
aliases *ERRNO and *OS_ERROR to *!, and that makes perl require Errno.

So the missing dependency is perl-module-english -> perl-module-errno in
oe-core, and every user of English is affected, e.g.
libcrypt-openssl-guess-perl in 09/31 still lacks it. perl.req will not
see this, so it needs an explicit RDEPENDS:perl-module-english in the
perl recipe (your oe-core perl.req series would be a good place).
Then this patch can be dropped.

-Khem
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-urandom-perl_0.55.bb b/meta-perl/recipes-perl/libcrypt/libcrypt-urandom-perl_0.55.bb
index 9f7a91a954..337f3aa476 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-urandom-perl_0.55.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-urandom-perl_0.55.bb
@@ -18,6 +18,7 @@  RDEPENDS:${PN} += "\
     perl-module-carp \
     perl-module-constant \
     perl-module-english \
+    perl-module-errno \
     perl-module-exporter \
     perl-module-filehandle \
     perl-module-xsloader \