Debian Bug report logs - #995652
gnu-standards: reproducible builds: Embedded timestamps in .dvi file

version graph

Package: src:gnu-standards; Maintainer for src:gnu-standards is Tim Retout <diocles@debian.org>;

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

Date: Sun, 3 Oct 2021 17:12:02 UTC

Severity: normal

Tags: patch

Fixed in version gnu-standards/2022.03.23-0.1

Done: Matthias Klose <doko@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, Tim Retout <diocles@debian.org>:
Bug#995652; Package src:gnu-standards. (Sun, 03 Oct 2021 17:12:04 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, Tim Retout <diocles@debian.org>. (Sun, 03 Oct 2021 17:12: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: submit@bugs.debian.org
Subject: gnu-standards: reproducible builds: Embedded timestamps in .dvi file
Date: Sun, 03 Oct 2021 10:09:27 -0700
[Message part 1 (text/plain, inline)]
Source: gnu-standards
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@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
[0001-debian-rules-Export-FORCE_SOURCE_DATE-1-in-order-for.patch (text/x-diff, inline)]
From bf0d87b0b24f1372eedb1fcb885488acb7a3acc6 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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 (application/pgp-signature, inline)]

Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility. (Wed, 23 Mar 2022 15:27:13 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 23 Mar 2022 15:27:13 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 995652-close@bugs.debian.org
Subject: Bug#995652: fixed in gnu-standards 2022.03.23-0.1
Date: Wed, 23 Mar 2022 15:22:57 +0000
Source: gnu-standards
Source-Version: 2022.03.23-0.1
Done: Matthias Klose <doko@debian.org>

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gnu-standards 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: SHA256

Format: 1.8
Date: Wed, 23 Mar 2022 15:48:33 +0100
Source: gnu-standards
Built-For-Profiles: noudeb
Architecture: source
Version: 2022.03.23-0.1
Distribution: unstable
Urgency: medium
Maintainer: Tim Retout <diocles@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 741151 965564 978484 995652 998980
Changes:
 gnu-standards (2022.03.23-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Update from the upstream VCS. Closes: #741151.
   * Bump debhelper and standards version. Closes: #965564.
   * Add build targets. Closes: #998980.
   * Mark as M-A: foreign. Closes: #978484.
   * Make the build reproduible. Closes: #995652.
Checksums-Sha1:
 797017bc0742a3fd40b7a3ab5d5d6d7f330cf153 2041 gnu-standards_2022.03.23-0.1.dsc
 b809eb34f2773595956e73a3d0831e34edc516c9 132762 gnu-standards_2022.03.23.orig.tar.gz
 b670ed1b767bfc2b74b33b87150c6e87fa01ba9d 4688 gnu-standards_2022.03.23-0.1.debian.tar.xz
 3ac638bd67077ce6645ab24452aa3d68580e90dc 6552 gnu-standards_2022.03.23-0.1_source.buildinfo
Checksums-Sha256:
 1e04df695c01f61316bf71874eb86008b33732f0db33cd31b68b91a76613f7bf 2041 gnu-standards_2022.03.23-0.1.dsc
 f7cd65d222f15195afd6cee6411fd0a598fe2059d83b9a83ff2c1efb94910119 132762 gnu-standards_2022.03.23.orig.tar.gz
 6ddb17f2c5797999a7b5b6c65bb2dd567cf92b090530374afb24e49db42f8564 4688 gnu-standards_2022.03.23-0.1.debian.tar.xz
 ceb920a093b30206be514cedc7607ec9532cabe3dd0a73087426dc8447837e27 6552 gnu-standards_2022.03.23-0.1_source.buildinfo
Files:
 47e6158d60470b71e7a8c8f285390350 2041 doc optional gnu-standards_2022.03.23-0.1.dsc
 daa5d9ea7d496a4fe4902615e84b4afc 132762 doc optional gnu-standards_2022.03.23.orig.tar.gz
 a8938455ebe5d907fc40760265966d40 4688 doc optional gnu-standards_2022.03.23-0.1.debian.tar.xz
 6f65e89f4fb89b58960e2c1bd1c2cbc3 6552 doc optional gnu-standards_2022.03.23-0.1_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmI7NXgQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9VBbD/9RbKJUvFk18eKlpEsIWw04F9cOi6x+0n+o
rs1efCuSoQ5WQH1ygG4HhjXOJusarlBJUnsVGMp9mmaNuoNUka44xZlErt8jpaOj
88ltO+XTo6dDN3HNW93YroFNw//ARdvUJERGghwsnhbdhV8Uo/xpK6E1BcPETnmw
Lwza/vvBUoqeJzKUwZWjsYFNN8hys7rqeclRGSsA0OhnqwUMinQdiOuYPW67icYj
lXE0bvB3k2mDnWbzcEGlnNA8EQYwqBrWDoVjjiPq1dFApwOU5eRxY+eBmuC89Rc3
465VcfKU469TbX+aTMnrYYQD2lnw7yvCMEIz1gN4upLAV9dUi002Hchf+uwFoM7q
Z7XlUoeu7NVcrOpxrM59BaonAn01DiJYVMi/CUO8CcgWZQiko72IYppgcsGvkBZS
oJvICwXQCEKYr6HgtOvRYDPLzgOkT5v5IAutasm+TMBp8cEFps4gyUUuj8nM5WP8
n15jIbwPZwDAJzCe2Ckk2BW95oiAnwcgqhKdG+HDe5VZPFfL9slOG0i6XAl0dq3q
wX898StJ6BU0UtPKJLjEoGzJATanSw/MkmtXnQ4DRsXJ87s5/B/ueLVylq5w4gNa
12HNUqBa47xPuXAoTBLzIMNOFziHltNflemHqyYesAx5UYYIX+2DGRuLyIkB87N+
tLTYG6mq9w==
=qEXv
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 26 Apr 2022 07:27:02 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:59:27 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.