Skip Menu |

This queue is for tickets about the Test-Output CPAN distribution.

Report information
The Basics
Id: 120783
Status: resolved
Priority: 0/
Queue: Test-Output

People
Owner: Nobody in particular
Requestors: ian [...] flash.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unstated dependency on Params::Util
Date: Wed, 29 Mar 2017 06:20:02 +0100
To: bug-Test-Output [...] rt.cpan.org
From: Ian Gibbs <ian [...] flash.org.uk>
When cpanm tries to build Test::Output for me, I get the below. I presume this needs to be stated as a dependency somewhere for cpanm to pull it in first. Building and testing Test-Output-1.03 cp lib/Test/Output.pm blib/lib/Test/Output.pm Manifying 1 pod document PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Test::Output;' # at t/00.load.t line 4. # Tried to use 'Test::Output'. # Error: Can't locate Params/Util.pm in @INC (you may need to install the Params::Util module) (@INC contains: /home/igibbs/.cpanm/work/1490764331.8451/Test-Output-1.0 3/blib/lib /home/igibbs/.cpanm/work/1490764331.8451/Test-Output-1.03/blib/arch /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/p erl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.18.2/Data/OptList.pm line 7. # BEGIN failed--compilation aborted at /usr/local/share/perl/5.18.2/Data/OptList.pm line 7. # Compilation failed in require at /usr/local/share/perl/5.18.2/Sub/Exporter.pm line 11. # BEGIN failed--compilation aborted at /usr/local/share/perl/5.18.2/Sub/Exporter.pm line 11. # Compilation failed in require at /home/igibbs/.cpanm/work/1490764331.8451/Test-Output-1.03/blib/lib/Test/Output.pm line 54. # BEGIN failed--compilation aborted at /home/igibbs/.cpanm/work/1490764331.8451/Test-Output-1.03/blib/lib/Test/Output.pm line 54. # Compilation failed in require at t/00.load.t line 4. # BEGIN failed--compilation aborted at t/00.load.t line 4. # Testing Test::Output # Looks like you failed 1 test of 1. t/00.load.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests -- Regards, -- Ian Gibbs E: ian@flash.org.uk M: 07815 142001
It's Sub::Exporter that has that dependency. I don't know what's going on there though. But, Test::Output doesn't need Sub::Exporter. It's not using any of the advanced features, and I looked through CPAN Grep to see what the reverse dependencies are doing. They aren't using the advanced features either. I've removed Sub::Exporter from 1.031.