Subject: | Fails to pass own tests |
Please let me know if you need any more info.
CPAN.pm: Going to build M/MS/MSCHILLI/Log-Log4perl-1.12.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Log::Log4perl
make: Warning: File `Makefile' has modification time 0.083 s in the
future
cp lib/Log/Log4perl/Filter/LevelRange.pm
blib/lib/Log/Log4perl/Filter/LevelRange
.pm
cp lib/Log/Log4perl/JavaMap/ConsoleAppender.pm
blib/lib/Log/Log4perl/JavaMap/Con
soleAppender.pm
cp lib/Log/Log4perl/JavaMap/TestBuffer.pm
blib/lib/Log/Log4perl/JavaMap/TestBuff
er.pm
cp lib/Log/Log4perl/MDC.pm blib/lib/Log/Log4perl/MDC.pm
cp lib/Log/Log4perl/NDC.pm blib/lib/Log/Log4perl/NDC.pm
cp lib/Log/Log4perl/Layout.pm blib/lib/Log/Log4perl/Layout.pm
cp lib/Log/Log4perl/Appender/TestBuffer.pm
blib/lib/Log/Log4perl/Appender/TestBu
ffer.pm
cp lib/Log/Log4perl/Appender/ScreenColoredLevels.pm
blib/lib/Log/Log4perl/Append
er/ScreenColoredLevels.pm
cp lib/Log/Log4perl/Resurrector.pm blib/lib/Log/Log4perl/Resurrector.pm
cp lib/Log/Log4perl/Layout/SimpleLayout.pm
blib/lib/Log/Log4perl/Layout/SimpleLa
yout.pm
cp lib/Log/Log4perl/JavaMap/SyslogAppender.pm
blib/lib/Log/Log4perl/JavaMap/Sysl
ogAppender.pm
cp lib/Log/Log4perl/Filter.pm blib/lib/Log/Log4perl/Filter.pm
cp lib/Log/Log4perl/Util.pm blib/lib/Log/Log4perl/Util.pm
cp lib/Log/Log4perl/Appender/Limit.pm
blib/lib/Log/Log4perl/Appender/Limit.pm
cp lib/Log/Log4perl/Appender/File.pm
blib/lib/Log/Log4perl/Appender/File.pm
cp lib/Log/Log4perl/Level.pm blib/lib/Log/Log4perl/Level.pm
cp lib/Log/Log4perl/Config.pm blib/lib/Log/Log4perl/Config.pm
cp lib/Log/Log4perl/FAQ.pm blib/lib/Log/Log4perl/FAQ.pm
cp lib/Log/Log4perl/Appender/RRDs.pm
blib/lib/Log/Log4perl/Appender/RRDs.pm
cp lib/Log/Log4perl/Layout/NoopLayout.pm
blib/lib/Log/Log4perl/Layout/NoopLayout
.pm
cp lib/Log/Log4perl/JavaMap/FileAppender.pm
blib/lib/Log/Log4perl/JavaMap/FileAp
pender.pm
cp lib/Log/Log4perl/Appender/Socket.pm
blib/lib/Log/Log4perl/Appender/Socket.pm
cp lib/Log/Log4perl/Filter/LevelMatch.pm
blib/lib/Log/Log4perl/Filter/LevelMatch
.pm
cp lib/Log/Log4perl/Appender/DBI.pm
blib/lib/Log/Log4perl/Appender/DBI.pm
cp lib/Log/Log4perl/JavaMap.pm blib/lib/Log/Log4perl/JavaMap.pm
cp lib/Log/Log4perl/Config/PropertyConfigurator.pm
blib/lib/Log/Log4perl/Config/
PropertyConfigurator.pm
cp lib/Log/Log4perl/Filter/Boolean.pm
blib/lib/Log/Log4perl/Filter/Boolean.pm
cp lib/Log/Log4perl/Appender/TestFileCreeper.pm
blib/lib/Log/Log4perl/Appender/T
estFileCreeper.pm
cp lib/Log/Log4perl/Layout/PatternLayout.pm
blib/lib/Log/Log4perl/Layout/Pattern
Layout.pm
cp lib/Log/Log4perl/Appender/Screen.pm
blib/lib/Log/Log4perl/Appender/Screen.pm
cp lib/Log/Log4perl/Filter/StringMatch.pm
blib/lib/Log/Log4perl/Filter/StringMat
ch.pm
cp lib/Log/Log4perl/DateFormat.pm blib/lib/Log/Log4perl/DateFormat.pm
cp lib/Log/Log4perl/Appender.pm blib/lib/Log/Log4perl/Appender.pm
cp lib/Log/Log4perl/Logger.pm blib/lib/Log/Log4perl/Logger.pm
cp lib/Log/Log4perl/Appender/TestArrayBuffer.pm
blib/lib/Log/Log4perl/Appender/T
estArrayBuffer.pm
cp lib/Log/Log4perl/Appender/Synchronized.pm
blib/lib/Log/Log4perl/Appender/Sync
hronized.pm
cp lib/Log/Log4perl/Appender/Buffer.pm
blib/lib/Log/Log4perl/Appender/Buffer.pm
cp lib/Log/Log4perl/Appender/String.pm
blib/lib/Log/Log4perl/Appender/String.pm
cp lib/Log/Log4perl/JavaMap/JDBCAppender.pm
blib/lib/Log/Log4perl/JavaMap/JDBCAp
pender.pm
cp lib/Log/Log4perl/Config/BaseConfigurator.pm
blib/lib/Log/Log4perl/Config/Base
Configurator.pm
cp lib/Log/Log4perl/JavaMap/RollingFileAppender.pm
blib/lib/Log/Log4perl/JavaMap
/RollingFileAppender.pm
cp lib/Log/Log4perl/Layout/PatternLayout/Multiline.pm
blib/lib/Log/Log4perl/Layo
ut/PatternLayout/Multiline.pm
cp lib/Log/Log4perl/Config/Watch.pm
blib/lib/Log/Log4perl/Config/Watch.pm
cp lib/Log/Log4perl/Config/DOMConfigurator.pm
blib/lib/Log/Log4perl/Config/DOMCo
nfigurator.pm
cp lib/Log/Log4perl.pm blib/lib/Log/Log4perl.pm
cp lib/Log/Log4perl/JavaMap/NTEventLogAppender.pm
blib/lib/Log/Log4perl/JavaMap/
NTEventLogAppender.pm
make: warning: Clock skew detected. Your build may be incomplete.
/usr/bin/make -- OK
Running make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness
(0, 'blib/lib', 'b
lib/arch')" t/*.t
t/001Level...........ok
t/002Logger..........ok
t/003Layout..........ok
t/004Config..........ok
t/005Config-Perl.....ok
t/006Config-Java.....skipped
all skipped: only with Log::Dispatch
t/007LogPrio.........ok
t/008ConfCat.........ok
t/009Deuce...........ok
t/010JConsole........skipped
all skipped: only with Log::Dispatch
t/011JFile...........skipped
all skipped: only with Log::Dispatch
t/012Deeper..........skipped
all skipped: only with Log::Dispatch
t/013Bench...........ok
t/014ConfErrs........ok
t/015fltmsg..........ok
t/016Export..........ok
t/017Watch...........ok 28/29Cannot rename (Device or resource busy) at
t/017Wat
ch.t line 324.
# Looks like you planned 29 tests but only ran 28.
# Looks like your test died just after 28.
t/017Watch...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 29
Failed 1/29 tests, 96.55% okay
t/018Init............ok
t/019Warn............ok
t/020Easy............ok
bash-3.2$ cpan install Log::Log4perl
t/021AppThres........ok
t/022Wrap............ok
t/023Date............ok
t/024WarnDieCarp.....ok
t/025CustLevels......ok
t/026FileApp.........ok
t/027Watch2..........ok
t/027Watch3..........ok
t/028Additivity......ok
t/029SysWide.........ok
t/030LDLevel.........ok
t/031NDC.............ok
t/032JRollFile.......skipped
all skipped: Log::Dispatch::FileRotate tests skipped
t/033UsrCspec........ok
t/034DBI.............skipped
all skipped: DBD::CSV or SQL::Statement 1.005 not installed,
skipping te
sts
t/035JDBCAppender....skipped
all skipped: only with Log::Dispatch and DBD::CSV
t/036JSyslog.........ok
t/037JWin32Event.....skipped
all skipped: only with Log::Dispatch::Win32EventLog
t/038XML-DOM1........skipped
all skipped: only with XML::DOM > 1.29
t/039XML-DOM2........skipped
all skipped: only with XML::DOM > 1.29
t/040Filter..........ok
t/041SafeEval........ok
t/042SyncApp.........skipped
all skipped: - only with L4P_ALL_TESTS
t/043VarSubst........ok
t/044XML-Filter......skipped
all skipped: only with XML::DOM > 1.29
t/045Composite.......ok
t/046RRDs............skipped
all skipped: (RRDs not installed)
t/048lwp.............skipped
all skipped: Only with LWP::UserAgent 2.0
t/049Unhide..........ok
t/050Buffer..........ok
t/051Extra...........ok
t/052Utf8............ok
t/053Resurrect.......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/017Watch.t 255 65280 29 2 6.90% 29
14 tests skipped.
Failed 1/54 test scripts, 98.15% okay. 1/585 subtests failed, 99.83%
okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
bash-3.2$ cpan install Log::Log4perl
bash-3.2$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-
64int
uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686
unknown
unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -
Uusemymalloc -Dopt
imize=-O3 -Dman3ext=3pm -Dusesitecustomize'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=de
fine
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -
pipe -I/usr
/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -
I/usr/local/inc
lude'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using
dmd 0.125
)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lsee
ksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES USE_SITECUSTOMIZE
PERL_IMPLICIT_CONTEXT
Locally applied patches:
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
Built under cygwin
Compiled at Dec 30 2005 02:44:25
%ENV:
CYGWIN=""
@INC:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
bash-3.2$