diff mbox series

[meta-perl,22/31] libnet-dns-perl: add perl-module-perlio to RDEPENDS

Message ID 20261201023529.2821291-23-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 libnet-dns-perl need perl-module-perlio, 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/libnet/libnet-dns-perl_1.58.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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-perlio \

PerlIO comes from Net::DNS::ZoneFile. The same code opens zone files
with '<:encoding(UTF-8)' whenever "require Encode" succeeds (the UTF8
constant), so if Encode is installed by something else but
perl-module-perlio-encoding is not, reading a zone file fails. Please
add perl-module-perlio-encoding to RDEPENDS:${PN} as well; today it and
perl-module-encode are only in the ptest RDEPENDS.

>  RDEPENDS:${PN}-ptest += " \
>      perl-module-encode \
> -    perl-module-encode-encoding \
>      perl-module-encode-byte \
> +    perl-module-encode-encoding \

This reordering is unrelated to the change maybe separate this into separate patch

-Khem
diff mbox series

Patch

diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.58.bb b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.58.bb
index f7522554c9..21353bba0c 100644
--- a/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.58.bb
+++ b/meta-perl/recipes-perl/libnet/libnet-dns-perl_1.58.bb
@@ -32,6 +32,7 @@  RDEPENDS:${PN} = " \
     perl-module-io-socket \
     perl-module-io-socket-ip \
     perl-module-mime-base64 \
+    perl-module-perlio \
     perl-module-scalar-util \
     perl-module-test-more \
     perl-module-time-local \
@@ -55,8 +56,8 @@  do_install_ptest_perl:append(){
 
 RDEPENDS:${PN}-ptest += " \
     perl-module-encode \
-    perl-module-encode-encoding \
     perl-module-encode-byte \
+    perl-module-encode-encoding \
     perl-module-extutils-mm \
     perl-module-extutils-mm-unix \
     perl-module-overload \