Subject: | Various tests fail in Net::DNS under MSWin32 |
I'm seeing test failures in t/08-online and t/12-compression on MSWin32.
I've attached the cpan output and perl -V.
Subject: | Perl-V.txt |
C:\Documents and Settings\mmusgrove>perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=define use5005threads=undef useithreads=define usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTE
XT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX',
optimize='-s -O2',
cppflags='-DWIN32'
ccversion='', gccversion='3.4.5', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseek
size=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++', ldflags ='-s -L"c:\strawberry-perl\perl\lib\CORE" -L"c:\strawberry
-perl\mingw\lib"'
libpth=c:\strawberry-perl\mingw\lib
libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32
-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion -lodbc32 -lodbccp32
perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl
g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lw
inmm -lversion -lodbc32 -lodbccp32
libc=-lmsvcrt, so=dll, useshrplib=yes, libperl=libperl58.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-mdll -s -L"c:\strawberry-perl\perl\lib\CORE" -L"
c:\strawberry-perl\mingw\lib"'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS PERL_MALLOC_WRAP
PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES
USE_PERLIO
Built under MSWin32
Compiled at Aug 27 2006 17:17:50
@INC:
C:/strawberry-perl/perl/lib
C:/strawberry-perl/perl/site/lib
.
Subject: | Net-DNS.txt |
CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.61.tar.gz
cp lib/Net/DNS/RR/NULL.pm blib\lib\Net\DNS\RR\NULL.pm
cp lib/Net/DNS/RR/A.pm blib\lib\Net\DNS\RR\A.pm
cp lib/Net/DNS/Resolver/Win32.pm blib\lib\Net\DNS\Resolver\Win32.pm
cp lib/Net/DNS/RR/Unknown.pm blib\lib\Net\DNS\RR\Unknown.pm
cp lib/Net/DNS/RR/IPSECKEY.pm blib\lib\Net\DNS\RR\IPSECKEY.pm
cp lib/Net/DNS/RR/EID.pm blib\lib\Net\DNS\RR\EID.pm
cp lib/Net/DNS/RR/ISDN.pm blib\lib\Net\DNS\RR\ISDN.pm
cp lib/Net/DNS/RR/MX.pm blib\lib\Net\DNS\RR\MX.pm
cp lib/Net/DNS/Header.pm blib\lib\Net\DNS\Header.pm
cp lib/Net/DNS/RR/SOA.pm blib\lib\Net\DNS\RR\SOA.pm
cp lib/Net/DNS/RR/OPT.pm blib\lib\Net\DNS\RR\OPT.pm
cp lib/Net/DNS/RR/NIMLOC.pm blib\lib\Net\DNS\RR\NIMLOC.pm
cp lib/Net/DNS/RR/TXT.pm blib\lib\Net\DNS\RR\TXT.pm
cp lib/Net/DNS/RR/DNAME.pm blib\lib\Net\DNS\RR\DNAME.pm
cp lib/Net/DNS/RR/AAAA.pm blib\lib\Net\DNS\RR\AAAA.pm
cp lib/Net/DNS.pm blib\lib\Net\DNS.pm
cp lib/Net/DNS/RR/X25.pm blib\lib\Net\DNS\RR\X25.pm
cp lib/Net/DNS/RR/RP.pm blib\lib\Net\DNS\RR\RP.pm
cp lib/Net/DNS/Resolver/Recurse.pm blib\lib\Net\DNS\Resolver\Recurse.pm
cp lib/Net/DNS/Resolver/Cygwin.pm blib\lib\Net\DNS\Resolver\Cygwin.pm
cp lib/Net/DNS/RR/PTR.pm blib\lib\Net\DNS\RR\PTR.pm
cp lib/Net/DNS/RR/NS.pm blib\lib\Net\DNS\RR\NS.pm
cp lib/Net/DNS/RR/TSIG.pm blib\lib\Net\DNS\RR\TSIG.pm
cp lib/Net/DNS/Update.pm blib\lib\Net\DNS\Update.pm
cp lib/Net/DNS/Resolver.pm blib\lib\Net\DNS\Resolver.pm
cp lib/Net/DNS/RR/PX.pm blib\lib\Net\DNS\RR\PX.pm
cp lib/Net/DNS/Nameserver.pm blib\lib\Net\DNS\Nameserver.pm
cp lib/Net/DNS/RR/LOC.pm blib\lib\Net\DNS\RR\LOC.pm
cp lib/Net/DNS/RR/AFSDB.pm blib\lib\Net\DNS\RR\AFSDB.pm
cp lib/Net/DNS/RR/RT.pm blib\lib\Net\DNS\RR\RT.pm
cp lib/Net/DNS/RR/SRV.pm blib\lib\Net\DNS\RR\SRV.pm
cp lib/Net/DNS/RR/MR.pm blib\lib\Net\DNS\RR\MR.pm
cp lib/Net/DNS/RR/MINFO.pm blib\lib\Net\DNS\RR\MINFO.pm
cp lib/Net/DNS/FAQ.pod blib\lib\Net\DNS\FAQ.pod
cp lib/Net/DNS/RR/CNAME.pm blib\lib\Net\DNS\RR\CNAME.pm
cp lib/Net/DNS/Question.pm blib\lib\Net\DNS\Question.pm
cp lib/Net/DNS/RR/SSHFP.pm blib\lib\Net\DNS\RR\SSHFP.pm
cp lib/Net/DNS/RR/NAPTR.pm blib\lib\Net\DNS\RR\NAPTR.pm
cp lib/Net/DNS/RR/SPF.pm blib\lib\Net\DNS\RR\SPF.pm
cp lib/Net/DNS/RR.pm blib\lib\Net\DNS\RR.pm
cp lib/Net/DNS/Packet.pm blib\lib\Net\DNS\Packet.pm
cp lib/Net/DNS/RR/HINFO.pm blib\lib\Net\DNS\RR\HINFO.pm
cp lib/Net/DNS/RR/MG.pm blib\lib\Net\DNS\RR\MG.pm
cp lib/Net/DNS/RR/TKEY.pm blib\lib\Net\DNS\RR\TKEY.pm
cp lib/Net/DNS/RR/NSAP.pm blib\lib\Net\DNS\RR\NSAP.pm
cp lib/Net/DNS/RR/CERT.pm blib\lib\Net\DNS\RR\CERT.pm
cp lib/Net/DNS/Resolver/UNIX.pm blib\lib\Net\DNS\Resolver\UNIX.pm
cp lib/Net/DNS/RR/MB.pm blib\lib\Net\DNS\RR\MB.pm
cp lib/Net/DNS/Resolver/Base.pm blib\lib\Net\DNS\Resolver\Base.pm
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.
61\" -DXS_VERSION=\"0.61\" "-IC:\strawberry-perl\perl\lib\CORE" netdns.c
ar cr netdns.a netdns.o
C:\strawberry-perl\perl\bin\perl.exe C:\strawberry-perl\perl\lib\ExtUtils\xsubpp
-typemap C:\strawberry-perl\perl\lib\ExtUtils\typemap DNS.xs > DNS.xsc && C:\
strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e mv DNS.xsc DNS.c
gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_
IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0.
61\" -DXS_VERSION=\"0.61\" "-IC:\strawberry-perl\perl\lib\CORE" DNS.c
Running Mkbootstrap for Net::DNS ()
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DNS.bs
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Net::DNS\", 'DLBASE' => 'DNS', 'DL_FUNCS' => { },
'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def DNS.def --output-exp dll.exp
g++ -o blib\arch\auto\Net\DNS\DNS.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"c
:\strawberry-perl\perl\lib\CORE" -L"c:\strawberry-perl\mingw\lib" DNS.o -Wl,--im
age-base,0x20220000 netdns.a C:\strawberry-perl\perl\lib\CORE\libperl58.a -lmsvc
rt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshe
ll32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodb
c32 -lodbccp32 dll.exp
dlltool --def DNS.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Net\DNS\DNS.dll -mdll -s -L"c:\strawberry-perl\perl\lib\CO
RE" -L"c:\strawberry-perl\mingw\lib" DNS.o -Wl,--image-base,0x20220000 netdns.a
C:\strawberry-perl\perl\lib\CORE\libperl58.a -lmsvcrt -lmoldname -lkernel32 -lus
er32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnet
api32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 dll.exp
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\
auto\Net\DNS\DNS.dll
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e cp DNS.bs blib\arch\
auto\Net\DNS\DNS.bs
C:\strawberry-perl\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\
auto\Net\DNS\DNS.bs
OLAF/Net-DNS-0.61.tar.gz
C:\strawberry-perl\dmake\bin\dmake.EXE -- OK
Running make test
C:\strawberry-perl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harnes
s(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-load..................#
# These tests were ran with:
# Net::DNS::VERSION: 0.61
# set environment variable NET_DNS_DEBUG to get all versions
ok
t/00-pod...................ok
t/00-version...............ok
t/01-resolver-env..........ok
t/01-resolver-file.........ok
7/8 skipped: various reasons
t/01-resolver-opt..........ok
t/01-resolver..............ok
3/45 skipped: various reasons
t/02-header................ok
t/03-question..............ok
t/04-packet-unique-push....ok
t/04-packet................ok
t/05-rr-opt................ok
t/05-rr-rrsort.............ok
t/05-rr-sshfp..............skipped
all skipped: Digest::BubbleBabble not installed.
t/05-rr-txt................ok
t/05-rr-unknown............ok
t/05-rr....................ok
t/06-update................ok
t/07-misc..................ok
t/08-online................
# Failed test 'The object isa Net::DNS::Packet'
# at t/08-online.t line 109.
# The object isn't defined
# FORMERR
# Failed test 'The object isa Net::DNS::Packet'
# at t/08-online.t line 109.
# The object isn't defined
# FORMERR
# Looks like you planned 93 tests but only ran 91.
# Looks like you failed 2 tests of 91 run.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 57-58, 92-93
Failed 4/93 tests, 95.70% okay
t/09-tkey..................ok
t/10-recurse...............skipped
all skipped: Cannot run these tests from this IP:192.168.1.101
t/11-escapedchars..........# Using the XS compiled dn_expand function
#
# disabling XS based dns_expand for a moment.
#
# Continuing to use the XS based dn_expand()
ok
t/11-inet6.................ok
10/11 skipped: various reasons
t/12-compression...........12345678911234567892123456789312345678941234567895123
4567896123...
truncated to 63 octets (RFC1035 2.3.1) at t/12-compression.t line 56
ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/08-online.t 2 512 93 6 57-58 92-93
2 tests and 20 subtests skipped.
Failed 1/25 test scripts. 4/1230 subtests failed.
Files=25, Tests=1230, 11 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
Failed 1/25 test programs. 4/1230 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
Test result is 'fail': Distribution had failing tests.
C:\strawberry-perl\dmake\bin\dmake.EXE test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
OLAF/Net-DNS-0.61.tar.gz : make_test NO