MimeDefang/Spamassassin failures after portupgrade

Jim Hatfield subscriber at insignia.com
Tue Jun 21 13:39:36 GMT 2005


On Mon, 20 Jun 2005 17:20:30 +0100, in local.freebsd.ports you wrote:

>I have 0.51. After deinstalling all the modules, mimedefang, razor,
>clamav etc etc and reinstalling the lot, I am down to just one
>error:
>

Problem seems indeed to be in p5-Net-DNS. From the perldoc:

>NAME
>       Net::DNS::Resolver - DNS resolver class
>
>SYNOPSIS
>         use Net::DNS;
>
>         my $res = Net::DNS::Resolver->new;

A test program:

>highland% more test.pl
>use Net::DNS;
>my $res = Net::DNS::Resolver->new;

The output:

>highland% perl test.pl
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 725.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 726.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 726.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 844.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 844.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 874.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 749.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 777.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 784.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 784.
>Bareword "AF_INET6" not allowed while "strict subs" in use at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 784.
>BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/Base.pm line 999.
>Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/UNIX.pm line 9.
>BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver/UNIX.pm line 9.
>Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver.pm line 19.
>BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS/Resolver.pm line 22.
>Compilation failed in require at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS.pm line 58.
>BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.6.2/mach/Net/DNS.pm line 58.
>Compilation failed in require at test.pl line 1.
>BEGIN failed--compilation aborted at test.pl line 1.

Time to investigate portdowngrade :-(

As an aside, why are there so many places for storing Perl modules
on FreeBSD? It seems there are four locations:

/usr/local/lib/perl5/5.6.2
/usr/local/lib/perl5/5.6.2/mach
/usr/local/lib/perl5/site_perl/5.6.2
/usr/local/lib/perl5/site_perl/5.6.2/mach

This seems a litle excessive - wouldn't one be enough?




More information about the freebsd-ports mailing list