iuk: missing perl5lib reference + `dzil authordebs --install` failure
Originally created by @CyrilBrulebois on #17590 (Redmine)
In the process of installing a new buster-based build machine, I’m
following release_process.mdwn
and documentations it points to to
deploy everything I need.
wiki/src/contribute/release_process/tails-iuk.mdwn
might need two
tweaks:
- the “
tails-iuk.list
| apt install” step might need to have a similar one fortails-perl5lib.list
; at first, I’m not entirely this is needed, but with the iuk+tps merge into tails.git, I think I’ve seen failures/missing packages for one of them. Looking further down this page, I’m seeingPERL5LIB
being set for the test suite runs, which confirms my recollection: perl5lib material must be installed as well for the whole iuk thing. Pointing towiki/src/contribute/release_process/perl5lib.mdwn
might be a good fit.
- plus @dzil authordebs —install` fails with an obscure message:
kibi@hamburg:~/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/iuk$ dzil authordebs --install
Can't use an undefined value as a HASH reference at /usr/share/perl5/Debian/AptContents.pm line 444.
Trying to go further, I’m seeing a tip when trying to run the test suite for overlayfs:
kibi@hamburg:~/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/iuk$ NODE_PATH="${TAILS_GIT_CHECKOUT}/submodules/mirror-pool-dispatcher/lib/js" \
> PATH="${TAILS_GIT_CHECKOUT}/submodules/mirror-pool-dispatcher/bin:$PATH" \
> PERL5LIB="${TAILS_GIT_CHECKOUT}/config/chroot_local-includes/usr/src/perl5lib/lib" \
> RELEASE_TESTING=1 \
> LC_ALL=C \
> dzil test
Required plugin Dist::Zilla::Plugin::Test::Perl::Critic isn't installed.
Run 'dzil authordeps' to see a list of all required plugins.
You can pipe the list to your CPAN client to install or update them:
dzil authordeps --missing | cpanm
So I’ll fix the authordebs
vs. authordeps
typo in master
,
referencing this ticket, and leaving up to someone else (maybe
@intrigeri who merged iuk.git and tps.git into tails.git?) to comment
on/fix the possible perl5lib reference addition.
Feature Branch: bugfix/17590-perl-test-suites-deps