Debian Bug report logs - #991926
grub2: reproducible builds: timestamps in info pages

Package: src:grub2; Maintainer for src:grub2 is GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>;

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

Date: Thu, 5 Aug 2021 22:00:02 UTC

Severity: normal

Tags: patch

Reply or subscribe to this bug.

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, GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>:
Bug#991926; Package src:grub2. (Thu, 05 Aug 2021 22:00: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, GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>. (Thu, 05 Aug 2021 22:00: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: grub2: reproducible builds: timestamps in info pages
Date: Thu, 05 Aug 2021 14:56:43 -0700
[Message part 1 (text/plain, inline)]
Source: grub2
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Timestamps are embedded in the info pages shipped in grub2-common:

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

  ./usr/share/info/grub.info-1.gz

  ...27·August·2022
  vs.
  ...24·July·2021


The attached patches fix this by removing the UPDATED parts from
docs/grub-dev.texi and docs/grub.texi.


There are still several other outstanding issues affecting the
reproducibility of grub2(including other timestamp issues), but this
should help reduce the differences to troubleshoot the remaining issues.


Thanks for maintaining grub2!


live well,
  vagrant
[0002-Remove-updated-timestamps-from-grub.texi-and-grub-de.patch (text/x-diff, inline)]
From 5350251d24394b67c2075ece7a4af18a8a299b0a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 26 Jul 2021 00:05:21 +0000
Subject: [PATCH 2/3] Remove updated timestamps from grub.texi and
 grub-dev.texi

The timestamps are embedded in the documentation at build time, which
does not accurately reflect when the documentation was last updated,
and obviously causes issues for reproducible builds to embed the build
time.

https://reproducible-builds.org/docs/timestamps/
---
 docs/grub-dev.texi | 5 ++---
 docs/grub.texi     | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
index 635ec7231..6accaf4c8 100644
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -17,8 +17,7 @@
 @finalout
 
 @copying
-This developer manual is for GNU GRUB (version @value{VERSION},
-@value{UPDATED}).
+This developer manual is for GNU GRUB (version @value{VERSION}).
 
 Copyright @copyright{} 1999,2000,2001,2002,2004,2005,2006,2008,2009,2010,2011 Free Software Foundation, Inc.
 
@@ -40,7 +39,7 @@ Invariant Sections.
 @titlepage
 @sp 10
 @title the GNU GRUB developer manual
-@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}.
+@subtitle The GRand Unified Bootloader, version @value{VERSION}.
 @author Yoshinori K. Okuji
 @author Colin D Bennett
 @author Vesa Jääskeläinen
diff --git a/docs/grub.texi b/docs/grub.texi
index 25f77d342..a3dc79301 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -17,8 +17,7 @@
 @finalout
 
 @copying
-This manual is for GNU GRUB (version @value{VERSION},
-@value{UPDATED}).
+This manual is for GNU GRUB (version @value{VERSION}).
 
 Copyright @copyright{} 1999,2000,2001,2002,2004,2006,2008,2009,2010,2011,2012,2013 Free Software Foundation, Inc.
 
@@ -48,7 +47,7 @@ Invariant Sections.
 @titlepage
 @sp 10
 @title the GNU GRUB manual
-@subtitle The GRand Unified Bootloader, version @value{VERSION}, @value{UPDATED}.
+@subtitle The GRand Unified Bootloader, version @value{VERSION}.
 @author Gordon Matzigkeit
 @author Yoshinori K. Okuji
 @author Colin Watson
-- 
2.32.0

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

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:04:13 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.