Show quoted text>>>>> On Mon, 16 Mar 2009 16:24:49 -0400, "Matthew Lawrence via RT" <bug-Module-Util@rt.cpan.org> said:
Show quoted text > Could you test the next version (attached) against 5.6.2 for me? I may
> get some time to download it and test it myself in the next week or so,
> but I suspect you'll find it closer to hand.
~/tmp/Module-Util-1.06% /usr/local/perl-5.6.2/bin/perl Makefile.PL
# running Build.PL
/usr/local/perl-5.6.2/bin/perl Build.PL
Deleting _build
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Deleting Build
Removed previous script 'Build'
Creating new 'Build' script for 'Module-Util' version '1.06'
Can't locate MyModuleBuilder.pm in @INC (@INC contains: _build\lib /usr/local/perl-5.6.2/lib/5.6.2/i686-linux-64int /usr/local/perl-5.6.2/lib/5.6.2 /usr/local/perl-5.6.2/lib/site_perl/5.6.2/i686-linux-64int /usr/local/perl-5.6.2/lib/site_perl/5.6.2 /usr/local/perl-5.6.2/lib/site_perl .) at Makefile.PL line 31.
zsh: exit 2 /usr/local/perl-5.6.2/bin/perl Makefile.PL
So, let me try the Build.PL. The Build.PL and the ./Build succeed but
then:
~/tmp/Module-Util-1.06% ./Build test
t/01..module....1/43
# Failed test 'use Module::Util;'
# at t/01..module.t line 10.
# Tried to use 'Module::Util'.
# Error: unknown warnings category 'File::Find' at /home/sand/tmp/Module-Util-1.06/blib/lib/Module/Util.pm line 211
# BEGIN failed--compilation aborted at /home/sand/tmp/Module-Util-1.06/blib/lib/Module/Util.pm line 211.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
Undefined subroutine &main::is_valid_module_name called at t/01..module.t line 13.
# Looks like you planned 43 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/01..module.... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 43/43 subtests
t/99..pod.......1/3
# Failed test 'use Module::Util;'
# at t/99..pod.t line 8.
# Tried to use 'Module::Util'.
# Error: unknown warnings category 'File::Find' at /home/sand/tmp/Module-Util-1.06/blib/lib/Module/Util.pm line 211
# BEGIN failed--compilation aborted at /home/sand/tmp/Module-Util-1.06/blib/lib/Module/Util.pm line 211.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
# Looks like you failed 1 test of 3.
t/99..pod....... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
(less 2 skipped subtests: 0 okay)
Test Summary Report
-------------------
t/01..module (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 43 tests but ran 1.
t/99..pod (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=2, Tests=4, 0 wallclock secs ( 0.08 usr 0.02 sys + 0.21 cusr 0.04 csys = 0.35 CPU)
Result: FAIL
Failed 2/2 test programs. 2/4 subtests failed.
Yes, 'use warnings' did exist for 5.6.2, but the category File::Find
apparently not.
--
andreas