Bug#1067218: gretl: please make the build reproducible
Hi Chris, On 20 March 2024 at 11:05, Chris Lamb wrote: | Source: gretl | Version: 2023c-2.1 | Severity: wishlist | Tags: patch | User: reproducible-bui...@lists.alioth.debian.org | Usertags: timestamps | X-Debbugs-Cc: reproducible-b...@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. With pleasure! Thanks for the patch. gretl_2023c-3 is now building, should be up 'shortly'. Dirk | [0] https://reproducible-builds.org/ | | | Regards, | | -- | ,''`. | : :' : Chris Lamb | `. `'` la...@debian.org / chris-lamb.co.uk |`- | x[DELETED ATTACHMENT gretl.diff.txt, plain text] -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
Bug#1067218: gretl: please make the build reproducible
Source: gretl Version: 2023c-2.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@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 `. `'` la...@debian.org / chris-lamb.co.uk `- --- a/debian/rules 2024-03-20 10:22:09.435742379 + --- b/debian/rules 2024-03-20 10:41:22.804750818 + @@ -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