961766">

Debian Bug report logs - #961766
Enable reproducible builds by switching to help2man from Debian.

version graph

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

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

Date: Fri, 29 May 2020 02:15:02 UTC

Severity: normal

Tags: patch

Fixed in version grub/0.97-76

Done: Colin Watson <cjwatson@debian.org>

Bug is archived. No further changes may be made.

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#961766; Package src:grub. (Fri, 29 May 2020 02:15: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>. (Fri, 29 May 2020 02:15: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: Enable reproducible builds by switching to help2man from Debian.
Date: Thu, 28 May 2020 19:10:58 -0700
[Message part 1 (text/plain, inline)]
Source: grub
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The help2man version shipped in grub embeds timestamps without
respecting the SOURCE_DATE_EPOCH environment variable.

  https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_manpages_generated_by_help2man_issue.html

The attached patch switches grub to use help2man from Debian, which
generates manpages with a reproducible timestamp.


live well,
  vagrant

[0001-Enable-reproducible-builds-by-switching-to-help2man-.patch (text/x-diff, inline)]
From 30203aa2acb600698782127472cbe3f0d499b609 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 29 May 2020 01:58:35 +0000
Subject: [PATCH] Enable reproducible builds by switching to help2man from
 Debian.

The help2man version shipped in grub embeds timestamps without
respecting the SOURCE_DATE_EPOCH environment variable.
---
 debian/control |  1 +
 debian/rules   | 10 ++++------
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index df10b42..3f3c22e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>
 Uploaders: Robert Millan <rmh.debian@aybabtu.com>, Felix Zielcke <fzielcke@z-51.de>, Colin Watson <cjwatson@debian.org>
 Build-Depends: debhelper-compat (= 12),
  dh-exec,
+ help2man,
  texinfo,
  libncurses5-dev | libncurses-dev,
  gcc-multilib [amd64]
diff --git a/debian/rules b/debian/rules
index 9524c6d..d9658eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,13 +14,11 @@ override_dh_auto_configure:
 override_dh_auto_build-arch:
 	dh_auto_build
 
-	chmod +x docs/help2man
-
 	## the creation of these manpages here is temporary,
 	## when building grub finally works with the version
 	## of autoconf in debian we can use MAINTAINER_MODE_TRUE
 	# create man page for grub
-	( cd docs && ./help2man \
+	( cd docs && help2man \
 	--name="the grub shell" \
 	--include=grub.8.additions \
 	--section=8 --output=grub.8 \
@@ -28,21 +26,21 @@ override_dh_auto_build-arch:
 
 	# create man page for grub-install
 	( cd util && chmod 755 grub-install )
-	( cd docs && ./help2man \
+	( cd docs && help2man \
 	--name="install GRUB on your drive" \
 	--include=grub-install.8.additions \
 	--section=8 --output=grub-install.8 \
 	../util/grub-install )
 
 	# create man page for mbchk
-	( cd docs && ./help2man \
+	( cd docs && help2man \
 	--name="check the format of a Multiboot kernel" \
 	--section=1 --output=mbchk.1 \
 	../util/mbchk )
 
 	# create man page for grub-md5-crypt
 	( cd util && chmod 755 grub-md5-crypt )
-	( cd docs && ./help2man \
+	( cd docs && help2man \
 	--name="Encrypt a password in MD5 format" \
 	--section=8 --output=grub-md5-crypt.8 \
 	../util/grub-md5-crypt )
-- 
2.20.1

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

Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#961766. (Fri, 29 May 2020 14:51:04 GMT) (full text, mbox, link).


Message #8 received at 961766-submitter@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: 961766-submitter@bugs.debian.org
Subject: Bug#961766 marked as pending in grub
Date: Fri, 29 May 2020 14:47:12 +0000
Control: tag -1 pending

Hello,

Bug #961766 in grub reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/grub-team/grub-legacy/-/commit/d1afdac2697ca33ef6f9cffaa1f21fe67c018c3a

------------------------------------------------------------------------
Enable reproducible builds by switching to help2man from Debian

The help2man version shipped in grub embeds timestamps without
respecting the SOURCE_DATE_EPOCH environment variable.

Closes: #961766
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/961766



Added tag(s) pending. Request was from Colin Watson <cjwatson@debian.org> to 961766-submitter@bugs.debian.org. (Fri, 29 May 2020 14:51:04 GMT) (full text, mbox, link).


Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Fri, 29 May 2020 15:36:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 29 May 2020 15:36:05 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 961766-close@bugs.debian.org
Subject: Bug#961766: fixed in grub 0.97-76
Date: Fri, 29 May 2020 15:33:43 +0000
Source: grub
Source-Version: 0.97-76
Done: Colin Watson <cjwatson@debian.org>

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

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated grub 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: Fri, 29 May 2020 16:12:18 +0100
Source: grub
Architecture: source
Version: 0.97-76
Distribution: unstable
Urgency: medium
Maintainer: GRUB Maintainers <pkg-grub-devel@alioth-lists.debian.net>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 961766
Changes:
 grub (0.97-76) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Bump debhelper from old 9 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Remove patches fix_amd64_compile.patch that are missing from
     debian/patches/series.
   * Add missing colon in closes line.
   * Drop unnecessary dependency on dh-autoreconf.
   * Fix day-of-week for changelog entries 0.5-1.
 .
   [ Vagrant Cascadian ]
   * Enable reproducible builds by switching to help2man from Debian (closes:
     #961766).
 .
   [ Colin Watson ]
   * Stop texi2html embedding the building user's name in generated
     documentation.
Checksums-Sha1:
 49fe9bee7fb424b98f462d937665ce3d02291eb6 2303 grub_0.97-76.dsc
 62df0eb8541e112e4804a42ef54a74dbc153a13c 74460 grub_0.97-76.debian.tar.xz
 c123a6697024f2005eb0b82a1cb10b0bb9762e12 7271 grub_0.97-76_source.buildinfo
Checksums-Sha256:
 7eb08246c69f4633851b6f13a1b5508a9868bc02f99ebb1c9ec49d46f3e293c1 2303 grub_0.97-76.dsc
 a9daea960e32a80c34237a1ea82903ecd067db4e2871f6ba9e296de31f9ced8b 74460 grub_0.97-76.debian.tar.xz
 9adcd1563a488c7fd57ebd529b83fb19abbfdd1820a1e7700b3f041037a54698 7271 grub_0.97-76_source.buildinfo
Files:
 7b217903b075e74fa0c60d81cdccc7ff 2303 admin optional grub_0.97-76.dsc
 9df75e390a335841e2bce3b4ad8733f0 74460 admin optional grub_0.97-76.debian.tar.xz
 d4bb35bcd81ee0c942189327af16b58b 7271 admin optional grub_0.97-76_source.buildinfo

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

iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAl7RJloACgkQOTWH2X2G
UAtBHRAAi+keFXbBazeI8mpwSNnB1Tn/Hj/LTlMziGK9rzWMFRl5tEtZ5zPXlFHT
kQa5wNifu6ERiDgGr7aQwUXuZ+Aj5N+jyFYRLswFq0TePNeu65qnLqnTxDcZjWVR
5RG0Gjh3MrGpW8pXAO8TVGM/Hzltuw5PvNiVDeKsduzzlOdGnX6qYJmF/wxW2jbw
5bxovD3c1UFTsD0TmGMAkraZVO0lVwNtPc2vAqyak7D1a3085poEzWRrqu1FsWVn
DK91vhLfEOvOtuPO//iGyzTTTeRdhJIdyy0FmPqnESdZuZ33Gt3NJO49Z39L0ZHV
oX3HvYZaMKuJh2FEsT27X4TATU8N/lYhhxaehjJaO/fF57u+aA3McOjyba9cVcC1
ZoiUxR3sotaorKqCHj9jX0DPY1s/2IaLCsvsMqYYPwgLkGzWV7sJZDljIVactZaH
2z6SST/AXfKqcw7ZokGSwdV/AXbjzaf8L/r+YjjSCCwpO5LCZp7ULIZfjaqYS2TJ
xqDHQVn+q3fbowtcWjiwfHgcXDJnTu8pzRIGsguCXIjZniYHkR7IfE8qUi0un3W7
GUop5hqJ0miED9hmsX5N/865HqauVP3PY5VFCfl2md9y1O4mussPnX4wFtjkt8rd
VIz+yw6Vh3LtTwA4keNZmDqD6rhf3ic3hADaSJQdGuLqlA2jjZA=
=s9OF
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 02 Jul 2020 07:29:54 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: Mon Feb 3 12:35:27 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.