Bug#1123008: tdiary: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 15 19:22:03 GMT 2025
Source: tdiary
Version: 5.3.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
tdiary could not be built reproducibly.
This is because running the tests updated the modification times.
This would usually not be a problem due to the mtime clamping of
dpkg-deb, but if the tests are skipped then the modification times
will greatly differ.
Patch attached that sets these files to a deterministic value
regardless of whether the tests are run or not.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-15 10:26:39.400268170 -0800
--- b/debian/rules 2025-12-15 10:46:39.368359634 -0800
@@ -13,6 +13,11 @@
install -D -m 755 misc/convert2.rb $(DEB_DESTDIR)/usr/bin/tdiary-convert2
install -D -m 755 debian/tdiary-setup.rb $(DEB_DESTDIR)/usr/bin/tdiary-setup
+execute_after_dh_install:
+ touch -d "@$(SOURCE_DATE_EPOCH)" $(DEB_DESTDIR)/usr/share/tdiary/misc/plugin \
+ $(DEB_DESTDIR)/usr/share/tdiary/misc/lib \
+ $(DEB_DESTDIR)/usr/share/tdiary/misc/filter
+
$(manpages): %.1: debian/%.sgml
docbook-to-man $< > $@
More information about the Reproducible-bugs
mailing list