Debian Bug report logs - #950417
autoconf: reproducible builds: build time embedded in Autom4te/C4che.pm

version graph

Package: autoconf; Maintainer for autoconf is Debian QA Group <packages@qa.debian.org>; Source for autoconf is src:autoconf (PTS, buildd, popcon).

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

Date: Sat, 1 Feb 2020 10:42:02 UTC

Severity: normal

Tags: patch

Fixed in version autoconf/2.69-13

Done: Vagrant Cascadian <vagrant@reproducible-builds.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, vagrant@debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#950417; Package autoconf. (Sat, 01 Feb 2020 10:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to vagrant@debian.org, Ben Pfaff <pfaffben@debian.org>. (Sat, 01 Feb 2020 10:42:04 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: autoconf: reproducible builds: build time embedded in Autom4te/C4che.pm
Date: Sat, 01 Feb 2020 02:39:32 -0800
[Message part 1 (text/plain, inline)]
Package: autoconf
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

In debian/rules Autom4te/C4che.pm is modified to include the date as a
sort of version string.

The attached patch fixes this by using "dpkg-parsechangelog -SDate"
instead of "date", so that the timestamp is consistent between builds.


Thanks for maintaining autoconf.


live well,
  vagrant
[0003-debian-rules-Use-dpkg-parsechangelog-to-set-the-date.patch (text/x-diff, inline)]
From a79f47afb86fb6ac30a2bba7e133d7291c8296a3 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 1 Feb 2020 01:53:33 -0800
Subject: [PATCH 3/3] debian/rules: Use dpkg-parsechangelog to set the date in
 Autom4te/C4che.pm to ensure reproducible builds.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f84ad4b..7c6a39c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,6 @@ ifneq ($(DEB_BUILD_PROFILE),stage1)
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
 	    install-html install-info install-pdf install-ps install-man
 endif
-	perl -pi -e 's/^my \$$VERSION.*/my \$$VERSION = "'"`date`"'";/;' \
+	perl -pi -e 's/^my \$$VERSION.*/my \$$VERSION = "'"`dpkg-parsechangelog -SDate`"'";/;' \
 	    debian/tmp/usr/share/autoconf/Autom4te/C4che.pm 
 
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 20 Dec 2020 10:36:08 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sun, 20 Dec 2020 10:36:08 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 950417-close@bugs.debian.org
Subject: Bug#950417: fixed in autoconf 2.69-13
Date: Sun, 20 Dec 2020 10:33:23 +0000
Source: autoconf
Source-Version: 2.69-13
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
autoconf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 950417@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated autoconf package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 20 Dec 2020 02:16:50 -0800
Source: autoconf
Architecture: source
Version: 2.69-13
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 950415 950416 950417
Changes:
 autoconf (2.69-13) unstable; urgency=medium
 .
   * QA upload.
   * Pass SHELL=/bin/sh to configure. Closes: #950415
   * export FORCE_SOURCE_DATE=1 to get texlive to respect
     SOURCE_DATE_EPOCH. Closes: #950416
   * Use dpkg-parsechangelog to set the date in Autom4te/C4che.pm.
     Closes: #950417
   * debian/rules: Set Rules-Requires-Root to no.
   * Update to debhelper-compat 13.
   * debian/rules: Add dh_missing override to list missing files.
   * debian/changelog, debian/control, debian/rules: Remove trailing
     whitespace.
   * debian/copyright: Use https URLs.
   * debian/control: Use more common case for "Multi-Arch".
   * autoconf-doc: Adjust doc-base to point new file location in
     /usr/share/doc/autoconf.
Checksums-Sha1:
 fdb6964c11ac01467c8e7a97bff2793e96d93c98 1521 autoconf_2.69-13.dsc
 d2483bab964fd89803e8e7ce091ae660674f4bdc 24064 autoconf_2.69-13.debian.tar.xz
Checksums-Sha256:
 9dd9d83c506e650606f8b90ba18ec512ed8df9b05d7044adc6c14aee0bab624f 1521 autoconf_2.69-13.dsc
 259cbb6a097a0f407c4f660ea418b832f180e94adb7c152eb75a0fcde3844854 24064 autoconf_2.69-13.debian.tar.xz
Files:
 05b562af13c24b3fdb259d1322164d70 1521 devel optional autoconf_2.69-13.dsc
 a3a562a820dfd1dff3c63124b796c519 24064 devel optional autoconf_2.69-13.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX98mISAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqkPqAP4vY7SjNatc3ouo
SzN1pUdJKtW+lHHHxNa107hV/0GiaQEAh+MM4qyIM/xObd64KzPSJGY0kLrdsVJq
XHsHC5rY1gM=
=0bFB
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 22 Jan 2021 07:25:18 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:38 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.