Debian Bug report logs - #950704
automake-1.15: timestamps in info files break reproducibility

version graph

Package: automake-1.15; Maintainer for automake-1.15 is Eric Dorland <eric@debian.org>; Source for automake-1.15 is src:automake-1.15 (PTS, buildd, popcon).

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Wed, 5 Feb 2020 05:27:04 UTC

Severity: normal

Tags: patch

Fixed in version 1:1.15.1-5.1+rm

Done: Debian FTP Masters <ftpmaster@ftp-master.debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Eric Dorland <eric@debian.org>:
Bug#950704; Package automake-1.15. (Wed, 05 Feb 2020 05:27:06 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Eric Dorland <eric@debian.org>. (Wed, 05 Feb 2020 05:27:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: automake-1.15: timestamps in info files break reproducibility
Date: Tue, 04 Feb 2020 21:23:23 -0800
[Message part 1 (text/plain, inline)]
Package: automake-1.15
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@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
[0001-Touch-automake.texi-with-SOURCE_DATE_EPOCH.patch (text/x-diff, inline)]
From 6cdbbbc2208bb72164e56d889d8683cb19e979cd Mon Sep 17 00:00:00 2001
From: Eric Dorland <eric@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 <vagrant@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 (application/pgp-signature, inline)]

Reply sent to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility. (Mon, 01 Feb 2021 22:21:37 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 01 Feb 2021 22:21:37 GMT) (full text, mbox, link).


Message #10 received at 950704-done@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 909210-done@bugs.debian.org,950704-done@bugs.debian.org,
Cc: automake-1.15@packages.debian.org
Subject: Bug#980241: Removed package(s) from unstable
Date: Mon, 01 Feb 2021 22:17:59 +0000
Version: 1:1.15.1-5.1+rm

Dear submitter,

as the package automake-1.15 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/980241

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Mar 2021 07:25:53 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:39:41 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.