Closed bernhardschmidt closed 2 weeks ago
Further investigation shows that this is most likely caused by a change in tzdata 2024b
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084190
* Upstream obsoleted the System V names CET, CST6CDT, EET, EST*, HST, MET,
MST*, PST8PDT, and WET. They are symlinks now. Move those zones to
tzdata-legacy and update /etc/localtime on package update to the new names.
Please use Etc/GMT* in case you want to avoid DST changes.
Build-Depending on tzdata-legacy fixes the testsuite for now.
Hmm .. nfdump does not set any timezone. Maybe it should do this for the test only. Does it make a difference, if the TZ is set in runtest.sh
?
export TZ=Europe/Zurich
Hmm .. nfdump does not set any timezone. Maybe it should do this for the test only. Does it make a difference, if the TZ is set in
runtest.sh
?
The tests do set it to a deprecated one.
https://github.com/phaag/nfdump/blob/79f8637f5c07fedf6a9b217b7cf9dd90660a06cf/src/test/runprepare.sh#L33 https://github.com/phaag/nfdump/blob/79f8637f5c07fedf6a9b217b7cf9dd90660a06cf/src/test/runtest.sh#L33
The other test scripts set it as well, but replacing those two incarnations of TZ=MET with TZ=Europe/Zurich fixes the issue.
Bernhard
A bug was reported against 1.7.4 in Debian (reproduced with 1.7.5) that the testsuite is suddenly failing. The testsuite is run on every build, it did not fail when I initially uploaded to Debian on July 12th.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086366
And so on. Basically all unix timestamps are 7200 seconds = two hours off, while the clock output is the same.
It could be a DST issue in the testsuite, incidentally all uploads in the recent years happened during CEST. However, it does not fail in testing, so it could be a recent toolchain change in unstable.