bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#20314: [PATCH] Make output of mdate-sh deterministic


From: Paul Eggert
Subject: Re: bug#20314: [PATCH] Make output of mdate-sh deterministic
Date: Thu, 21 Sep 2017 20:21:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Unfortunately that patch to Automake's mdate-sh is not portable, as TZ='UTC' is not a portable setting for the TZ environment variable. POSIX says you're supposed to use something like TZ='UTC0' instead. Although TZ='UTC' works when glibc is used, this is not necessarily true on other POSIX platforms.

I noticed this problem when recent Automake changes were merged into Gnulib, and installed the attached patch to the Automake master branch to fix this. Please review any other patches you may be using for reproducible builds, and fix them to use TZ='UTC0' instead of TZ='UTC'. Thanks.

For reference, here's the POSIX spec for TZ:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03

and look for "TZ".

Attachment: 0001-lib-mdate.sh-TZ-Use-portable-setting.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]