Bug#1125671: tea-cli: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Jan 15 19:18:20 GMT 2026
Source: tea-cli
Version: 0.11.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
tea-cli could not be built reproducibly.
This is because the generation of BUILD_DATE in debian/rules (which ends
up in a manpage) took into account the surrounding timezone which, of
course, can vary.
Patch attached that ensures that BUILD_DATE is always generated in the
"UTC" timezone.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-01-15 09:52:02.983632687 -0800
--- b/debian/rules 2026-01-15 11:13:22.953486104 -0800
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
-BUILD_DATE := $(shell date +%F -d @$(SOURCE_DATE_EPOCH))
+BUILD_DATE := $(shell date -u +%F -d @$(SOURCE_DATE_EPOCH))
%:
dh $@ --builddirectory=debian/build --buildsystem=golang --with=golang
More information about the Reproducible-bugs
mailing list