Subject: | Fails its own tests |
Trying to install this on Win32 Perl 561, an terrible combination, but
ironically necessitated by the BBC project I'm working on. Perl -V is
at the end of this, hope it helps.
CPAN: Archive::Tar loaded ok
Log-Trace-1.070/
Log-Trace-1.070/t/
Log-Trace-1.070/t/trace_functions.t
Log-Trace-1.070/t/lib/
Log-Trace-1.070/t/lib/Test_DeepImport.pm
Log-Trace-1.070/t/lib/Test_DelayedImport.pm
Log-Trace-1.070/t/trace_file.t
Log-Trace-1.070/t/pod.t
Log-Trace-1.070/t/trace_levels.t
Log-Trace-1.070/t/trace_print.t
Log-Trace-1.070/t/trace_deep.t
Log-Trace-1.070/t/trace_filehandle.t
Log-Trace-1.070/t/trace_allsubs.t
Log-Trace-1.070/t/trace_buffer.t
Log-Trace-1.070/t/trace_warn.t
Log-Trace-1.070/t/trace_dump.t
Log-Trace-1.070/t/pod_coverage.t
Log-Trace-1.070/t/trace_custom.t
Log-Trace-1.070/README
Log-Trace-1.070/lib/
Log-Trace-1.070/lib/Log/
Log-Trace-1.070/lib/Log/Trace/
Log-Trace-1.070/lib/Log/Trace/Manual.pod
Log-Trace-1.070/lib/Log/Trace.pm
Log-Trace-1.070/MANIFEST
Log-Trace-1.070/META.yml
Log-Trace-1.070/Changes
Log-Trace-1.070/Makefile.PL
Log-Trace-1.070/COPYING
Log-Trace-1.070/MANIFEST.SKIP
CPAN.pm: Going to build B/BB/BBC/Log-Trace-1.070.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Log::Trace
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp lib/Log/Trace.pm blib\lib\Log\Trace.pm
cp lib/Log/Trace/Manual.pod blib\lib\Log\Trace\Manual.pod
C:\photowebserver\perl\bin\nmake.EXE -- OK
Running make test
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\indigoperl\bin\perl.exe -Mblib -IC:\indigoperl\lib -
IC:\indigoperl\li
b -e "use Test::Harness qw(&runtests $verbose); $verbose=0; runtests
@ARGV;" t\p
od.t t\pod_coverage.t t\trace_allsubs.t t\trace_buffer.t
t\trace_custom.t t\trac
e_deep.t t\trace_dump.t t\trace_file.t t\trace_filehandle.t
t\trace_functions.t
t\trace_levels.t t\trace_print.t t\trace_warn.t
Using C:/.cpan/build/Log-Trace-1.070/blib
t\pod.................skipped
all skipped: Test::Pod 1.00 required for testing POD
t\pod_coverage........skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD
Coverage
t\trace_allsubs.......ok
t\trace_buffer........ok
t\trace_custom........ok
t\trace_deep..........ok
t\trace_dump..........ok
4/9 skipped: Data::Serializer not installed
t\trace_file..........ok
t\trace_filehandle....ok 1/7print() on unopened filehandle TEST_HANDLE
at C:/.cp
an/build/Log-Trace-1.070/blib/lib/Log/Trace.pm line 467.
t\trace_filehandle....NOK 2# Failed test 'message traced to supplied
filehandl
e'
# in t\trace_filehandle.t at line 19.
# got: undef
# expected: 'Testing output to a filehandle
# '
print() on unopened filehandle TEST_HANDLE at C:/.cpan/build/Log-Trace-
1.070/bli
b/lib/Log/Trace.pm line 467.
t\trace_filehandle....NOK 3# Failed test 'level 1 trace to
filehandle ok'
# in t\trace_filehandle.t at line 24.
# got: undef
# expected: 't\trace_filehandle.t
# '
print() on unopened filehandle TEST_HANDLE at C:/.cpan/build/Log-Trace-
1.070/bli
b/lib/Log/Trace.pm line 467.
t\trace_filehandle....NOK 5# Failed test 'verbose:0 is also not
verbose'
# in t\trace_filehandle.t at line 31.
# got: undef
# expected: '9876543210
# '
print() on unopened filehandle TEST_HANDLE at C:/.cpan/build/Log-Trace-
1.070/bli
b/lib/Log/Trace.pm line 467.
Use of uninitialized value in pattern match (m//) at
t\trace_filehandle.t line 3
5.
t\trace_filehandle....NOK 6# Failed test 'verbose:1 adds some caller
informati
on'
# in t\trace_filehandle.t at line 35.
# undef
# doesn't match '(?-xism:\Amain::__ANON__ \(\d+\) :: abcdef\n\Z)'
print() on unopened filehandle TEST_HANDLE at C:/.cpan/build/Log-Trace-
1.070/bli
b/lib/Log/Trace.pm line 467.
Use of uninitialized value in pattern match (m//) at
t\trace_filehandle.t line 4
0.
t\trace_filehandle....NOK 7# Failed test 'verbose:2 adds timstamp
and file inf
o'
# in t\trace_filehandle.t at line 40.
# undef
# doesn't match '(?-xism:\At\\trace_filehandle\.t: main::__ANON__
\(\d+\) \[
(?-xism:\d{4}(?:-\d\d){2} \d\d(?::\d\d){2}(?:\.\d{6})?)\] abcdef\n\Z)'
# Looks like you failed 5 tests of 7.
t\trace_filehandle....dubious
Test returned status 5 (wstat 1280, 0x500)
DIED. FAILED tests 2-3, 5-7
Failed 5/7 tests, 28.57% okay
t\trace_functions.....ok
t\trace_levels........ok
t\trace_print.........ok
t\trace_warn..........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
--------
t\trace_filehandle.t 5 1280 7 5 71.43% 2-3 5-7
2 tests and 4 subtests skipped.
Failed 1/13 test scripts, 92.31% okay. 5/80 subtests failed, 93.75%
okay.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return
code '0xff'
Stop.
C:\photowebserver\perl\bin\nmake.EXE test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Show quoted text
cpan>
--------------------------------------------------------------
C:\Documents and Settings\Me>perl -V
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=def
ine
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -
DNO_STRICT -
DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
DPERL_MSVCRT_READ
FIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize
=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='', ldflags ='-nologo -nodefaultlib -release -
libpath:"f:\dev\dp\perl-5.
6_install\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32
.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib wsoc
k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comd
lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib
wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -
libpath:"f:
\dev\dp\perl-5.6_install\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS
PERL_IMPLICIT_CONTEXT PERL_IMP
LICIT_SYS
Locally applied patches:
IndigoPerl Build 626
Built under MSWin32
Compiled at May 6 2001 21:37:25
@INC:
C:/indigoperl/lib
C:/indigoperl/site/lib
.
C:\Documents and Settings\Me>