Skip Menu |

This queue is for tickets about the Module-CGI-Install CPAN distribution.

Report information
The Basics
Id: 127460
Status: new
Priority: 0/
Queue: Module-CGI-Install

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: packlist finding code fails in test-only setups
On some of my smokers I see the following failure: ... # Failed test 'use Module::CGI::Install;' # at t/01_compile.t line 16. # Tried to use 'Module::CGI::Install'. # Error: Failed to locate .packfile for CGI::Capture at /home/cpansand/.cpan/build/2018102618/Module-CGI-Install-0.07-JXQYlt/blib/lib/Module/CGI/Install.pm line 533. # Compilation failed in require at t/01_compile.t line 16. # BEGIN failed--compilation aborted at t/01_compile.t line 16. # Looks like you failed 1 test of 3. t/01_compile.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests ... I guess this happens if Module::CGI::Install is just tested, but not installed. In this situation dependencies are also not installed but only made available through PERL5LIB, and there is no .packlist available for these dependencies. There's even a legitimate use case for non-smoking systems which may fail: test all and then install all. This can be done in the CPAN shell using "test Module::CGI::Install" followed by "install_tested".