#1136425 ruby-otr-activerecord: please make the build reproducible

#1136425#5
Date:
2026-05-13 16:53:10 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
ruby-otr-activerecord could not be built reproducibly.

This is because the testsuite bumps the modification time of the
directories under the examples/ dir to the current time (which later
gets clamped back to SOURCE_DATE_EPOCH), so if the tests are skipped
via nocheck, then this directory will retain its original, upstream
timestamp.

Instead of saving upstream's original timestamp and restoring that
later, I've attached a patch to always set the mtime of this directory
to SOURCE_DATE_EPOCH, regardless of whether the tests are run or not.


 [0] https://reproducible-builds.org/


Regards,