Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909158 - mail-filter/spamassassin-4.0.0 sa-update triggers deprecation warning with Net::DNS 1.38
Summary: mail-filter/spamassassin-4.0.0 sa-update triggers deprecation warning with Ne...
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: PullRequest
: 909156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-25 19:02 UTC by Philippe Chaintreuil
Modified: 2023-07-21 23:39 UTC (History)
3 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 Philippe Chaintreuil 2023-06-25 19:02:46 UTC
I noticed sa-update started outputting a warning when it's run recently.  Gentoo bug #909086 made me realize it's also because of the Net::DNS 1.38 upgrade that's rolling out.

> deprecated method; prefer $rr->rdstring() at /usr/bin/sa-update line 1460.

It doesn't seem to trigger any operational issues.

Reported upstream: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8140

They issued a fix quickly.

Wranglers, I'm proxy-maint for SpamAssassin, so please assign this to me.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-06-25 19:22:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4710ac53447ef3f753f9948849d0848bab51f7e2

commit 4710ac53447ef3f753f9948849d0848bab51f7e2
Author:     Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>
AuthorDate: 2023-06-25 19:11:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-25 19:21:51 +0000

    mail-filter/spamassassin: Fix sa-update rdatastr deprecation warning
    
    Closes: https://bugs.gentoo.org/909158
    Closes: https://github.com/gentoo/gentoo/pull/31606
    Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/4.0.0-sa-update-rdatastr.patch           |  12 +
 .../spamassassin/spamassassin-4.0.0-r4.ebuild      | 340 +++++++++++++++++++++
 2 files changed, 352 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-25 19:22:15 UTC
*** Bug 909156 has been marked as a duplicate of this bug. ***
Comment 3 Tomáš Mózes 2023-07-21 06:14:02 UTC
Can we please stabilize this version?
Comment 4 Philippe Chaintreuil 2023-07-21 09:51:48 UTC
https://wiki.gentoo.org/wiki/Stable_request#Checklist_for_a_stabilization_request

> The requirements for stabilization [...]:
>    ...
> - Is the ebuild older than 30 days (sooner for security issues or serious regressions)?

I'm just waiting for the 30 day mark (Tuesday).
Comment 5 Tomáš Mózes 2023-07-21 11:48:03 UTC
Since we only added a single upstream patch I thought it could come earlier. It's just a small annoyance, but it keeps sending an email every day :)

Ok, I'll add 4.0.0-r4 to accept_keywords locally.

Thanks for taking care of spamassassin!
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-21 18:58:41 UTC
Yes, discretion is possible and encouraged, especially given this causes pain for stable uses right now.
Comment 7 Philippe Chaintreuil 2023-07-21 23:39:34 UTC
Well, added stabilization bug #910658 then!