Skip Menu |
 

This queue is for tickets about the Net-DNS-SEC CPAN distribution.

Report information
The Basics
Id: 99106
Status: resolved
Priority: 0/
Queue: Net-DNS-SEC

People
Owner: Nobody in particular
Requestors: calle [...] linit.se
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.20
Fixed in: (no value)



Download (untitled) / with headers
text/plain 644b
"make test" does not pass with Perl 5.10.1 and 5.12.5. The error reported is this: t/14-misc.t ........ Premature end of base64 data at /home/calle/.cpanm/work/1411552402.40560/Net-DNS-SEC-0.20/blib/lib/Net/DNS/RR/RRSIG.pm line 219. in new Net::DNS::RR( example.com. 300 IN RRSIG NSEC RSASHA1 2 300 20380 ... ) at t/14-misc.t line 69 The problem does not appear with Perl versions 5.14 and newer. I have not tested with versions older than 5.10.1. Tests have been run on a freshly installed and updated Ubuntu Server 14.04LTS virtual server, with perl interpreters built by perlbrew and prerequisite modules installed from CPAN (using cpanm).
From: rwfranks [...] acm.org
Download (untitled) / with headers
text/plain 929b
good catch Calle. The fault is actually independent of the perl revision. The test script itself is faulty and should have been deleted in 0.18. If you look at line 70: my $sig_nsec1_ldns=Net::DNS::RR->new(" example.com. 300 IN RRSIG NSEC RSASHA1 2 300 20380119031407 200703 09133715 6227 example.com. aXhXGPs5tiGFM4NFmgtsj7jW4p6A/hnY2JOwfD ... "); you will note that the inception date is split by a line break! Everything that happens after that is trashed. This problem was worked around for DNS::SEC 0.17 (already deployed), by the compatibility code at RR.pm line 112. Note that COMPATIBILITY is turned off automatically in Net::DNS 0.76 and later, exposing the fault. Disaster is averted using more recent perl versions because the test is skipped to get round problems (now resolved) with Time::Local. This has no bearing on the problem you are experiencing. Solution: delete 14-misc.t test script.
Download (untitled) / with headers
text/plain 132b
On Sat 27 Sep 2014 11:21:01, rwfranks@acm.org wrote: Show quoted text
> Solution: delete 14-misc.t test script.
Thanks Dick, Deleted on the repo.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.