Bug#1068696: haskell-hourglass FTBFS on armel and armhf

Peter Green plugwash at debian.org
Tue Apr 9 09:16:24 BST 2024


Package: haskell-hourglass
Version: 0.2.15-5
Severity: serious
User: debian-arm at lists.debian.org
Usertag: time-t

The recent binnmus of haskell-hourglass on armel and armhf
failed to build with test failures.

>     calendar:                                             FAIL
>       *** Failed! (after 44 tests):
>       Exception:
>         expected: -10088515868s got: -1498581276s
>         CallStack (from HasCallStack):
>           error, called at tests/Tests.hs:120:25 in main:Main
>       -10088515868s
>       Use --quickcheck-replay=164206 to reproduce.
>       Use -p '/calendar/' to rerun this test only.



>     iso8601 date:                                         FAIL
>       *** Failed! (after 42 tests):
>       Exception:
>         expected: "2085-11-16" got: "1949-10-11"
>         CallStack (from HasCallStack):
>           error, called at tests/Tests.hs:120:25 in main:Main
>       3656792852s
>       Use --quickcheck-replay=277582 to reproduce.
>       Use -p '/formating.iso8601 date/' to rerun this test only.



>     custom-1:                                             FAIL
>       *** Failed! (after 2 tests):
>       Exception:
>         expected: DateTime {dtDate = Date {dateYear = 2081, dateMonth = December, dateDay = 8}, dtTime = TimeOfDay {todHour = 13h, todMin = 59m, todSec = 21s, todNSec = 24752790ns}} got: DateTime {dtDate = Date {dateYear = 1945, dateMonth = November, dateDay = 2}, dtTime = TimeOfDay {todHour = 7h, todMin = 31m, todSec = 5s, todNSec = 24752790ns}}
>         CallStack (from HasCallStack):
>           error, called at tests/Tests.hs:120:25 in main:Main
>       DateTime {dtDate = Date {dateYear = 2081, dateMonth = December, dateDay = 8}, dtTime = TimeOfDay {todHour = 13h, todMin = 59m, todSec = 21s, todNSec = 24752790ns}}
>       Use --quickcheck-replay=893847 to reproduce.
>       Use -p '/custom-1/' to rerun this test only.
>     custom-2:                                             FAIL
>       *** Failed! (after 1 test):
>       Exception:
>         expected: DateTime {dtDate = Date {dateYear = 2132, dateMonth = August, dateDay = 11}, dtTime = TimeOfDay {todHour = 16h, todMin = 38m, todSec = 47s, todNSec = 5036393ns}} got: DateTime {dtDate = Date {dateYear = 1996, dateMonth = July, dateDay = 5}, dtTime = TimeOfDay {todHour = 10h, todMin = 10m, todSec = 31s, todNSec = 5036393ns}}
>         CallStack (from HasCallStack):
>           error, called at tests/Tests.hs:120:25 in main:Main
>       DateTime {dtDate = Date {dateYear = 2132, dateMonth = August, dateDay = 11}, dtTime = TimeOfDay {todHour = 16h, todMin = 38m, todSec = 47s, todNSec = 5036393ns}}
>       Use --quickcheck-replay=738259 to reproduce.
>       Use -p '/custom-2/' to rerun this test only.
>   Regression Tests
>     Real instance of ElapsedP (#33):                      OK
>     Real instance of ElapsedP (#33) (2):                  OK
> 
> 4 out of 21 tests failed (0.03s)


I strongly suspect this is related to the time64 transition.



More information about the Pkg-haskell-maintainers mailing list