| Summary: | dev-perl/Term-ProgressBar-Simple-0.30.0 fails tests (Can't locate Test/MockObject.pm in @INC) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | TESTFAILURE |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
All deps:
Calculating dependencies ... done!
[ebuild N ] dev-perl/Term-ProgressBar-Simple-0.30.0 0 KiB
[ebuild N ] dev-perl/Term-ProgressBar-Quiet-0.310.0 USE="{-test}" 0 KiB
[ebuild N ] dev-perl/Term-ProgressBar-2.170.0 USE="{-test}" 0 KiB
[ebuild N ] dev-perl/Class-MethodMaker-2.240.0 0 KiB
[ebuild N ] dev-perl/IO-Interactive-1.22.0 USE="{-test}" 0 KiB
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649299799498919b8715be1d0aada2cb7ca41673 commit 649299799498919b8715be1d0aada2cb7ca41673 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2018-08-18 01:15:07 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2018-08-18 01:16:13 +0000 dev-perl/Term-ProgressBar-Quiet: Add Test::MockObject rdep bug #663268 Turns out this *is* a runtime dependency: https://metacpan.org/source/LBROCARD/Term-ProgressBar-Quiet-0.31/lib/Term/ProgressBar/Quiet.pm#L6 Closes: https://bugs.gentoo.org/663268 Package-Manager: Portage-2.3.40, Repoman-2.3.9 ...-Quiet-0.310.0.ebuild => Term-ProgressBar-Quiet-0.310.0-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) |
This is a bit worrying given where the trip wire is: >>> Test phase: dev-perl/Term-ProgressBar-Simple-0.30.0 * DIST_TEST_OVERRIDE is set to do verbose make -j3 test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/basic.t ......... 1..5 Can't locate Test/MockObject.pm in @INC (you may need to install the Test::MockObject module) (@INC contains: lib /var/tmp/portage/dev-perl/Term-ProgressBar-Simple-0.30.0/work/Term-ProgressBar-Simple-0.03/blib/lib /var/tmp/portage/dev-perl/Term-ProgressBar-Simple-0.30.0/work/T erm-ProgressBar-Simple-0.03/blib/arch /etc/perl /usr/local/lib64/perl5/5.28.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.28.0 /usr/lib64/perl5/vendor_perl/5.28.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.28.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendo r_perl/5.27.8 /usr/lib64/perl5/vendor_perl/5.27.7 /usr/lib64/perl5/vendor_perl/5.27.6 /usr/lib64/perl5/vendor_perl/5.22.3 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.28.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.28.0) at /usr/lib64/perl5/vendor_perl/5.28.0/Term/Progres sBar/Quiet.pm line 6. BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/5.28.0/Term/ProgressBar/Quiet.pm line 6. Compilation failed in require at lib/Term/ProgressBar/Simple.pm line 6. BEGIN failed--compilation aborted at lib/Term/ProgressBar/Simple.pm line 6. Compilation failed in require at t/basic.t line 10. BEGIN failed--compilation aborted at t/basic.t line 10. # Looks like your test exited with 2 before it could output anything. Dubious, test returned 2 (wstat 512, 0x200) Failed 5/5 subtests t/pod-coverage.t .. 1..0 # SKIP Test::Pod::Coverage > 1.00 required skipped: Test::Pod::Coverage > 1.00 required t/pod.t ........... 1..0 # SKIP Test::Pod 1.00 required for testing POD skipped: Test::Pod 1.00 required for testing POD Test Summary Report ------------------- t/basic.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 5 tests but ran 0. Files=3, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.27 cusr 0.03 csys = 0.34 CPU) Result: FAIL Failed 1/3 test programs. 0/0 subtests failed. Investigation needed.