Skip Menu |
 

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 87561
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

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

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

Attachments


Subject: t/11_hash_random.t fails due to undeclared test dependency
Download (untitled) / with headers
text/plain 2.8k
When running t/11_hash_random.t for Module-CPANTS-Analyse under Perl 5.18.0, it fails with the following error: t/11_hash_random.t .......... Can't locate Data/Dump.pm in @INC (you may need to install the Data::Dump module) (@INC contains: /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/arch /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0 /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0 . /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/arch /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0 /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0 .) at t/11_hash_random.pl line 3. BEGIN failed--compilation aborted at t/11_hash_random.pl line 3. t/11_hash_random.t .......... 1/? # Failed test 'Slave forked script passed 3/3 checks with seed 0xd8792d91' # at t/11_hash_random.t line 13. # got: '' # expected: '4,0 # ' Can't locate Data/Dump.pm in @INC (you may need to install the Data::Dump module) (@INC contains: /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/arch /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0 /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0 . /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/arch /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/site_perl/5.18.0 /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level /trw/local/perl/5.18.0/lib/5.18.0 .) at t/11_hash_random.pl line 3. BEGIN failed--compilation aborted at t/11_hash_random.pl line 3. # Failed test 'Slave forked script passed 3/3 checks with seed 0x5be01872' # at t/11_hash_random.t line 13. # got: '' # expected: '4,0 # ' # Looks like you failed 2 tests of 2. t/11_hash_random.t .......... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests This appears to be due to the fact that the test makes use of non-core module Data::Dump, but this module is not declared among the dependencies. The attached patch to Build.PL fixes the problem. Users of Makefile.PL will need to regenerate that file. I have called it unimportant because though the install fails there is nothing actually wrong with the module itself.
Subject: Module-CPANTS-Analyse-Build.patch
--- Build.old 2013-08-01 12:24:16.000000000 -0400 +++ Build.PL 2013-08-02 20:24:46.000000000 -0400 @@ -33,6 +33,7 @@ 'Module::Signature' => 0, }, build_requires => { + 'Data::Dump' => 0, 'Test::More' => '0', 'Test::Deep' => '0', 'Test::Warn' => '0.11', #less problems with new Sub::Uplevel
Download (untitled) / with headers
text/plain 3.1k
Thanks. This dependency is wrong (I forgot to remove it after debugging), and removed in https://github.com/cpants/Module-CPANTS-Analyse/commit/c1ea62c2bbdacd2fbc652cbd79aad0708e23bca2 Closed as 0.9002 with this fix is out. On Sat Aug 03 09:39:21 2013, WYANT wrote: Show quoted text
> When running t/11_hash_random.t for Module-CPANTS-Analyse under Perl > 5.18.0, it fails with the following error: > > t/11_hash_random.t .......... Can't locate Data/Dump.pm in @INC (you > may need to install the Data::Dump module) (@INC contains: > /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/lib > /Users/tom/.cpan/build/Module-CPANTS-Analyse-0.89-4Ij5wn/blib/arch > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0 > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0 . /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/arch > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0 > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0 .) at t/11_hash_random.pl line 3. > BEGIN failed--compilation aborted at t/11_hash_random.pl line 3. > t/11_hash_random.t .......... 1/? > # Failed test 'Slave forked script passed 3/3 checks with seed > 0xd8792d91' > # at t/11_hash_random.t line 13. > # got: '' > # expected: '4,0 > # ' > Can't locate Data/Dump.pm in @INC (you may need to install the > Data::Dump module) (@INC contains: /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/arch > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0 > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0 . /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/lib /Users/tom/.cpan/build/Module- > CPANTS-Analyse-0.89-4Ij5wn/blib/arch > /trw/local/perl/5.18.0/lib/site_perl/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/site_perl/5.18.0 > /trw/local/perl/5.18.0/lib/5.18.0/darwin-2level > /trw/local/perl/5.18.0/lib/5.18.0 .) at t/11_hash_random.pl line 3. > BEGIN failed--compilation aborted at t/11_hash_random.pl line 3. > > # Failed test 'Slave forked script passed 3/3 checks with seed > 0x5be01872' > # at t/11_hash_random.t line 13. > # got: '' > # expected: '4,0 > # ' > # Looks like you failed 2 tests of 2. > t/11_hash_random.t .......... Dubious, test returned 2 (wstat 512, > 0x200) > Failed 2/2 subtests > > This appears to be due to the fact that the test makes use of non-core > module Data::Dump, but this module is not declared among the > dependencies. The attached patch to Build.PL fixes the problem. Users > of Makefile.PL will need to regenerate that file. > > I have called it unimportant because though the install fails there is > nothing actually wrong with the module itself.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.