#1136425 - ruby-otr-activerecord: please make the build reproducible (original) (raw)

Debian Bug report logs - #1136425

ruby-otr-activerecord: please make the build reproducible

version graph

Reported by: "Chris Lamb" lamby@debian.org

Date: Wed, 13 May 2026 16:55:03 UTC

Severity: wishlist

Tags: patch

Found in version ruby-otr-activerecord/2.6.0-1

Reply or subscribe to this bug.

Display info messages


Report forwardedto debian-bugs-dist@lists.debian.org, Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org> (src:ruby-otr-activerecord for {1136425}), reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1136425}):
Bug#1136425; Package src:ruby-otr-activerecord. (Wed, 13 May 2026 16:55:04 GMT) (full text, mbox, link).


Acknowledgement sentto "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, pkg-ruby-extras-maintainers@lists.alioth.debian.org. (Wed, 13 May 2026 16:55:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Source: ruby-otr-activerecord Version: 2.6.0-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

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,

-- ,''. : :' : Chris Lamb . ' lamby@debian.org / chris-lamb.co.uk `-

[ruby-otr-activerecord.diff.txt (text/plain, attachment)]


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Thu Jun 18 05:30:42 2026; Machine Name:berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.