Bug#1037159: elinks: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Jun 6 17:46:30 BST 2023
Source: elinks
Version: 0.16.1.1-2
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
elinks could not be built reproducibly.
This because the manual PDF embeds the current build date:
├── ./usr/share/doc/elinks/manual.pdf.gz
├── manual.pdf
├── pdftotext {} -
│ @@ -13,15 +13,15 @@
│
│ WRITTEN BY
│
│ DATE
│
│ SIGNATURE
│
│ -June 5, 2023
│ +July 8, 2024
│
A patch is attached that exports FORCE_SOURCE_DATE in debian/rules,
a LaTeX-specific variable to ensure that LaTeX tools respect the
SOURCE_DATE_EPOCH environment variable.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-06-06 09:34:21.315523819 -0700
--- b/debian/rules 2023-06-06 09:41:59.679487294 -0700
@@ -2,6 +2,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
+export FORCE_SOURCE_DATE = 1
CONF_OPTS= -Dtest=true \
-Dlzma=true \
More information about the Reproducible-bugs
mailing list