Hi Thomas,
> i wrote to info-mtools about the problem that time zone influences the
> result of mcopy even if SOURCE_TIME_EPOCH is set.
> Alain Knaff then proposed to set the TZ variable to UTF when pcmemtest
> gets built.
> https://lists.gnu.org/archive/html/info-mtools/2022-02/msg00002.html
>
> Would that be viable in pcmemtest ?
> Are any problems to foresee if TZ is set inside build*/Makefile ?
I do not envisage any problem in doing this, although it is somewhat
strange for mcopy to use SOURCE_TIME_EPOCH in a timezone-dependent
manner.
More generally, I can't think of a scenario where the value of
SOURCE_DATE_EPOCH request a timezone implication, so if mcopy supports
this particular use-case (and, indeed, supports it as the default
one), I might boldly suggest that this is a bug in mcopy. Just my
£0.02. :)
Thanks for doing a lot of the legwork here.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] 🍥 chris-lamb.co.uk
`-