Debian Bug report logs - #978610
a2ps: reproducible builds: Embeds build time README and info page

version graph

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

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

Date: Tue, 29 Dec 2020 08:21:01 UTC

Severity: normal

Tags: patch

Fixed in version a2ps/1:4.14-6

Done: Vagrant Cascadian <vagrant@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, Debian QA Group <packages@qa.debian.org>:
Bug#978610; Package a2ps. (Tue, 29 Dec 2020 08:21:03 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, Debian QA Group <packages@qa.debian.org>. (Tue, 29 Dec 2020 08:21:03 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: submit@bugs.debian.org
Subject: a2ps: reproducible builds: Embeds build time README and info page
Date: Tue, 29 Dec 2020 00:18:38 -0800
[Message part 1 (text/plain, inline)]
Package: a2ps
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The README and a2ps embed the build time:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/a2ps.html

  README
  Mon·Nov·30·21:05:05·-12·2020
  vs.
  Tue·Jan··4·05:31:47·+14·2022


The attached patches fix this by passing arguments to date to support
SOURCE_DATE_EPOCH and by removing the UPDATED calls in the .texi files
used to generate the documentation.


Thanks for maintaining a2ps!


live well,
  vagrant
[0001-etc-Makefile.-Pass-arguments-to-date-to-support-SOUR.patch (text/x-diff, inline)]
From 4c7ac30978cf3d4657274e139d4b1f30155f63e2 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 07:16:56 +0000
Subject: [PATCH 1/6] etc/Makefile.*: Pass arguments to date to support
 SOURCE_DATE_EPOCH when generating README.

https://reproducible-builds.org/docs/source-date-epoch/
---
 etc/Makefile.am | 2 +-
 etc/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/Makefile.am b/etc/Makefile.am
index b0cdcac..9b75777 100644
--- a/etc/Makefile.am
+++ b/etc/Makefile.am
@@ -44,5 +44,5 @@ a2ps.cfg: a2ps_cfg Makefile
 
 # Building a time stamp to know the version.
 README: README.in Makefile
-	sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"	\
+	sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g"	\
 	$(srcdir)/README.in > README
diff --git a/etc/Makefile.in b/etc/Makefile.in
index 0fe7d4c..50af809 100644
--- a/etc/Makefile.in
+++ b/etc/Makefile.in
@@ -486,7 +486,7 @@ a2ps.cfg: a2ps_cfg Makefile
 
 # Building a time stamp to know the version.
 README: README.in Makefile
-	sed "s!@date@!`date`!g;s!@version@!$(VERSION)!g"	\
+	sed "s!@date@!`LC_ALL=C date --utc --date=@$(SOURCE_DATE_EPOCH)`!g;s!@version@!$(VERSION)!g"	\
 	$(srcdir)/README.in > README
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
-- 
2.20.1

[0004-doc-a2ps.texi-Remove-dates-from-generated-documentat.patch (text/x-diff, inline)]
From b21b23ae6a8e867b4941eab3486d6d940ae48f61 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 07:52:21 +0000
Subject: [PATCH 4/6] doc/a2ps.texi: Remove dates from generated documentation.

---
 doc/a2ps.texi | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/a2ps.texi b/doc/a2ps.texi
index 5a99e8d..18c0f91 100644
--- a/doc/a2ps.texi
+++ b/doc/a2ps.texi
@@ -103,7 +103,7 @@ approved by the author.
 @titlepage
 @title GNU a2ps, version @value{VERSION}
 @subtitle General Purpose PostScript Generating Utility
-@subtitle Edition @value{EDITION}, @value{UPDATED}
+@subtitle Edition @value{EDITION}
 @author Akim Demaille
 @author Miguel Santana
 
@@ -141,8 +141,7 @@ GNU @pack{} is a filter which generates PostScript from various formats,
 with pretty-printing features, strong support for many alphabets, and
 customizable layout.
 
-This is Edition @value{VERSION} of the @pack{} documentation, updated
-@value{UPDATED}.
+This is Edition @value{VERSION} of the @pack{} documentation.
 
 @menu
 * Introduction::                Foreword
-- 
2.20.1

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

Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Wed, 30 Dec 2020 04:21:12 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 30 Dec 2020 04:21:12 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 978610-close@bugs.debian.org
Subject: Bug#978610: fixed in a2ps 1:4.14-6
Date: Wed, 30 Dec 2020 04:18:21 +0000
Source: a2ps
Source-Version: 1:4.14-6
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
a2ps, 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 978610@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated a2ps 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: Tue, 29 Dec 2020 20:01:09 -0800
Source: a2ps
Architecture: source
Version: 1:4.14-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 971819 971820 971821 978609 978610
Changes:
 a2ps (1:4.14-6) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Vagrant Cascadian ]
   * etc/Makefile.*: Pass arguments to date to support SOURCE_DATE_EPOCH
     when generating README. (Closes: #978610)
   * man/Makefile.*: Patch to use the system help2man.
     (Closes: #978609, #971819)
   * debian/control: Add help2man to Build-Depends.
   * doc/a2ps.texi: Remove dates from generated documentation.
     (Closes: #978610)
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/copyright: Update pointer to GPL-3.
   * debian/rules: Switch to dh.
   * debian/rules: Add dh_auto_test override to not fail on test suite
     failures.
   * Update to debhelper-compat 13.
   * debian/rules: Pass --without autoreconf to dh.
   * debian/rules: Pass configure options without --runstatedir, which is
     unsupported in the current configure script.
   * debian/mime: Remove quotes around %s to fix lintian issue.
   * debian/control: Add Homepage.
   * debian/control: Remove Build-Depends on autotools-dev, handled by
     debhelper-compat level.
   * debian/control: Add Vcs headers.
   * debian/control: Update Standards-Version to 4.5.1.
 .
   [ Bjarni Ingi Gislason ]
   * composeglyphs.1: Remove a repeated word (Closes: #971820).
   * fixnt.1: fix formatting of references to manuals (Closes: #971821).
Checksums-Sha1:
 13c2cc14f8a8c51fc247a50dac4cb35302741d9e 1527 a2ps_4.14-6.dsc
 565af99c823668799c5e5f33d3fccfd893442789 28008 a2ps_4.14-6.debian.tar.xz
Checksums-Sha256:
 a303e24705558977aab36ae1263f4d3ba2db1e47e26b0b8b106fda95a7c8f291 1527 a2ps_4.14-6.dsc
 510d2baedd08504e5fa4042ad23cbdc5966d73e3464335d5ac2eb4c072d7dbc0 28008 a2ps_4.14-6.debian.tar.xz
Files:
 5d6868a427db5b8591d1db600d461959 1527 text optional a2ps_4.14-6.dsc
 6e0b8e3c38325583d859d3d96e3c6fc2 28008 text optional a2ps_4.14-6.debian.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+v9RBMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaq1qoA/3HwgZFNOnsqvtOdkEy/m8VV3MjPq1GR
YE1LFTPbkzA2AQD5Zn7sVRP+ATUnFp6VNO5kjG0+LS9UVSdChszLOXsSAg==
=YsVc
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 01 Feb 2021 07:25:11 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 12:51:07 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.