On 5/29/23 06:13, Vagrant Cascadian wrote:
On 2023-05-29, Sebastiaan Couwenberg wrote:
On 5/28/23 23:38, Vagrant Cascadian wrote:
That said, I think it really is the touch commands in debian/datumgrids*
as touch's timestamp modification is timezone dependent in many cases...
The attached patch fixes this by setting the TZ=UTC as an environment
variable in the debian/datumgrids*.shar files.
I also had success with a patch where the touch calls are done with
--date=${SOURCE_DATE_EPOCH} which also worked for me (as touch assumes
to be TZ=UTC in this case)... if that would be preferable, I can also
provide a patch for that.
Patching the shar files is not ideal, when their content is modified
these changes will be lost.
shar/unshar should be more likely be patched.
Does TZ=UTC also work when set in the environment? If so, that could be
passed to the unshar commands in d/rules.
I would expect that to work as well, which I though of shortly after
sending the updated patch... though did not yet test it!
Can you test that? Otherwise we'll have to upload to experimental.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1