mbox series

[meta-oe,meta-perl,0/5] perl recipes: fix modules that fail to load

Message ID 20261201021139.2312947-1-tim.orling@konsulko.com
Headers show
Series perl recipes: fix modules that fail to load | expand

Message

Tim Orling Dec. 1, 2026, 2:11 a.m. UTC
These Perl modules fail to load on target even with all their RDEPENDS
installed, or their ptest fails:

- Curses: Curses.so is not linked against ncurses.
- Chipcard::PCSC: libpcsclite.so.1 is loaded with dlopen(), so nothing
  installs pcsc-lite-lib.
- Authen::SASL::Perl and Env: Tie::Handle and Tie::Array are missing
  from RDEPENDS.
- libunix-statgrab: the ptest misses Test::More, and t/00-load needs
  -T on the perl command line. With both fixed it passes, so move it
  to PTESTS_FAST_META_PERL.

This series applies on top of "[PATCH v2 00/26] perl recipes: add
missing base, DynaLoader and other perl-module RDEPENDS", which touches
the same libcurses-perl and libpcsc-perl recipes.

Tested on qemux86-64: the modules load in a core-image-minimal without
perl-modules, and the libauthen-sasl-perl (15 pass, 2 skip) and
libunix-statgrab (3 pass, 1 skip) ptests pass.

AI-Generated: Uses Claude Code (Claude Opus 5.5)

Tim Orling (5):
  libcurses-perl: link Curses.so against ncurses
  libpcsc-perl: add pcsc-lite-lib to RDEPENDS
  libauthen-sasl-perl: add perl-module-tie-handle to RDEPENDS
  libenv-perl: add perl-module-tie-array to RDEPENDS
  libunix-statgrab: fix ptest

 meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb     | 3 ++-
 meta-perl/conf/include/ptest-packagelists-meta-perl.inc  | 2 +-
 .../recipes-perl/libauthen/libauthen-sasl-perl_2.2100.bb | 2 +-
 meta-perl/recipes-perl/libcurses/libcurses-perl_1.46.bb  | 9 ++++++++-
 meta-perl/recipes-perl/libenv/libenv-perl_1.04.bb        | 2 ++
 .../recipes-perl/libstatgrab/libunix-statgrab_0.112.bb   | 7 +++++++
 6 files changed, 21 insertions(+), 4 deletions(-)