https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7052
Bug ID: 7052
Summary: Net-DNS-Nameserver Dependency clarification
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: PC
OS: Windows 7
Status: NEW
Severity: normal
Priority: P2
Component: Regression Tests
Assignee: [email protected]
Reporter: [email protected]
With RHEL/CentOS, Net-DNS is split into Net-DNS and Net-DNS-Nameserver.
This causes issues such as:
t/dnsbl_subtests.t ................ Can't locate Net/DNS/Nameserver.pm in @INC
(@INC contains: t . /tmp/spamassassin-trunk/blib/lib
/tmp/spamassassin-trunk/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at t/dnsbl_subtests.t line 29.
BEGIN failed--compilation aborted at t/dnsbl_subtests.t line 29.
t/dnsbl_subtests.t ................ Dubious, test returned 2 (wstat 512, 0x200)
Failed 46/46 subtests
The solution on RHEL/CentOS systems is to install perl-Net-DNS-Nameserver using
yum, for example.
However, since perl-Net-DNS-Nameserver is required and RHEL/CentOS separately
installs it, add it as a requirement to the Makefile.PL with a note about
Centos splitting http://search.cpan.org/~nlnetlabs/Net-DNS-0.77/
Found this while working on rule updates on the new spamassassin-vm box. Patch
is finished pending test and commit.
--
You are receiving this mail because:
You are the assignee for the bug.