Skip Menu |

This queue is for tickets about the App-RetroPAN CPAN distribution.

Report information
The Basics
Id: 131200
Status: resolved
Priority: 0/
Queue: App-RetroPAN

People
Owner: DLAMBLEY [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: 0.01_03



Subject: "uniq" is not exported by the List::Util module
The test suite fails on some systems, probably if List::Util is too old (i.e. lacking the uniq() function): ... PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl5.20.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t "uniq" is not exported by the List::Util module Can't continue after import errors at /home/cpansand/.cpan/build/2019121908/App-RetroPAN-0.02-hbqucx/blib/lib/App/RetroPAN.pm line 51. BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2019121908/App-RetroPAN-0.02-hbqucx/blib/lib/App/RetroPAN.pm line 51. Compilation failed in require at t/retropan.t line 8. BEGIN failed--compilation aborted at t/retropan.t line 8. t/retropan.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run ...
On Thu Dec 19 17:09:14 2019, SREZIC wrote: Show quoted text
> The test suite fails on some systems, probably if List::Util is too > old (i.e. lacking the uniq() function): > > ... > PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl5.20.1" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > "uniq" is not exported by the List::Util module > Can't continue after import errors at > /home/cpansand/.cpan/build/2019121908/App-RetroPAN-0.02- > hbqucx/blib/lib/App/RetroPAN.pm line 51. > BEGIN failed--compilation aborted at > /home/cpansand/.cpan/build/2019121908/App-RetroPAN-0.02- > hbqucx/blib/lib/App/RetroPAN.pm line 51. > Compilation failed in require at t/retropan.t line 8. > BEGIN failed--compilation aborted at t/retropan.t line 8. > t/retropan.t .. > Dubious, test returned 2 (wstat 512, 0x200) > No subtests run > ...
I have switched it to use List::MoreUtils. https://repo.or.cz/perl-App-RetroPAN.git/commitdiff/e834170dadaed4d9728aa195eb52217eb48d8a78 The test may also fail due to network timeouts. Dave