Bug #17591
perl5lib: missing packages in buster
Start date:
Due date:
% Done:
100%
Description
Seen with perl5lib
test suite:
kibi@hamburg:~/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/perl5lib$ RELEASE_TESTING=1 dzil test
[DZ] building distribution under .build/79RhXGpQUs for installation
[DZ] beginning to build Tails-perl5lib
[@Filter/ExtraTests] rewriting author test xt/author/critic.t
[@Filter/ExtraTests] rewriting author test xt/author/pod-syntax.t
[@Filter/ExtraTests] rewriting author test xt/author/no-tabs.t
[DZ] writing Tails-perl5lib in .build/79RhXGpQUs
Checking prerequisites...
test_requires:
! Test::Most is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Run 'Build installdeps' to install missing prerequisites.
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Tails-perl5lib' version '4.0'
Building Tails-perl5lib
t/00-load_all.t ........ Can't locate Test/Most.pm in @INC (you may need to install the Test::Most module) (@INC contains: /home/kibi/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/perl5lib/.build/79RhXGpQUs/blib/lib /home/kibi/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/perl5lib/.build/79RhXGpQUs/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/00-load_all.t line 1.
BEGIN failed--compilation aborted at t/00-load_all.t line 1.
t/00-load_all.t ........ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/author-critic.t ...... ok
t/author-no-tabs.t ..... ok
t/author-pod-syntax.t .. Can't locate Test/Pod.pm in @INC (you may need to install the Test::Pod module) (@INC contains: /home/kibi/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/perl5lib/.build/79RhXGpQUs/blib/lib /home/kibi/work/clients/tails/tails.git/config/chroot_local-includes/usr/src/perl5lib/.build/79RhXGpQUs/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at t/author-pod-syntax.t line 13.
BEGIN failed--compilation aborted at t/author-pod-syntax.t line 13.
t/author-pod-syntax.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/00-load_all.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/author-pod-syntax.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=4, Tests=24, 1 wallclock secs ( 0.03 usr 0.00 sys + 1.60 cusr 0.17 csys = 1.80 CPU)
Result: FAIL
Failed 2/4 test programs. 0/24 subtests failed.
error running /usr/bin/perl Build test
so it looks to me either distzilla metadata and/or our apt instructions should be updated to make sure we install those two extra packages?
libtest-most-perl
libtest-pod-perl
Once they are installed, that looks better:
[DZ] building distribution under .build/2pm8oxMoop for installation
[DZ] beginning to build Tails-perl5lib
[@Filter/ExtraTests] rewriting author test xt/author/critic.t
[@Filter/ExtraTests] rewriting author test xt/author/pod-syntax.t
[@Filter/ExtraTests] rewriting author test xt/author/no-tabs.t
[DZ] writing Tails-perl5lib in .build/2pm8oxMoop
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Tails-perl5lib' version '4.0'
Building Tails-perl5lib
t/00-load_all.t ........ 1/? Too late to run INIT block at /usr/lib/x86_64-linux-gnu/perl5/5.28/Glib/Object/Introspection.pm line 257.
t/00-load_all.t ........ ok
t/author-critic.t ...... ok
t/author-no-tabs.t ..... ok
t/author-pod-syntax.t .. ok
All tests successful.
Files=4, Tests=43, 1 wallclock secs ( 0.02 usr 0.00 sys + 1.91 cusr 0.22 csys = 2.15 CPU)
Result: PASS
[DZ] all's well; removing .build/2pm8oxMoop
Tentatively assigning to @intrigeri as a kind of follow-up for Bug #17590.
Subtasks
History
#1 Updated by intrigeri 2020-04-05 06:06:02
- Status changed from Confirmed to In Progress
- Target version set to Tails_4.5
- Feature Branch set to bugfix/17590-perl-test-suites-deps
#2 Updated by intrigeri 2020-04-05 06:37:55
- Status changed from In Progress to Needs Validation
- Assignee changed from intrigeri to CyrilBrulebois
#3 Updated by intrigeri 2020-04-05 06:40:06
- blocks Feature #16209: Core work: Foundations Team added
#4 Updated by CyrilBrulebois 2020-04-06 05:54:54
Same thing as the twin bug (Bug #17590):
This look good to me, this can be merged after 4.5 is out.
(I’ll get to such tickets after some post-release rest, feel free to merge before I do.)
#5 Updated by intrigeri 2020-04-06 14:20:29
- Target version changed from Tails_4.5 to Tails_4.6
#6 Updated by intrigeri 2020-04-22 15:05:56
- Status changed from Needs Validation to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:tails|0b8505045f7055ac2ec52d0c264533dd53442a84.