Skip Menu |

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

Report information
The Basics
Id: 44173
Status: resolved
Priority: 0/
Queue: Module-Util

People
Owner: matt.lawrence [...] virgin.net
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.05
Fixed in: 1.06



Subject: Doesn't seem to work with 5.6.2
While watching cpan testers results I came across this matrix: http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Module-Util-1.05 Seems like nobody If you cannot support (or are not interested in supporting), you can get rid of the FAIL reports by declaring the perl dependency with a "use 5.008" or aome other method as described here: http://wiki.cpantesters.org/wiki/CPANAuthorNotes Thanks,
This looks like an incompatibility in the test, rather than the module. 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. Matt On Sun Mar 15 17:29:13 2009, ANDK wrote: Show quoted text
> While watching cpan testers results I came across this matrix: > >
http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Module-Util-1.05 Show quoted text
> > Seems like nobody > If you cannot support (or are not interested in supporting), you can get > rid of the FAIL reports by declaring the perl dependency with a "use > 5.008" or aome other method as described here: > > http://wiki.cpantesters.org/wiki/CPANAuthorNotes > > Thanks,
Download Module-Util-1.06.tar.gz
application/gzip 11k

Message body not shown because it is not plain text.

CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #44173] Doesn't seem to work with 5.6.2
Date: Mon, 16 Mar 2009 22:13:44 +0100
To: bug-Module-Util [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
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
Subject: Re: [rt.cpan.org #44173] Doesn't seem to work with 5.6.2
Date: Tue, 17 Mar 2009 10:21:02 +0000
To: bug-Module-Util [...] rt.cpan.org
From: Matt Lawrence <matt.lawrence [...] virgin.net>
Thanks for you quick response. (Andreas J. Koenig) via RT wrote: Show quoted text
> Queue: Module-Util > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=44173 > >
> > 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.
> > > > Yes, 'use warnings' did exist for 5.6.2, but the category File::Find > apparently not. > >
Ah yes, there's an older version of File::Find there that doesn't have warnings support. I suppose I could require a newer version of File::Find, but I don't know how easy that is to install on an old perl, given that it's a core module. I've made a change to check the perl version before trying to suppress warnings. Seems to work on 5.8. I'm not sure whether the test that checks for warnings will now fail on 5.6, though. If so I'll just skip it on that platform. Matt
Download Module-Util-1.06.tar.gz
application/x-gzip 9.2k

Message body not shown because it is not plain text.

CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #44173] Doesn't seem to work with 5.6.2
Date: Tue, 17 Mar 2009 21:46:42 +0100
To: bug-Module-Util [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 17 Mar 2009 06:18:04 -0400, "Matthew Lawrence via RT" <bug-Module-Util@rt.cpan.org> said:
Show quoted text
> I've made a change to check the perl version before trying to suppress > warnings. Seems to work on 5.8. I'm not sure whether the test that > checks for warnings will now fail on 5.6, though. If so I'll just skip > it on that platform.
I admire your willingness to support 5.6.2. Here is the output of Build test: % LANG=C ./Build test t/01..module....1/43 # Failed test 'no warnings generated when searching in missing path' # at t/01..module.t line 87. # Can't stat /home/sand/tmp/Module-Util-1.06/fake/path: No such file or directory # Looks like you failed 1 test of 43. t/01..module.... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/43 subtests t/99..pod.......ok Test Summary Report ------------------- t/01..module (Wstat: 256 Tests: 43 Failed: 1) Failed test: 43 Non-zero exit status: 1 Files=2, Tests=46, 0 wallclock secs ( 0.07 usr 0.01 sys + 0.24 cusr 0.04 csys = 0.36 CPU) Result: FAIL HTH, -- andreas
Subject: Re: [rt.cpan.org #44173] Doesn't seem to work with 5.6.2
Date: Tue, 17 Mar 2009 23:10:39 +0000
To: bug-Module-Util [...] rt.cpan.org
From: Matt Lawrence <matt.lawrence [...] virgin.net>
(Andreas J. Koenig) via RT wrote: Show quoted text
> Queue: Module-Util > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=44173 > > > I admire your willingness to support 5.6.2. Here is the output of Build test: >
I suppose it's quite a minority now, but there's now reason why it shouldn't be supported. I worked out that 5.5.3 was the minimum requirement some time ago by some long-forgotten method, so I'm quite keen to stick to that as long as it's possible. Show quoted text
> HTH, >
Yup, I do need to skip that test. This one should succeed now. Thanks for your help with this :-) Matt
Download Module-Util-1.06.tar.gz
application/gzip 11.2k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #44173] Doesn't seem to work with 5.6.2
Date: Wed, 18 Mar 2009 05:16:21 +0100
To: bug-Module-Util [...] rt.cpan.org
From: andreas.koenig.7os6VVqR [...] franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 17 Mar 2009 19:10:59 -0400, "Matthew Lawrence via RT" <bug-Module-Util@rt.cpan.org> said:
Show quoted text
> Yup, I do need to skip that test. This one should succeed now.
Yes, it does. Show quoted text
> Thanks for your help with this :-)
You're welcome:) Thanks for the nice diversion:) -- andreas