Bug#1067218: gretl: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Mar 20 11:05:14 GMT 2024
Source: gretl
Version: 2023c-2.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
gretl could not be built reproducibly.
This is because the PDF documentation embeds the current date via TeX's
\today (etc.). A patch is attached that uses FORCE_SOURCE_DATE to request
that TeX sources the current date from SOURCE_DATE_EPOCH instead of the
system clock.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2024-03-20 10:22:09.435742379 +0000
--- b/debian/rules 2024-03-20 10:41:22.804750818 +0000
@@ -24,6 +24,9 @@
cflags = -O0 -g0 -Wall
endif
+# Request that TeX seed the \today (etc.) from SOURCE_DATE_EPOCH
+export FORCE_SOURCE_DATE = 1
+
#export DH_VERBOSE=1
upstream: get-orig-source
More information about the Reproducible-bugs
mailing list