Bugzilla – Bug 1216738
ERROR SOURCE_DATE_EPOCH is in the future, ..., returning error
Last modified: 2024-02-08 11:48:56 UTC
When build now in BS, I see a lot of failures due to: [ 13s] setting SOURCE_DATE_EPOCH to 1698749844 [ 13s] ERROR SOURCE_DATE_EPOCH is in the future, clamping mtime if used might fail in hard to notice way, returning error Like in IBS: Devel:Kernel:stable/kernel-default/standard/x86_64 Fabian says: It mixes up time zones "Mon Oct 30 12:36:34 CET 2023" in .changes results in SOURCE_DATE_EPOCH=1698669395 but that's Mon 30. Oct 12:36:35 UTC 2023
Maybe post-build-checks' fail?
Likely related to: https://github.com/openSUSE/post-build-checks/pull/58 A note added there.
Michael, it seems obs-build is adding the zone an additional time after str2time already takes it into account: https://github.com/openSUSE/obs-build/blob/5d1da8553791ecdf35ab538bddd6afa4494d66d0/changelog2spec#L159 Can you fix that? I'm not sure if removing that line is correct.
https://github.com/openSUSE/obs-build/pull/977
Removing the line is not correct, but I've now committed a fix.