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

Perl 5.12.0-RC1: SpamAssassin is very noisy

Thread Previous | Thread Next
From:
Andrew Dougherty
Date:
March 30, 2010 06:22
Subject:
Perl 5.12.0-RC1: SpamAssassin is very noisy
Message ID:
alpine.DEB.2.00.1003300904160.3905@fractal.phys.lafayette.edu
> 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.

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


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