Skip Menu |

This queue is for tickets about the File-Locate-Iterator CPAN distribution.

Report information
The Basics
Id: 60291
Status: resolved
Priority: 0/
Queue: File-Locate-Iterator

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

Bug Information
Severity: Normal
Broken in: 11
Fixed in: (no value)



Subject: Undeclared dependency on File::Map 0.24
As per subject. You have currently 3 FAIL reports from cpan testers (all three from my smokres) and all three contain this diagnostic message (more or less): # Test samp_zeros=/home/sand/.cpan/build/File-Locate-Iterator-11-epw_7r/t/samp.zeros, samp_locatedb=/home/sand/.cpan/build/File-Locate-Iterator-11-epw_7r/t/samp.locatedb # database_file, use_mmap=0 # database_fh ref, use_mmap=0 # database_fh :raw, use_mmap=0 # database_fh string, use_mmap=0 # database_file, use_mmap=if_possible # database_fh ref, use_mmap=if_possible # database_fh :raw, use_mmap=if_possible # database_fh string, use_mmap=if_possible t/File-Locate-Iterator.t .. ok # File::Map version 0.21 # FindBin /home/sand/.cpan/build/File-Locate-Iterator-11-epw_7r/t # not-mmap layers: unix # mmap layers: unix perlio mmap # _PAGESIZE is 4096 File::Map version 0.24 required--this is only version 0.21 at /home/sand/.cpan/build/File-Locate-Iterator-11-epw_7r/blib/lib/File/Locate/Iterator/FileMap.pm line 50. # Looks like you planned 14 tests but ran 12. # Looks like your test exited with 25 just after 12. Hope this helps, let me know if you need more info.
Thanks, the code was ok but the tests didn't look at the File::Map version number. New version 12 should be better. I had 0.24 in the "recommends", and now in a "maximum_tests", if the smoking looks at that. Good though if it doesn't, or only sometimes does, so as to pick up things like this :-)