Skip Menu |

This queue is for tickets about the CPANPLUS-Shell-Default-Plugins-Prereqs CPAN distribution.

Report information
The Basics
Id: 131912
Status: resolved
Priority: 0/
Queue: CPANPLUS-Shell-Default-Plugins-Prereqs

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

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



Subject: t/01-core.t fails (random sort order)
The test suite usually fails on newer perl installations (5.18 and up): ... not ok 4 - Makefile.PL - show # Failed test 'Makefile.PL - show' # at t/01-core.t line 32. # Got stdout: # Running [/usr/perl5.31.8p/bin/perl5.31.8 -MCPANPLUS::Internals::Utils::Autoflush /usr/home/cpansand/.cpan/build/2020022107/CPANPLUS-Shell-Default-Plugins-Prereqs-0.10-0/t/mm1/Makefile.PL]... # Generating a Unix-style Makefile # Writing Makefile for CPANPLUS::Shell::Default::Plugins::Prereqs # Writing MYMETA.yml and MYMETA.json # # Module Req Ver Installed CPAN Satisfied # Hash::Util 0 0.23 0.22 Yes # Prerequisite 'stuff' was not found on CPAN # ExtUtils::MakeMaker 0 7.44 7.44 Yes # Test::More 0 1.302171 1.302171 Yes # File::Spec 0 3.78 3.75 Yes # # Got stderr: # Warning: prerequisite stuff 0 not found. # # Expected stdout: (?^s:'stuff' was not found.*Hash::Util) # Expected stderr: (?^:.*) ... It seems that the sort order of reported prereqs is not as expected --- usually "Hash::Util" is listed before "stuff", causing the test to fail. The breaking point (5.18) suggests that it might be related to the then introduced hash randomization feature, however I could not find a suitable PERL_HASH_SEED value to make the test suite pass. Overview of test reports: http://matrix.cpantesters.org/?dist=CPANPLUS-Shell-Default-Plugins-Prereqs+0.10
I don't believe the error is related to hashing. It seems the ordering of the output from CPANPLUS, Module::Build or Module::Install has changed. I spent a few minutes making the tests less dependent on ordering, but now I am getting an intermittent error fetching from cpan. I don't use CPANPLUS or this plugin anymore. I think the use of CPANPLUS is pretty minimal at this point, and I'm not really able to continue to maintain this module. If you are interested, I'd be happy to turn it over to you. I'm going to release v0.12 but if there are lot of errors I'll be abanding it. On Fri Feb 21 02:27:25 2020, SREZIC wrote: Show quoted text
> The test suite usually fails on newer perl installations (5.18 and > up): > > ... > not ok 4 - Makefile.PL - show > # Failed test 'Makefile.PL - show' > # at t/01-core.t line 32. > # Got stdout: > # Running [/usr/perl5.31.8p/bin/perl5.31.8 > -MCPANPLUS::Internals::Utils::Autoflush > /usr/home/cpansand/.cpan/build/2020022107/CPANPLUS-Shell-Default- > Plugins-Prereqs-0.10-0/t/mm1/Makefile.PL]... > # Generating a Unix-style Makefile > # Writing Makefile for CPANPLUS::Shell::Default::Plugins::Prereqs > # Writing MYMETA.yml and MYMETA.json > # > # Module Req Ver Installed CPAN > Satisfied > # Hash::Util 0 0.23 0.22 > Yes > # Prerequisite 'stuff' was not found on CPAN > # ExtUtils::MakeMaker 0 7.44 7.44 > Yes > # Test::More 0 1.302171 1.302171 > Yes > # File::Spec 0 3.78 3.75 > Yes > # > # Got stderr: > # Warning: prerequisite stuff 0 not found. > # > # Expected stdout: (?^s:'stuff' was not found.*Hash::Util) > # Expected stderr: (?^:.*) > ... > > It seems that the sort order of reported prereqs is not as expected > --- usually "Hash::Util" is listed before "stuff", causing the test to > fail. > > The breaking point (5.18) suggests that it might be related to the > then introduced hash randomization feature, however I could not find a > suitable PERL_HASH_SEED value to make the test suite pass. > > Overview of test reports: > http://matrix.cpantesters.org/?dist=CPANPLUS-Shell-Default-Plugins- > Prereqs+0.10
v0.12 released
On 2020-03-04 09:40:25, MGRIMES wrote: Show quoted text
> I don't believe the error is related to hashing. It seems the ordering > of the output from CPANPLUS, Module::Build or Module::Install has > changed. I spent a few minutes making the tests less dependent on > ordering, but now I am getting an intermittent error fetching from > cpan. > > I don't use CPANPLUS or this plugin anymore. I think the use of > CPANPLUS is pretty minimal at this point, and I'm not really able to > continue to maintain this module. If you are interested, I'd be happy > to turn it over to you. > > I'm going to release v0.12 but if there are lot of errors I'll be > abanding it.
Actually it does not look good: http://matrix.cpantesters.org/?dist=CPANPLUS-Shell-Default-Plugins-Prereqs%200.12