develooper Front page | perl.perl5.porters | Postings from March 2010

Re: Perl 5.12.0-RC1: SpamAssassin is very noisy

Thread Previous
From:
Todd Rinaldo
Date:
March 30, 2010 07:39
Subject:
Re: Perl 5.12.0-RC1: SpamAssassin is very noisy
Message ID:
137DACFE-B8CD-4C5B-BD8C-A171DC7A7C78@cpanel.net

On Mar 30, 2010, at 8:20 AM, Andrew Dougherty wrote:

>> It is imperative that you test this release candidate with any software
>> written in Perl which you use or maintain. If no "showstopper" class
>> bugs are found in the next 7 days, we will release a virtually identical
>> tarball as Perl 5.12.0.
>> 
>> You can find a list of errata - known bugs or modules known to be
>> incompatible with 5.12.0 - at http://dev.perl.org/perl5/errata.html
> 
> SpamAssassin-3.3.1 is very noisy under 5.12.0-RC1 (and even fails one test due 
> to that noise).  Specifically it throws up this warning:
> 
> defined(%hash) is deprecated at /home/doughera/my/perl/lib/site_perl/5.12.0/Mail/SpamAssassin/Dns.pm line 757.
> 	(Maybe you should just omit the defined()?)
> 
> and also 36 copies of this warning:
> warn: Use of "goto" to jump into a construct is deprecated at /home/doughera/my/perl/lib/site_perl/5.12.0/Mail/SpamAssassin/Plugin/Check.pm line 409.
> 
> (I also get 887 "Use of uninitialized value in lc" warnings from various
> spots in various support modules, and am still tracking them down.
> I suspect these are not 5.12.0-specific.)
> 
> This has already been reported by Slaven to the SA bug queue:
>    https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6392
> 
> For 5.12.0, it's obviously too late to address the question of whether
> 36 identical copies of the 'goto' warning should be printed, or whether
> one would have been sufficient, but I might have a look at implementing
> something like that for 5.13.x.
> 
> However, I think this is worth adding to that errata page.

FYI, I've been working on getting modules I work with perl 5.12 warn free. Spam Assassin is one of them. It should be cleaned up later this week.


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About