|
From: | David Kastrup |
Subject: | Re: Using 'libfaketime' for reproducible builds |
Date: | Sun, 27 Dec 2020 19:51:04 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Werner LEMBERG <wl@gnu.org> writes: > Before investing more time into it I wonder whether the use of > 'libfaketime' would be a valid solution for creating reproducible > builds. According to 'pkgs.org' it is available for most GNU/Linux > distributions; it is also part of both MacPorts and Homebrew. > > https://github.com/wolfcw/libfaketime > > The idea is to do the following: > > export LD_PRELOAD=/usr/local/lib/libfaketime.so.1 > export FAKETIME="2020-12-24 00:00:00" > > make all > make doc > > This freezes the current time at a given value. Isn't that a problem for the operation of Make itself since it relies on file modification dates? -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |