Skip Menu |

This queue is for tickets about the Class-Date CPAN distribution.

Report information
The Basics
Id: 100455
Status: resolved
Priority: 0/
Queue: Class-Date

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

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



Subject: FreeBSD: test suite fails with TZ=Europe/Berlin
On my machine (FreeBSD 9.2, various perls from 5.8.9 to 5.21.5) the test suite fails with the default timezone (which is Europe/Berlin). If TZ is set to Europe/London, then the test suite passes. The reports may be seen here: http://matrix.cpantesters.org/?dist=Class-Date;os=freebsd;reports=1#sl=5,1 (currently only FAIL reports, the PASS reports will appear tomorrow or so).
On 2014-11-19 15:38:07, SREZIC wrote: Show quoted text
> On my machine (FreeBSD 9.2, various perls from 5.8.9 to 5.21.5) the > test suite fails with the default timezone (which is Europe/Berlin). > If TZ is set to Europe/London, then the test suite passes. > > The reports may be seen here: > http://matrix.cpantesters.org/?dist=Class- > Date;os=freebsd;reports=1#sl=5,1 (currently only FAIL reports, the > PASS reports will appear tomorrow or so).
Same problem also on FreeBSD 10.1, and with perl 5.21.10, and also reported by other testers: * http://www.cpantesters.org/cpan/report/0ff2cc7e-c476-11e4-9727-fcccf9ba27bb * http://www.cpantesters.org/cpan/report/50f2c6d2-e283-11e3-aa69-daf4c7c7991c * http://www.cpantesters.org/cpan/report/3a352552-d77f-11e3-a710-a77a6677cc27 All reports under Windows also have TZ-related problems.
On Wed Nov 19 15:38:07 2014, SREZIC wrote: Show quoted text
> On my machine (FreeBSD 9.2, various perls from 5.8.9 to 5.21.5) the > test suite fails with the default timezone (which is Europe/Berlin). > If TZ is set to Europe/London, then the test suite passes. > > The reports may be seen here: > http://matrix.cpantesters.org/?dist=Class- > Date;os=freebsd;reports=1#sl=5,1 (currently only FAIL reports, the > PASS reports will appear tomorrow or so).
This bug is still present when I try to install this module against perl-5.27.11 on FreeBSD-11.1. ##### $ this_perl -Iblib/lib t/50_timezone.t Cannot find the XS part of Class::Date, using strftime, tzset and tzname from POSIX module. 1..11 ok 1 bless([102, 4, 4, 0, 1, 2, 6, 123, 1, 1020463262, "CET", 0, ""], "Class::Date") ok 2 - date1 ok 3 - tz ok 4 - tzdst ok 5 - epoch bless([102, 4, 3, 22, 1, 2, 5, 122, 0, 1020463262, "GMT"], "Class::Date") ok 6 - date2 ok 7 - tz not ok 8 - tzdst # Failed test 'tzdst' # at t/50_timezone.t line 28. # got: 'UTC' # expected: 'GMT' ok 9 - epoch ok 10 - epoch ok 11 - gmdate # Looks like you failed 1 test of 11. ##### Thank you very much. Jim Keenan