Skip Menu |

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

Report information
The Basics
Id: 65478
Status: resolved
Priority: 0/
Queue: Time-Period

People
Owner: Nobody in particular
Requestors: bem [...] residents.frmug.org
Cc:
AdminCc:

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



Subject: PBOYD/Time-Period-1.21.tar.gz
Date: Sat, 05 Feb 2011 17:05:40 +0100
To: bug-Time-Period [...] rt.cpan.org
From: Emmanuel Bataille <bem [...] residents.frmug.org>
Failed cpan upgrade for PBOYD/Time-Period-1.21.tar.gz perl version : perl, v5.8.8 built for i486-linux-gnu-thread-multi system : Debian Etch - Linux 2.6.18-6-686 #1 SMP Thu Oct 9 15:52:18 UTC 2008 i686 GNU/Linux Details : cpan[1]> upgrade Time::Period CPAN: Storable loaded ok (v2.25) Going to read '/root/.cpan/Metadata' Database was generated on Thu, 03 Feb 2011 22:33:01 GMT Package namespace installed latest in CPAN file Time::Period 1.20 1.21 PBOYD/Time-Period-1.21.tar.gz Running install for module 'Time::Period' Running make for P/PB/PBOYD/Time-Period-1.21.tar.gz CPAN: Digest::SHA loaded ok (v5.50) CPAN: Compress::Zlib loaded ok (v2.033) Checksum for /home/facteur/.cpan/sources/authors/id/P/PB/PBOYD/Time-Period-1.21.tar.gz ok Scanning cache /root/.cpan/build for sizes DONE CPAN: Archive::Tar loaded ok (v1.76) Time-Period-1.21/ Time-Period-1.21/MANIFEST Time-Period-1.21/dist.ini Time-Period-1.21/LICENSE Time-Period-1.21/README Time-Period-1.21/META.yml Time-Period-1.21/Makefile.PL Time-Period-1.21/t/ Time-Period-1.21/t/06_year_day.t Time-Period-1.21/t/01_time_period.t Time-Period-1.21/t/02_weekday.t Time-Period-1.21/t/03_year.t Time-Period-1.21/t/08_hour.t Time-Period-1.21/t/04_month.t Time-Period-1.21/t/10_second.t Time-Period-1.21/t/07_month_day.t Time-Period-1.21/t/09_minute.t Time-Period-1.21/t/05_week.t Time-Period-1.21/lib/ Time-Period-1.21/lib/Time/ Time-Period-1.21/lib/Time/Period.pm CPAN: File::Temp loaded ok (v0.22) CPAN: YAML loaded ok (v0.72) CPAN.pm: Going to build P/PB/PBOYD/Time-Period-1.21.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Time::Period cp lib/Time/Period.pm blib/lib/Time/Period.pm Manifying blib/man3/Time::Period.3pm PBOYD/Time-Period-1.21.tar.gz /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/01_time_period.t .. ok t/02_weekday.t ...... ok t/03_year.t ......... ok t/04_month.t ........ ok t/05_week.t ......... ok t/06_year_day.t ..... ok t/07_month_day.t .... ok t/08_hour.t ......... 1/33 # Failed test 'should match a single hour' # at t/08_hour.t line 10. # got: '0' # expected: '1' # Failed test 'should match a single hour, by the long form' # at t/08_hour.t line 11. # got: '0' # expected: '1' # Failed test 'should be able to match a range of hours' # at t/08_hour.t line 14. # got: '0' # expected: '1' # Failed test 'should be able to match a range of days when the first hour is greater than the second' # at t/08_hour.t line 17. # got: '0' # expected: '1' # Failed test 'should be able to not match a range of days when the first hour is greater than the second' # at t/08_hour.t line 19. # got: '1' # expected: '0' # Failed test '12am should be treated as midnight (single)' # at t/08_hour.t line 29. # got: '0' # expected: '1' # Failed test '12am should be treated as midnight (left)' # at t/08_hour.t line 30. # got: '0' # expected: '1' # Failed test '12am should be treated as midnight (right)' # at t/08_hour.t line 31. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (single)' # at t/08_hour.t line 33. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (left)' # at t/08_hour.t line 34. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (left)' # at t/08_hour.t line 35. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (single)' # at t/08_hour.t line 37. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (left)' # at t/08_hour.t line 38. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (right)' # at t/08_hour.t line 39. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (single)' # at t/08_hour.t line 45. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (left)' # at t/08_hour.t line 46. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (right)' # at t/08_hour.t line 47. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (single)' # at t/08_hour.t line 49. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (left)' # at t/08_hour.t line 50. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (right)' # at t/08_hour.t line 51. # got: '0' # expected: '1' Argument "one" isn't numeric in numeric gt (>) at /root/.cpan/build/Time-Period-1.21-Ukvgb5/blib/lib/Time/Period.pm line 720. # Looks like you failed 20 tests of 33. t/08_hour.t ......... Dubious, test returned 20 (wstat 5120, 0x1400) Failed 20/33 subtests t/09_minute.t ....... ok t/10_second.t ....... ok Test Summary Report ------------------- t/08_hour.t (Wstat: 5120 Tests: 33 Failed: 20) Failed tests: 1-2, 4, 6, 8, 14-22, 26-31 Non-zero exit status: 20 Files=10, Tests=209, 3 wallclock secs ( 0.34 usr 0.08 sys + 1.61 cusr 0.26 csys = 2.29 CPU) Result: FAIL Failed 1/10 test programs. 20/209 subtests failed. make: *** [test_dynamic] Erreur 255 PBOYD/Time-Period-1.21.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PBOYD/Time-Period-1.21.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: PBOYD/Time-Period-1.21.tar.gz : make_test NO
Just to confirm that I seem to be seeing the same problem for a clean install on perl 5.12.1 cpan[1]> install Time::Period Going to read '/root/.cpan/Metadata' Database was generated on Fri, 11 Feb 2011 22:35:23 GMT Running install for module 'Time::Period' Running make for P/PB/PBOYD/Time-Period-1.21.tar.gz Fetching with LWP: ftp://cpan.etla.org/pub/CPAN/authors/id/P/PB/PBOYD/Time-Period-1.21.tar.gz Warning (usually harmless): 'YAML' not installed, cannot parse '/root/.cpan/FTPstats.yml' Warning (usually harmless): 'YAML' not installed, cannot parse '/root/.cpan/FTPstats.yml' Fetching with LWP: ftp://cpan.etla.org/pub/CPAN/authors/id/P/PB/PBOYD/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/P/PB/PBOYD/Time-Period-1.21.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE CPAN.pm: Going to build P/PB/PBOYD/Time-Period-1.21.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Time::Period cp lib/Time/Period.pm blib/lib/Time/Period.pm Manifying blib/man3/Time::Period.3pm PBOYD/Time-Period-1.21.tar.gz /usr/bin/make -- OK 'YAML' not installed, will not store persistent state Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01_time_period.t .. ok t/02_weekday.t ...... ok t/03_year.t ......... ok t/04_month.t ........ ok t/05_week.t ......... ok t/06_year_day.t ..... ok t/07_month_day.t .... ok t/08_hour.t ......... 1/33 # Failed test 'should match a single hour' # at t/08_hour.t line 10. # got: '0' # expected: '1' # Failed test 'should match a single hour, by the long form' # at t/08_hour.t line 11. # got: '0' # expected: '1' # Failed test 'should be able to match a range of hours' # at t/08_hour.t line 14. # got: '0' # expected: '1' # Failed test 'should be able to not match a range of days when the first hour is greater than the second' # at t/08_hour.t line 19. # got: '1' # expected: '0' # Failed test '12am should be treated as midnight (single)' # at t/08_hour.t line 29. # got: '0' # expected: '1' # Failed test '12am should be treated as midnight (left)' # at t/08_hour.t line 30. # got: '0' # expected: '1' # Failed test '12am should be treated as midnight (right)' # at t/08_hour.t line 31. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (single)' # at t/08_hour.t line 33. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (left)' # at t/08_hour.t line 34. # got: '0' # expected: '1' # Failed test '"am" times should not be altered (left)' # at t/08_hour.t line 35. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (single)' # at t/08_hour.t line 37. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (left)' # at t/08_hour.t line 38. # got: '0' # expected: '1' # Failed test '12noon should be treated as 12pm (right)' # at t/08_hour.t line 39. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (single)' # at t/08_hour.t line 45. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (left)' # at t/08_hour.t line 46. # got: '0' # expected: '1' # Failed test '"pm" times should have 12 hours added to them (right)' # at t/08_hour.t line 47. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (single)' # at t/08_hour.t line 49. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (left)' # at t/08_hour.t line 50. # got: '0' # expected: '1' # Failed test '12pm should be treated as noon (right)' # at t/08_hour.t line 51. # got: '0' # expected: '1' Argument "one" isn't numeric in numeric gt (>) at /root/.cpan/build/Time-Period-1.21-61rtR_/blib/lib/Time/Period.pm line 720. # Looks like you failed 19 tests of 33. t/08_hour.t ......... Dubious, test returned 19 (wstat 4864, 0x1300) Failed 19/33 subtests t/09_minute.t ....... ok t/10_second.t ....... ok Test Summary Report ------------------- t/08_hour.t (Wstat: 4864 Tests: 33 Failed: 19) Failed tests: 1-2, 4, 8, 14-22, 26-31 Non-zero exit status: 19 Files=10, Tests=209, 1 wallclock secs ( 0.14 usr 0.04 sys + 0.47 cusr 0.06 csys = 0.71 CPU) Result: FAIL Failed 1/10 test programs. 19/209 subtests failed. make: *** [test_dynamic] Error 255 PBOYD/Time-Period-1.21.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PBOYD/Time-Period-1.21.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: PBOYD/Time-Period-1.21.tar.gz : make_test NO cpan[2]> perl -V Summary of my perl5 (revision 5 version 12 subversion 1) configuration: Platform: osname=linux, osvers=2.6.32, archname=x86_64-linux-thread-multi uname='linux build33 2.6.32 #1 smp 2011-01-07 16:03:50 +0100 x86_64 x86_64 x86_64 gnulinux ' config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -pipe', cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector' ccversion='', gccversion='4.5.0 20100604 [gcc-4_5-branch revision 160292]', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib64 -fstack-protector' libpth=/lib64 /usr/lib64 /usr/local/lib64 libs=-lm -ldl -lcrypt -lpthread perllibs=-lm -ldl -lcrypt -lpthread libc=/lib64/libc-2.11.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.11.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.1/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib64 -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_TRACK_MEMPOOL PERL_USE_SAFE_PUTENV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Jan 12 2011 17:47:28 @INC: /usr/lib/perl5/site_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/x86_64-linux-thread-multi /usr/lib/perl5/5.12.1 .
I just added version 1.22, which has passing tests. Sorry about this, it was an oversight. The tests were working in EST (where I am), but failing everywhere else.
Subject: Re: [rt.cpan.org #65478] PBOYD/Time-Period-1.21.tar.gz
Date: Tue, 15 Feb 2011 14:45:18 +0100
To: bug-Time-Period [...] rt.cpan.org
From: Emmanuel Bataille <bem [...] residents.frmug.org>
Paul Boyd via RT a écrit : Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=65478 > > > I just added version 1.22, which has passing tests. > > Sorry about this, it was an oversight. The tests were working in EST > (where I am), but failing everywhere else.
Thank you. I was thinking that timezone was the problem.