Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
tkgate could not be built reproducibly.
This is because it ships a different binary package depending on
whether the testsuite is run or not.
Specifically, running the tests bumps the modification time of the
test/tkgate directory (as files are created inside), and so the binary
package has different directory metadata depending on whether the tests
are run or not.
A patch is attached that will set the mtime of this directory to the
value of SOURCE_DATE_EPOCH regardless of whether the tests are run or
not.
[0] https://reproducible-builds.org/
Regards,