Opened 10 years ago

Closed 10 years ago

#46453 closed defect (fixed)

p5-net-nslookup: upgrade to 2.04, add 5.18 5.20

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: p5-net-nslookup

Description

I was trying to upgrade p5-net-nslookup, but the tests failed:

--->  Testing p5.20-net-nslookup
PERL_DL_NONLAZY=1 /opt/local/bin/perl5.20 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Timeout: nslookup("type" => "A", "host" => "test.boston.com") at /path/to/p5.20-net-nslookup/work/Net-Nslookup-2.04/blib/lib/Net/Nslookup.pm line 115.

#   Failed test 'nslookup(host => www.boston.com, type => A) -> 66.151.183.17'
#   at t/a.t line 13.
#          got: undef
#     expected: '66.151.183.17'
Timeout: nslookup("type" => "A", "host" => "test.boston.com") at /path/to/p5.20-net-nslookup/work/Net-Nslookup-2.04/blib/lib/Net/Nslookup.pm line 115.

#   Failed test 'nslookup(www.boston.com) -> 66.151.183.17'
#   at t/a.t line 17.
#          got: undef
#     expected: '66.151.183.17'
# Looks like you failed 2 tests of 3.
t/a.t ...... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests 
Timeout: nslookup("type" => "CNAME", "host" => "ctest.boston.com") at /path/to/p5.20-net-nslookup/work/Net-Nslookup-2.04/blib/lib/Net/Nslookup.pm line 115.
...

Patch in attachment.

Attachments (1)

p5-net-nslookup.2.04.diff (951 bytes) - added by mojca (Mojca Miklavec) 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by mojca (Mojca Miklavec)

Attachment: p5-net-nslookup.2.04.diff added

comment:1 Changed 10 years ago by mojca (Mojca Miklavec)

Another weird part is that I don't see the dependency on port:p${perl5.major}-net-dns declared anywhere.

comment:2 Changed 10 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Fixed in r131440.

Note: See TracTickets for help on using tickets.