#877724 test_ppu regression with fpc 3.0.2

#877724#5
Date:
2017-10-04 21:02:36 UTC
From:
To:
test_ppu test_diff fails with timezone CEST when ruinng the tests with
fpc 3.0.2

=================================== FAILURES
===================================
E       AssertionError: assert '@@ -15,15 +1...1] = SYSTEM\n' == '@@
-15,15 +15...1] = SYSTEM\n'
E         Skipping 200 identical leading characters in diff, use -v to show
E         Skipping 327 identical trailing characters in diff, use -v to show
E         - 16/02/17 17:03:46
E         ?           ^
E         + 16/02/17 15:03:46
E         ?           ^
E         - +Source file 1 : castlegenericlists.pas 2016/02/17 17:04:53...
E
E         ...Full output truncated (5 lines hidden), use '-vv' to show

tests/comparators/test_ppu.py:67: AssertionError
----------------------------- Captured stdout call
-----------------------------
@@ -15,15 +15,15 @@
 Definitions stored      : 121
 Symbols stored          : 398

 Interface section
 ------------------
 Module Name: CastleGenericLists

#877724#12
Date:
2017-12-24 03:23:17 UTC
From:
To:
Hi Levente,

Thanks for the bug report.

Looks like a issue with fpc + /etc/localtime. I've been able to
reproduce this on Arch, Tumbleweed and I suspect that I'll be also able
to see this behavior on Bionic.

I'll update here once I gather more information.
--- Juliana
#877724#17
Date:
2018-01-03 20:00:51 UTC
From:
To:
tags 877724 + moreinfo
thanks

Hi Levente,

Are you running under Debian? We carry a patch for against ppcdump:

https://sources.debian.org/src/fpc/3.0.4+dfsg-11/debian/patches/honor_SOURCE_DATE_EPOCH_in_date.patch/

Unrelated, but we also carry this one:

https://sources.debian.org/src/fpc/3.0.4+dfsg-11/debian/patches/honor_SOURCE_DATE_EPOCH_in_date.patch/

Curiously, there's also a bizarre `env['TZ'] = ':UTC'` (nb. the colon!)
in our comparator!


Best wishes,

#877724#24
Date:
2018-12-15 15:02:39 UTC
From:
To:
forwarded 877724 https://salsa.debian.org/reproducible-builds/diffoscope/issues/9
thanks

I've forwarded this upstream here:

https://salsa.debian.org/reproducible-builds/diffoscope/issues/9


Regards,