#1120870 tkgate: please make the build reproducible

#1120870#5
Date:
2025-11-17 20:30:48 UTC
From:
To:
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,