Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Net::DNS::TestNS build errors: Net::DNS::Header::data: no such method

31 views
Skip to first unread message

Mathias Kőrber

unread,
May 21, 2012, 5:16:13 AM5/21/12
to

I am trying to install Net::DNS::TestNS on two systems (RHEL-5 and
RHEL-6) and am getting the same error:

has anyone seen this issue before and can give me a hint how to
make this install?

> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-pod.t ...... skipped: Test::Pod v0.95 required for testing POD
> t/00-version.t .. ok
> t/01.t .......... 1/23 Warning version not defined assuming version 0 of the DTD.
> at t/01.t line 14
>
> Net::DNS::Header::data: no such method at /root/.cpan/build/Net-DNS-TestNS-1.10-3n5No6/blib/lib/Net/DNS/TestNS/Packet.pm line 39
> Can't call method "header" on an undefined value at t/01.t line 43.
> # Looks like you planned 23 tests but ran 6.
> # Looks like your test exited with 255 just after 6.
> t/01.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 17/23 subtests
> t/02.t .......... 1/23 Net::DNS::Header::data: no such method at /root/.cpan/build/Net-DNS-TestNS-1.10-3n5No6/blib/lib/Net/DNS/TestNS/Packet.pm line 39
> Can't call method "header" on an undefined value at t/02.t line 47.
> # Looks like you planned 23 tests but ran 6.
> # Looks like your test exited with 255 just after 6.
> t/02.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 17/23 subtests
> t/03.t .......... 2/24 Net::DNS::Header::data: no such method at /root/.cpan/build/Net-DNS-TestNS-1.10-3n5No6/blib/lib/Net/DNS/TestNS/Packet.pm line 39
> Can't call method "header" on an undefined value at t/03.t line 50.
> # Looks like you planned 24 tests but ran 6.
> # Looks like your test exited with 255 just after 6.
> t/03.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 18/24 subtests
>
> Test Summary Report
> -------------------
> t/01.t (Wstat: 65280 Tests: 6 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 23 tests but ran 6.
> t/02.t (Wstat: 65280 Tests: 6 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 23 tests but ran 6.
> t/03.t (Wstat: 65280 Tests: 6 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 24 tests but ran 6.
> Files=5, Tests=22, 452 wallclock secs ( 0.02 usr 0.02 sys + 0.19 cusr 0.14 csys = 0.37 CPU)
> Result: FAIL
> Failed 3/5 test programs. 0/22 subtests failed.
> make: *** [test_dynamic] Error 255
> OLAF/Net-DNS-TestNS-1.10.tar.gz
> /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
> reports OLAF/Net-DNS-TestNS-1.10.tar.gz
> Warning (usually harmless): 'YAML' not installed, will not store persistent state
> Running make install
> make test had returned bad status, won't install without force
> Failed during this command:
> OLAF/Net-DNS-TestNS-1.10.tar.gz : make_test NO


The main issue seems to be:
> Net::DNS::Header::data: no such method at /root/.cpan/build/Net-DNS-TestNS-1.10-3n5No6/blib/lib/Net/DNS/TestNS/Packet.pm line 39

I reinstalled Net::DNS but it does not help

thanks
0 new messages