You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit e435bc6 introduced behavior in
creating the source-dist archive that sets the file modification time to
the same time as the most recent `git` commit. This facilitates
reproducible builds, but it also has an issue. The code sets `TZ=`,
which means that on systems running in time zones which aren't UTC, the
modification time will be in the future (or past).
Up until recently, this only resulted in GNU make printing warnings
about modification times being in the future. However, with recent
changes in how escripts are built, this results in an "infinite make
loop" that is described in #14440
and #14443
The solution is to _not_ hard-code the `TZ` value when calculating the
time of the most recent `git` commit.
These changes also update the arguments passed to `tar` to use full
arguments that are easier to understand, as well as removes the need
for the `xzcat` command, as all build enviroments should have `xz`
support built into GNU `tar`.
Remove `TZ=` as it is the root cause of #14440
0 commit comments