# spamassassin -r 94023.
Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed: Net::DNS required
Aug 9 17:37:14.098 [34869] warn: plugin: eval failed: Can't locate object method "new" via package "Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm line 62.
Am 09.08.2026 um 17:44 schrieb Andrea Venturoli <ml@netfence.it>:
I've been using spamassassing for several years.
After I upgraded to 2026Q3, I see the following message.
# spamassassin -r 94023. Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed: Net::DNS required
Aug 9 17:37:14.098 [34869] warn: plugin: eval failed: Can't locate object method "new" via package "Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm line 62.
My lack of Perl knowledge doesn't allow me to understand what to do.
Hi!Sorry, I should have probably mentioned this...
Am 09.08.2026 um 17:44 schrieb Andrea Venturoli <ml@netfence.it>:
I've been using spamassassing for several years.
After I upgraded to 2026Q3, I see the following message.
# spamassassin -r 94023. Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed: Net::DNS required
Aug 9 17:37:14.098 [34869] warn: plugin: eval failed: Can't locate object method "new" via package "Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm line 62.
My lack of Perl knowledge doesn't allow me to understand what to do.
Probably a missing dependency in the port/package.
I'd try:
pkg install p5-Net-DNS
# pkg info|grep Net-DNS
p5-Net-DNS-1.55,1 Perl5 interface to the DNS resolver, and dynamic updates
On 8/9/26 18:07, Patrick M. Hausen wrote:
Hi!
Am 09.08.2026 um 17:44 schrieb Andrea Venturoli <ml@netfence.it>:
I've been using spamassassing for several years.
After I upgraded to 2026Q3, I see the following message.
# spamassassin -r 94023. Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed: Net::DNS required
Aug 9 17:37:14.098 [34869] warn: plugin: eval failed: Can't locate object method "new" via package "Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm line 62.
My lack of Perl knowledge doesn't allow me to understand what to do.
Probably a missing dependency in the port/package.
I'd try:
pkg install p5-Net-DNSSorry, I should have probably mentioned this...
It was the first thing I though of, but, alas, I have that package installed.
# pkg info|grep Net-DNS
p5-Net-DNS-1.55,1 Perl5 interface to the DNS resolver, and dynamic updates
bye & ThanksPerl was upgraded recently, you may have a partial or incomplete upgrade.
av.
On August 9, 2026 7:10:25 PM GMT+02:00, Andrea Venturoli<ml@netfence.it> wrote:
On 8/9/26 18:07, Patrick M. Hausen wrote:Perl was upgraded recently, you may have a partial or incomplete upgrade.
Hi!Sorry, I should have probably mentioned this...
Am 09.08.2026 um 17:44 schrieb Andrea Venturoli<ml@netfence.it>:Probably a missing dependency in the port/package.
I've been using spamassassing for several years.
After I upgraded to 2026Q3, I see the following message.
# spamassassin -r 94023. Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed: Net::DNS requiredMy lack of Perl knowledge doesn't allow me to understand what to do.
Aug 9 17:37:14.098 [34869] warn: plugin: eval failed: Can't locate object method "new" via package "Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm line 62.
I'd try:
pkg install p5-Net-DNS
It was the first thing I though of, but, alas, I have that package installed.
# pkg info|grep Net-DNSbye & Thanks
p5-Net-DNS-1.55,1 Perl5 interface to the DNS resolver, and dynamic updates
av.
Run `pkg upgrade -f -y` before troubleshooting further.
Perl was upgraded recently, you may have a partial or incomplete upgrade.Did this (though I think I had done it recently), but it didn't help.
Run `pkg upgrade -f -y` before troubleshooting further.
At this moment the perl packages are not updated for aarch64 on FreeBSD 14.4. I think you'll have to wait..But I'm on 15.1/amd64 (should have said that earlier).
have you tried rebuilding p5-Net-DNSI use poudriere, not portmaster.
portmaster p5-Net-DNS
Hello.
I've been using spamassassing for several years.
After I upgraded to 2026Q3, I see the following message.
# spamassassin -r 94023.
Aug 9 17:37:11.358 [34869] warn: dns: resolver create failed:
Net::DNS required Aug 9 17:37:14.098 [34869] warn: plugin: eval
failed: Can't locate object method "new" via package
"Net::DNS::Resolver" at /usr/local/lib/perl5/site_perl/Net/DNS.pm
line 62.
My lack of Perl knowledge doesn't allow me to understand what to do.
Any idea?
bye & Thanks
av.
Coincidentally the following got reported. It seems that SA misbehave
when the ENV environment variable exists or is defined. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297394
Could you check if your issue is related, or whether or not the ENV environment variable is defined in your shell, and which shell it is?
A wild guess is that it looks like there is a bug in SA that messes upAs I said, I'm very ignorant WRT perl.
perl's %ENV when ENV exists in the shell environment, somehow.
(Net::DNS looks up environment variables during initialization, for the mentioned PR it looks like the PATH was mangled?)
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 58:50:09 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
4 files (9,632K bytes) |
| Messages: | 285,989 |