Source: gnu-standards Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build timestamp is embedded in various .dvi files: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gnu-standards.html /usr/share/doc/gnu-standards/maintain.dvi.gz ··TeX·output·2022. vs. ··TeX·output·2021. ··09.23:2204...... vs. ··08.22:1745...... The attached patch fixes this by setting FORCE_SOURCE_DATE=1 in debian/rules, which texlive needs in order to respect SOURCE_DATE_EPOCH, which is set during debian package builds to the timestamp in the latest debian/changelog entry. https://reproducible-builds.org/docs/source-date-epoch/ With this patch applied, gnu-standards should build reproducibly on tests.reproducible-builds.org Thanks for maintaining gnu-standards! live well, vagrant
From bf0d87b0b24f1372eedb1fcb885488acb7a3acc6 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 3 Oct 2021 17:05:34 +0000 Subject: [PATCH] debian/rules: Export FORCE_SOURCE_DATE=1 in order for texlive to respect SOURCE_DATE_EPOCH when generating .dvi file. https://reproducible-builds.org/docs/source-date-epoch/ --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index a8f6c74..2181658 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,9 @@ DOCUMENTS = standards.texi maintain.texi +# Ensure texlive respects SOURCE_DATE_EPOCH +export FORCE_SOURCE_DATE=1 + build: build-stamp build-stamp: dh_testdir -- 2.33.0
signature.asc
Description: PGP signature