Skip Menu |

This queue is for tickets about the Time-Piece-Range CPAN distribution.

Report information
The Basics
Id: 6380
Status: resolved
Priority: 0/
Queue: Time-Piece-Range

People
Owner: Nobody in particular
Requestors: JERLBAUM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.0
Fixed in: (no value)



Subject: make test fails
Time-Piece-Range-1.0$ make test PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-Iblib/lib" "-Iblib/arch" test.pl 1..53 Use of the language parameter in the DateTime::Strptime constructor is deprecated. Please use locale instead. at /home/jerlbaum/tmacims/lib/DateTime/Format/Strptime.pm line 136. Parameter #1 ("86400") to DateTime::add_duration was not a 'DateTime::Duration' (it is a 86400) at test.pl line 11 # Looks like your test died before it could output anything. make: *** [test_dynamic] Error 2 ===================== $ perl -V Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=linux, osvers=2.4.18-bf2.4, archname=i686-linux uname='linux ian 2.4.18-bf2.4 #1 son apr 14 09:53:28 cest 2002 i686 unknown ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.4 20011002 (Debian prerelease)', 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='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Apr 27 2004 14:09:32 %ENV: PERL5LIB="/home/jerlbaum/PERL_MOD_BUILD/lib:/home/jerlbaum/tmacims/lib:/home/jerlbaum/tmacims/lib" PERL_PARTS="/home/jerlbaum/PERL_MOD_BUILD" @INC: /home/jerlbaum/PERL_MOD_BUILD/lib/i686-linux /home/jerlbaum/PERL_MOD_BUILD/lib /home/jerlbaum/tmacims/lib/i686-linux /home/jerlbaum/tmacims/lib /home/jerlbaum/tmacims/lib/i686-linux /home/jerlbaum/tmacims/lib /usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5/site_perl/5.8.4/i686-linux /usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl .
Show quoted text
> Time-Piece-Range-1.0$ make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.4 "-Iblib/lib" "-Iblib/arch" > test.pl > 1..53 > Use of the language parameter in the DateTime::Strptime constructor is > deprecated. Please use locale instead. at > /home/jerlbaum/tmacims/lib/DateTime/Format/Strptime.pm line 136. > Parameter #1 ("86400") to DateTime::add_duration was not a > 'DateTime::Duration' (it is a 86400) > at test.pl line 11
This looks like a bug in your installed version of Time::Piece or DateTime::*. I don't believe it to be a problem with Time::Piece::Range. Tony