| Message ID | 20261201023529.2821291-26-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-exporter \ > + perl-module-filehandle \ > + perl-module-socket \ > + perl-module-symbol \ > +" Net::Telnet does eval "require IO::Socket" and inherits from IO::Socket::INET; FileHandle is only its fallback for perl < 5.004. Without IO::Socket it silently switches its base class: IO::Socket hidden: @ISA = Exporter FileHandle normal: @ISA = Exporter IO::Socket::INET It still connects through the fallback, but that is the legacy path. Please RDEPEND on perl-module-io-socket and perl-module-io-socket-inet instead of perl-module-filehandle; neither is pulled in by the packages above. -Khem
diff --git a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb index 41f38101ed..6445fd6538 100644 --- a/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb +++ b/meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb @@ -21,4 +21,9 @@ S = "${UNPACKDIR}/Net-Telnet-${PV}" inherit cpan -RDEPENDS:${PN} = "perl" +RDEPENDS:${PN} += "\ + perl-module-exporter \ + perl-module-filehandle \ + perl-module-socket \ + perl-module-symbol \ +"
The modules in libnet-telnet-perl need perl-module-exporter, perl-module-socket, perl-module-symbol and perl-module-filehandle, 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> --- meta-perl/recipes-perl/libnet/libnet-telnet-perl_3.05.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)