Skip Menu |

This queue is for tickets about the CPAN-Mini-ProjectDocs CPAN distribution.

Report information
The Basics
Id: 127381
Status: open
Priority: 0/
Queue: CPAN-Mini-ProjectDocs

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

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



CC: bdfoy [...] cpan.org
Subject: Tests fail (with newest CPAN::PackageDetails?)
The test suite started to fail: ... # Failed test 'no warnings' # at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/Builder.pm line 158. # There were 1 warning(s) # Previous test 0 '' # Use of uninitialized value $CPAN::PackageDetails::VERSION in concatenation (.) or string at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 237. # at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 237. # CPAN::PackageDetails::BEGIN() called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # eval {...} called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # require CPAN/PackageDetails.pm called at /home/cpansand/.cpan/build/2018101622/CPAN-Mini-ProjectDocs-0.03.9-0/blib/lib/CPAN/Mini/ProjectDocs.pm line 30 # CPAN::Mini::ProjectDocs::BEGIN() called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # eval {...} called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # require CPAN/Mini/ProjectDocs.pm called at t/001_load.t line 11 # main::BEGIN() called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # eval {...} called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # eval 'package main; # BEGIN { ${^WARNING_BITS} = $args[-1] if defined $args[-1] } # #line 11 t/001_load.t # use CPAN::Mini::ProjectDocs @{$args[0]}; # 1; # ' called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/More.pm line 1031 # Test::More::_eval("package main;\x{a}BEGIN { \${^WARNING_BITS} = \$args[-1] if defined"..., ARRAY(0x42f5dd08), "UUUUUUUUUUUUUUUUU\x{15}") called at /usr/perl5.26.1p/lib/site_perl/5.26.1/Test/More.pm line 1007 # Test::More::use_ok("CPAN::Mini::ProjectDocs") called at t/001_load.t line 11 # main::BEGIN() called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # eval {...} called at /home/cpansand/.cpan/build/2018101622/CPAN-PackageDetails-0.261-0/blib/lib/CPAN/PackageDetails.pm line 297 # # Looks like you failed 1 test of 2. t/001_load.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... This seems to happen if the newest CPAN::PackageDetails (0.261) is installed --- before the test failure did not happen.
I think most of that is my change to $VERSION handling where it does not get initialized soon enough. That should be fixed in 0.262 which I just uploaded. Beyond that, if there's another way to accomplish this without CPAN::PackageDetails, that would probably be a good thing. The module never quite turned out to be what I wanted and not even I want to go back to work on that code. I'd probably start over if I had to use the module for something interesting.