Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909086 - mail-filter/spamassassin broken by Perl Net::DNS 1.38 deprecation
Summary: mail-filter/spamassassin broken by Perl Net::DNS 1.38 deprecation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philippe Chaintreuil
URL: https://bz.apache.org/SpamAssassin/sh...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2023-06-24 16:55 UTC by Hans de Graaff
Modified: 2023-06-25 19:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2023-06-24 16:55:56 UTC
spamassasin 4.0.0 outputs this warning:

> deprecated method; size() is an alias of "UDPsize()" at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line 600.

Perl Net::DNS 1.38 deprecated this method:

> Deprecate packet->edns->size() method.

This broke spamassassing for me when running it from procmail with postfix, segfaulting perl with SIGXFS2, File size limit exceeded.

After applying the upstream patch spamassassing works as expected again.
Comment 1 Larry the Git Cow gentoo-dev 2023-06-25 01:51:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=027efce6c1c2bef176302c1ecd873079175dbbd8

commit 027efce6c1c2bef176302c1ecd873079175dbbd8
Author:     Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>
AuthorDate: 2023-06-25 00:28:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-25 01:51:27 +0000

    mail-filter/spamassassin: Fix issues with Perl Net::DNS 1.38
    
    Closes: https://bugs.gentoo.org/909086
    Closes: https://github.com/gentoo/gentoo/pull/31599
    Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/4.0.0-DnsResolver-udpsize.patch          |  16 +
 .../spamassassin/spamassassin-4.0.0-r3.ebuild      | 339 +++++++++++++++++++++
 2 files changed, 355 insertions(+)