Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2005 14:39:35 +0100
From:      Jim Hatfield <subscriber@insignia.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: MimeDefang/Spamassassin failures after portupgrade
Message-ID:  <jq5gb15o3djdt0f60o7mto6r88djvuub13@4ax.com>
In-Reply-To: <3203DF3DDE57D411AFF4009027B8C3676F7E1F@exchange-uk.isltd.insignia.com>
References:  <3203DF3DDE57D411AFF4009027B8C3676F7E1F@exchange-uk.isltd.insignia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D Net::DNS::Resolver->new;

A test program:

>highland% more test.pl
>use Net::DNS;
>my $res =3D 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?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jq5gb15o3djdt0f60o7mto6r88djvuub13>