Perl cpanminus fails with 'LWP will support https URLs if the LWP::Protocol::https module is installed.'
Any package that a user wishes to install from CPAN will fail with:
# cpanm --notest Tests:More
! Finding Test::More on cpanmetadb failed.
LWP will support https URLs if the LWP::Protocol::https module is installed.
This is a regression from Alpine-3.15 where this works out of the box. This issue has been introduced by the following apkbuild patch: https://git.alpinelinux.org/aports/tree/community/perl-app-cpanminus/use-https-mirrors.patch
While it is okay to switch to HTTPS of HTTP, the patch introduced a regression to the default installation's behaviour (which other project's scripts rely on) of cpanminus which is now unusable without also installing perl-lwp-protocol-https
. Please either revert the custom build patch OR make perl-lwp-protocol-https
an install dependency of perl-app-cpanminus