Subject: | Fails Tests on CentOS |
cpan[33]> install DateTime::Format::Duration
Running install for module DateTime::Format::Duration
Running make for R/RI/RICKM/DateTime-Format-Duration-1.02.tar.gz
Fetching with LWP:
ftp://hurricane.hinasu.net/pub/CPAN/authors/id/R/RI/RICKM/DateTime-
Format-Duration-1.02.tar.gz
Checksum for /root/.cpan/sources/authors/id/R/RI/RICKM/DateTime-Format-
Duration-1.02.tar.gz ok
DateTime-Format-Duration-1.02/
DateTime-Format-Duration-1.02/t/
DateTime-Format-Duration-1.02/t/5_fmt_no_normalise.t
DateTime-Format-Duration-1.02/t/0_pod.t
DateTime-Format-Duration-1.02/t/8_negatives.t
DateTime-Format-Duration-1.02/t/6_parse.t
DateTime-Format-Duration-1.02/t/2_fmt_normalise.t
DateTime-Format-Duration-1.02/t/7_misc.t
DateTime-Format-Duration-1.02/t/1_load.t
DateTime-Format-Duration-1.02/t/4_fmt_normalise_no_base.t
DateTime-Format-Duration-1.02/t/3_fmt_normalise_iso.t
DateTime-Format-Duration-1.02/Changes
DateTime-Format-Duration-1.02/MANIFEST
DateTime-Format-Duration-1.02/docs/
DateTime-Format-Duration-1.02/docs/figure3.gif
DateTime-Format-Duration-1.02/docs/figure1.gif
DateTime-Format-Duration-1.02/docs/figure2.gif
DateTime-Format-Duration-1.02/lib/
DateTime-Format-Duration-1.02/lib/DateTime/
DateTime-Format-Duration-1.02/lib/DateTime/Format/
DateTime-Format-Duration-1.02/lib/DateTime/Format/Duration.pm
DateTime-Format-Duration-1.02/README
DateTime-Format-Duration-1.02/Makefile.PL
DateTime-Format-Duration-1.02/LICENSE
CPAN.pm: Going to build R/RI/RICKM/DateTime-Format-Duration-
1.02.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for DateTime::Format::Duration
cp lib/DateTime/Format/Duration.pm blib/lib/DateTime/Format/Duration.pm
Manifying blib/man3/DateTime::Format::Duration.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_pod......................ok
t/1_load.....................ok
t/2_fmt_normalise............ok 40/52# DST ends, Day is 25 hours long
t/2_fmt_normalise............NOK 41
# Failed test 'Test 41: 0000-00-00 48:00:00 should become 0000-00-
01 23:00:00'
# in t/2_fmt_normalise.t at line 115.
# got: '0000-00-01 24:00:00'
# expected: '0000-00-01 23:00:00'
# If you send an error report, please include the output of:
# /usr/bin/perl t/2_fmt_normalise.t 41!
t/2_fmt_normalise............NOK 43
# Failed test 'Test 43: 0000-00-02 00:00:00 should stay 0000-00-
02 00:00:00'
# in t/2_fmt_normalise.t at line 115.
# got: '0000-00-02 01:00:00'
# expected: '0000-00-02 00:00:00'
# If you send an error report, please include the output of:
# /usr/bin/perl t/2_fmt_normalise.t 43!
t/2_fmt_normalise............ok 44/52# DST starts, Day is 23 hours long
t/2_fmt_normalise............NOK 45
# Failed test 'Test 45: 0000-00-00 48:00:00 should become 0000-00-
02 01:00:00'
# in t/2_fmt_normalise.t at line 115.
# got: '0000-00-02 00:00:00'
# expected: '0000-00-02 01:00:00'
# If you send an error report, please include the output of:
# /usr/bin/perl t/2_fmt_normalise.t 45!
t/2_fmt_normalise............NOK 47
# Failed test 'Test 47: 0000-00-02 00:00:00 should stay 0000-00-
02 00:00:00'
# in t/2_fmt_normalise.t at line 115.
# got: '0000-00-01 23:00:00'
# expected: '0000-00-02 00:00:00'
# If you send an error report, please include the output of:
# /usr/bin/perl t/2_fmt_normalise.t 47!
t/2_fmt_normalise............ok 48/52# Leap Second adds an extra
second to one of the minutes.
t/2_fmt_normalise............ok 52/52# Looks like you failed 4 tests
of 52.
t/2_fmt_normalise............dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 41, 43, 45, 47
Failed 4/52 tests, 92.31% okay
t/3_fmt_normalise_iso........ok
t/4_fmt_normalise_no_base....ok
t/5_fmt_no_normalise.........ok
t/6_parse....................# Individual Components
t/6_parse....................ok 20/24# Group Components
t/6_parse....................ok
t/7_misc.....................ok
t/8_negatives................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
--------
t/2_fmt_normalise.t 4 1024 52 4 7.69% 41 43 45 47
Failed 1/9 test scripts, 88.89% okay. 4/211 subtests failed, 98.10%
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
Failed during this command:
RICKM/DateTime-Format-Duration-1.02.tar.gz : make_test NO
bash-3.00# perl -V
Summary of my perl5 (revision 5 version 8 subversion 5) configuration:
Platform:
osname=linux, osvers=2.6.9-42.elsmp, archname=i386-linux-thread-
multi
uname='linux build-i386 2.6.9-42.elsmp #1 smp sat aug 12 09:39:11
cdt 2006 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -
mtune=pentium4 -Dversion=5.8.5 -Dmyhostname=localhost -
Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -
Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -
Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -
Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -
Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -
Dinstallusrbinperl -Ubincompat5005 -Uversiononly -
Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1
5.8.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-
strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-
aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.4.6 20060404 (Red Hat 3.4.6-3)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -
lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -
Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Aug 12 2006 17:09:08
@INC:
/usr/lib/perl5/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
bash-3.00#