Bug#1086281: libclass-date-perl: FTBFS: Failed test 'tzdst'

Santiago Vila sanvila at debian.org
Tue Oct 29 18:46:41 GMT 2024


Package: src:libclass-date-perl
Version: 1.1.17-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules build
dh build
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
Warning: prerequisite Date::Parse 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Class::Date
Writing MYMETA.yml and MYMETA.json
    dh_auto_build
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/Class/Date/Const.pm blib/lib/Class/Date/Const.pm
cp lib/Class/Date/Invalid.pm blib/lib/Class/Date/Invalid.pm
cp lib/Class/Date.pm blib/lib/Class/Date.pm
cp lib/Class/Date/Rel.pm blib/lib/Class/Date/Rel.pm
Manifying 4 pod documents
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test
	make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ..........
1..4
ok 1 - Class/Date.pm loaded ok
ok 2 - Class/Date/Const.pm loaded ok
ok 3 - Class/Date/Invalid.pm loaded ok
ok 4 - Class/Date/Rel.pm loaded ok
ok
#
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
#
# === Build Requires ===
#
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
#
# === Test Requires ===
#
#     Module              Want     Have
#     ------------------- ---- --------
#     ExtUtils::MakeMaker  any     7.70
#     File::Spec           any     3.90
#     IO::Handle           any     1.55
#     IPC::Open3           any     1.22
#     Test::More           any 1.302199
#     Test::Warnings       any    0.033
#
# === Test Recommends ===
#
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150010
#
# === Runtime Requires ===
#
#     Module       Want    Have
#     ------------ ---- -------
#     Carp          any    1.54
#     Date::Parse   any missing
#     Exporter      any    5.78
#     POSIX         any    2.20
#     Scalar::Util  any    1.63
#     Time::Local   any    1.35
#     constant      any    1.33
#     overload      any    1.37
#     strict        any    1.13
#     vars          any    1.05
#     warnings      any    1.70
#
#
# *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
#
# The following REQUIRED prerequisites were not satisfied:
#
# Date::Parse is not installed (any version required)
#
t/00-report-prereqs.t ...
1..1
ok 1
ok
t/00_base.t .............
1..6
ok 1
ok 2 - year
ok 3 - hour
ok 4 - mon
ok 5
ok 6
ok
t/05_parsing.t ..........
1..7
ok 1
ok 2 - year
ok 3 - month
ok 4 - day
ok 5 - hour
ok 6 - min
ok 7 - second
ok
t/10_fields.t ...........
1..18
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok
t/20_gmdate.t ...........
1..56
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok
t/30_localdate.t ........
1..77
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74
ok 75
ok 76
ok 77
ok
t/40_errors.t ...........
1..18
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok

#   Failed test 'tzdst'
#   at t/50_timezone.t line 18.
#          got: 'CET'
#     expected: 'CEST'

#   Failed test 'epoch'
#   at t/50_timezone.t line 19.
#          got: '1020470462'
#     expected: '1020463262'

     #   Failed test 'date2'
     #   at t/50_timezone.t line 23.
     #          got: '2002-05-04 00:01:02'
     #     expected: '2002-05-03 22:01:02'

     #   Failed test 'epoch'
     #   at t/50_timezone.t line 29.
     #          got: '1020470462'
     #     expected: '1020463262'
     # Looks like you failed 2 tests of 4.

#   Failed test 'to GMT'
#   at t/50_timezone.t line 30.
# Looks like you failed 3 tests of 8.
t/50_timezone.t .........
1..8
ok 1
ok 2 - date1
ok 3 - tz
not ok 4 - tzdst
not ok 5 - epoch
# Subtest: to GMT
     not ok 1 - date2
     ok 2 - tz
     ok 3 - tzdst # TODO known to fail on non-linux machines - GH#8
     not ok 4 - epoch
     1..4
not ok 6 - to GMT
ok 7 - epoch
ok 8 - gmdate
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/8 subtests
t/bug-reports.t .........
1..1
ok 1 - gh\#3
ok
t/class-date-invalid.t ..
1..2
ok 1
ok 2 - no (unexpected) warnings (via END block)
ok

Test Summary Report
-------------------
t/50_timezone.t       (Wstat: 768 (exited 3) Tests: 8 Failed: 3)
   Failed tests:  4-6
   Non-zero exit status: 3
Files=11, Tests=198,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.47 cusr  0.11 csys =  0.64 CPU)
Result: FAIL
Failed 1/11 test programs. 3/198 subtests failed.
make[1]: *** [Makefile:875: test_dynamic] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j1 test TEST_VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the pkg-perl-maintainers mailing list