Package: automake-1.15 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
When building automake-1.15 on different months, it leads to month and year getting embedded in the info pages, breaking reproducible builds. This was already fixed in the debian "automake" packaging. A simple patch is attached, backporting the commit from the debian "automake" packaging with minor adjustments. Alternately or additionally maybe follow-up on removing automake-1.15 from debian (#909210) in time for bullseye? live well, vagrant
From 6cdbbbc2208bb72164e56d889d8683cb19e979cd Mon Sep 17 00:00:00 2001 From: Eric Dorland <e...@debian.org> Date: Sun, 4 Nov 2018 20:08:15 -0500 Subject: [PATCH] Touch automake.texi with SOURCE_DATE_EPOCH Cherry-picked from 5d22ed623a0c32e0698f757930cf1c9f39300b69 in automake 1.16. Backported-by: Vagrant Cascadian <vagr...@reproducible-builds.org>. --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/rules b/debian/rules index 346c538b8..019a2cb97 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,7 @@ include /usr/share/dpkg/default.mk package=automake-1.15 version=1.15 infodir=doc +source_date = $(shell date -d "@$(SOURCE_DATE_EPOCH)") %: dh $@ @@ -17,6 +18,14 @@ endif override_dh_auto_test: # Don't run the test suite, too many tests are flaky at the moment +override_dh_auto_configure: + dh_auto_configure +ifneq ($(DEB_BUILD_PROFILE),stage1) +# Touch with SOURCE_DATE_EPOCH so version.texi is generated with a stable +# date. + touch -d "$(source_date)" doc/automake.texi +endif + override_dh_auto_build: ifeq ($(DEB_BUILD_PROFILE),stage1) touch doc/automake.info -- 2.20.1
signature.asc
Description: PGP signature