Date: | Thu, 15 Apr 2004 13:11:54 -0700 |
From: | Bill Shaver <bshaver [...] cis.ctc.edu> |
To: | bug-business-hours [...] rt.cpan.org |
Subject: | Problems with Business-Hours-0.06 |
Sir/Madam,
I am fairly new to CPAN and am not familiar with your protocols, so
please forgive me if I commit any breach of etiquette.
In an effort to get RT/IR up and running I am attempting to install the
Business-Hours module. It looks to me like I am seeing some rounding error
or something but am not adept enough at Perl to sort things through. Any
assistance you can provide would be most appreciated. I have included
(below) the build/test output, Perl version, and OS information that I
expect you might want.
Thank for your time and what promises to be some VERY helpful software.
Best Wishes,
--Bill
--
Bill Shaver
425.803.9773
bshaver@cis.ctc.edu
CPAN.pm: Going to build J/JE/JESSE/Business-Hours-0.06.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Business::Hours
cp lib/Business/Hours.pm blib/lib/Business/Hours.pm
Manifying blib/man3/Business::Hours.3pm
/usr/bin/make -j3 -- 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/embedded-Business-Hours....ok 3/0# Failed test (lib/Business/Hours.pm at line 199)
t/embedded-Business-Hours....NOK 4# got: '162001'
# expected: '162000'
t/embedded-Business-Hours....ok 5/0# Failed test (lib/Business/Hours.pm at line 399)
# got: '86400'
# expected: '0'
t/embedded-Business-Hours....ok 13/0# Looks like you failed 2 tests of 13.
t/embedded-Business-Hours....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4, 6
Failed 2/13 tests, 84.62% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/embedded-Business-Hours.t 2 512 13 2 15.38% 4 6
Failed 1/1 test scripts, 0.00% okay. 2/13 subtests failed, 84.62% okay.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
pulsar # perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.21-1.1931.2.382.entsmp, archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -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'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef'
useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030222 (Red Hat Linux 3.2.2-5)', gccosandvers=''
gccversion='3.2.2 200302'
intsize=r, longsize=r, ptrsize=5, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='l, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc'
l', ldflags =' -L/u'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libper
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
MAINT18379
Built under linux
Compiled at Aug 13 2003 11:47:58
@INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
.
pulsar # cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
pulsar # uname -a
Linux pulsar 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux