[isabelle-dev] Support in `isabelle build` for SOURCE_DATE_EPOCH
jonathon.fernyhough at york.ac.uk
Fri Nov 30 14:15:12 CET 2018
I'm currently packaging Isabelle2018 (in deb format) for deployment to
several machines. These packages should contain some default heaps so
users can get on with what they're doing and avoid duplicating hundreds
of megabytes of data across user profiles.
I'm trying to automate the heap build process using the debian/rules
file in the "standard" way but the generated heaps are seen as
out-of-date when the user runs the Isabelle GUI, which then tries to
regenerate the heaps (and fails because the system directory isn't
If I generate the heaps in a postinst script it works as expected,
though this isn't very efficient as the heaps will be generated on many
"slow" machines instead of just once on a "fast" machine.
I think this all comes down to the Reproducible Builds efforts .
During the package build process, all timestamps are overridden with the
environment variable SOURCE_DATE_EPOCH . If "real" timestamps are
being recorded in the heap generation log database  then the packaged
timestamps will not match the logged timestamps.
If this is the cause, I'd like to request that `isabelle build` uses the
variable SOURCE_DATE_EPOCH (when set) to determine file timestamps.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the isabelle-dev