You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@issues.apache.org on 2010/07/17 08:21:41 UTC

[Bug 6463] New: Warnings with Perl 5.12.1 and deprecated constructs.

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6463

           Summary: Warnings with Perl 5.12.1 and deprecated constructs.
           Product: Spamassassin
           Version: 3.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: software+spamassassin@kd6lvw.ampr.org


Use of "goto" to jump into a construct is deprecated at
/usr/local/lib/perl5/site_perl/5.12.1/Mail/SpamAssassin/Plugin/Check.pm line
409.

defined(%hash) is deprecated at
/usr/local/lib/perl5/site_perl/5.12.1/Mail/SpamAssassin/Dns.pm line 757.
    (Maybe you should just omit the defined()?)


Everything works, but each time the perl interpreter hits one of the deprecated
constructs, I get a syslog entry, and there's alot of them.  The DNS one seems
to generate one log entry for every DNS query encountered, and between SPF,
DomainKeys, and DNSBLs, there are alot of queries per message.

No such messages appeared with Perl 5.12.0 or earlier.  Perl has changed, but
SA hasn't kept up.  If this isn't fixed soon, SA could break as Perl is
enhanced.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6463] Warnings with Perl 5.12.1 and deprecated constructs.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6463

--- Comment #3 from Mark Martinec <Ma...@ijs.si> 2010-07-18 07:18:00 EDT ---
> Could we push version 3.3.2 out before the end of the month?  Thanks.

I doubt it would be possible in July, people are on vacation right now
or in the near future, and there wasn't much activity even in June.
Perhaps more likely in August, depending on how we regain momentum.

Just use the SVN version if you need any new fixes (3.3),
or the 3.4 (trunk) if you need fixes AND new features.
Both should be pretty stable and working well in production
at some sites.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6463] Warnings with Perl 5.12.1 and deprecated constructs.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6463

software+spamassassin@kd6lvw.ampr.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |software+spamassassin@kd6lv
                   |                            |w.ampr.org

--- Comment #2 from software+spamassassin@kd6lvw.ampr.org 2010-07-17 18:04:36 EDT ---
OK.  Sorry.  I didn't find that bug when I searched for the problem before
reporting it because it didn't reference the version of Perl that it first
appeared with (which was 5.12.1, not 5.12.0 nor "5.12") on my system.

Could we push version 3.3.2 out before the end of the month?  Thanks.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 6463] Warnings with Perl 5.12.1 and deprecated constructs.

Posted by bu...@issues.apache.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6463

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Mark Martinec <Ma...@ijs.si> 2010-07-17 05:51:59 EDT ---
Already fixed in 3.3(.2) SVN and in 3.4 (trunk). Duplicate of bug 6392.

*** This bug has been marked as a duplicate of bug 6392 ***

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.