bug-gnulib
[Top][All Lists]
Advanced

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

Re: reproducible built files


From: Paul Eggert
Subject: Re: reproducible built files
Date: Mon, 30 Dec 2024 00:50:55 -0800
User-agent: Mozilla Thunderbird

On 12/29/24 08:29, Bruno Haible wrote:

Re 1 + max: yes that makes sense, also for compensating a conversion
    to entire seconds, that loses fractional seconds.

In TZDB releases all the files either correspond to a commit and therefore lack fractional seconds (because Git doesn't record fractional seconds in commits), or correspond to a (1 + max(other file timestamps)) and thus also lack fractional seconds.

That is why TZDB can get away with tar --format=pax: since there are no fractional seconds, GNU Tar doesn't use that Pax extension to ustar format and so the distributed tarball is actually --format=ustar until the year 2242.


I see your rules in tz/Makefile, target 'set-timestamps.out'. This rule uses
"git diff --quiet $$file". Shouldn't it use "git diff --quiet HEAD $$file"
instead?

Thanks, I fixed that.



reply via email to

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