Bug#907023: libsisimai-perl: Sisimai doesn't handle time zones well

Xavier Guimard x.guimard at free.fr
Thu Aug 23 08:53:50 BST 2018


Package: libsisimai-perl
Version: 4.22.7-1
Severity: normal
Tags: upstream
Forwarded: https://github.com/sisimai/p5-Sisimai/issues/288

tests.reproducible-builds.org reveals that Sisimai fails when it is
tested when the GMT date differs from the local date. Example with
https://tests.reproducible-builds.org/debian/logs/unstable/i386/libsisimai-perl_4.22.7-1.build2.log.gz
built at Mon Aug 26 12:51:40 +14 2019:

#   Failed test 'timestamp->mday = 22'
#   at t/500-data.t line 58.
#          got: '22'
#     expected: '21'

#   Failed test 'timestamp->day = Sun'
#   at t/500-data.t line 59.
#          got: 'Sun'
#     expected: 'Sat'

#   Failed test 'timestamp->mday = 30'
#   at t/500-data.t line 134.
#          got: '30'
#     expected: '29'

#   Failed test 'timestamp->day = Thu'
#   at t/500-data.t line 135.
#          got: 'Thu'
#     expected: 'Wed'
# Looks like you failed 4 tests of 87.

...

#   Failed test 'timestamp->mday = 30'
#   at t/510-bite-email-userdefined.t line 50.
#          got: '30'
#     expected: '29'

#   Failed test 'timestamp->day = Fri'
#   at t/510-bite-email-userdefined.t line 51.
#          got: 'Fri'
#     expected: 'Thu'
# Looks like you failed 2 tests of 38.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libsisimai-perl depends on:
ii  libclass-accessor-lite-perl  0.08-1
ii  libjson-perl                 2.97001-1
ii  perl                         5.26.2-7

libsisimai-perl recommends no packages.

Versions of packages libsisimai-perl suggests:
ii  libyaml-perl  1.26-1

-- no debconf information



More information about the pkg-perl-maintainers mailing list