spf for spamassassin (Perl 5.22) failing on OS X 10.11 with following errors

Ryan Schmidt ryandesign at macports.org
Sun Dec 6 11:34:52 PST 2015


On Dec 6, 2015, at 9:11 AM, Robert Chalmers wrote:

> Does anyone know how I can fix this please?
> 
> spamd[95414]: spf: lookup failed: Can't locate object method "handles" via package "IO::Socket::IP" at /opt/local/lib/perl5/vendor_perl/5.22/Net/DNS/Resolver/Base.pm line 735.
> 
> If . I have to god back to a previous release, i.e. 5.21 - how do I do that please? Does it mean port install 5.21 and deactivate 5.22

5.22 is the version of perl. The previous version was 5.20. (Perl versions use even numbers.) The problem is not the perl version, but the Net::DNS version. The version of Net::DNS in MacPorts since 2015-11-09 is 1.03, also known as 1.30.0. The previous version was 1.02, also known as 1.20.0.


On Dec 6, 2015, at 11:13 AM, Robert Chalmers wrote:

> I notice from that link https://rt.cpan.org/Public/Bug/Display.html?id=108745 that you posted Daniel...
> 
> Quote "I reverted Net::DNS to version 1.02 and now the error message is gone.”
> 
> Is it worth doing this, or will a fix appear soon do you think?

We don't know when the developers of Net::DNS will release a fixed version. But they have already posted a developer preview a couple days ago that claims to address it. We would not usually want to publish a developer preview or other non-stable release in MacPorts...


> and how exactly will I revert anyway… :-(

Instructions are here:

https://trac.macports.org/wiki/howto/InstallingOlderPort

The port you would be wanting to downgrade is called p5-net-dns.

If you need to reinstall it, the revision number to go back to Net::DNS 1.02 is r140430.



More information about the macports-users mailing list