Debian Bug report logs - #977609
grap: reproducible builds: Embeds running kernel in /usr/bin/grap

version graph

Package: src:grap; Maintainer for src:grap is Debian QA Group <packages@qa.debian.org>;

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

Date: Thu, 17 Dec 2020 19:12:04 UTC

Severity: normal

Tags: patch

Fixed in version grap/1.45-4

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, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#977609; Package src:grap. (Thu, 17 Dec 2020 19:12:06 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>. (Thu, 17 Dec 2020 19:12:06 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: grap: reproducible builds: Embeds running kernel in /usr/bin/grap
Date: Thu, 17 Dec 2020 11:10:22 -0800
[Message part 1 (text/plain, inline)]
Source: grap
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: kernel
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The running kernel is embedded in /usr/bin/grap:

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

  349 	Linux·5.9.0-0.bpo.2-amd64
  349 	Linux·4.19.0-13-amd64


The attached patch fixes by changing the call to "uname -sr" (e.g. Linux
4.19.0-13-amd64) to simply "uname -s" (e.g. Linux).


Thanks for maintaining grap!


live well,
  vagrant
[0001-Do-not-include-the-running-kernel-version-in-the-bin.patch (text/x-diff, inline)]
From 2ff1634b1df9ab3e3b11706ca37f1ba0c02c2733 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 17 Dec 2020 18:48:26 +0000
Subject: [PATCH] Do not include the running kernel version in the binaries.

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

---
 grap.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grap.m4 b/grap.m4
index 570133a..cc59090 100644
--- a/grap.m4
+++ b/grap.m4
@@ -272,7 +272,7 @@ fi
 dnl get the OS version.  Export it as OS_VERSION in an AC_SUBST
 AC_DEFUN([TVF_OS_VERSION],[
 AC_CACHE_CHECK(for OS version,tvf_cv_os_version,
-	tvf_cv_os_version=`uname -sr`
+	tvf_cv_os_version=`uname -s`
 )
 OS_VERSION=$tvf_cv_os_version
 AC_SUBST(OS_VERSION)
-- 
2.29.2

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

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Mon, 21 Dec 2020 05:21:11 GMT) (full text, mbox, link).


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


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977609-close@bugs.debian.org
Subject: Bug#977609: fixed in grap 1.45-4
Date: Mon, 21 Dec 2020 05:18:23 +0000
Source: grap
Source-Version: 1.45-4
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
grap, 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 977609@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 grap 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 21:03:15 -0800
Source: grap
Architecture: source
Version: 1.45-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 977609
Changes:
 grap (1.45-4) unstable; urgency=medium
 .
   * QA upload.
   * Do not embed the running kernel version in the binaries.
     (Closes: #977609)
   * debian/control: Set Rules-Requires-Root to no.
   * Update to debhelper-compat 13.
   * debian/copyright: Use https URLs.
   * debian/control: Update to Standards-Version 4.5.1.
Checksums-Sha1:
 ad21ddd741878cff977efea4c44e6938fac45ba4 1257 grap_1.45-4.dsc
 e770eea91fd4cfcc6e1765cc549e0ee39b3c8719 5444 grap_1.45-4.debian.tar.xz
Checksums-Sha256:
 5045ba95e96e7916e101bc458d168272bb9a3ff45be0a4d190d7253fe7aaf469 1257 grap_1.45-4.dsc
 24ce2188a8c6b0d5ddd4341e170a54b45bf7d69c18ef0475cdebbe61630707c9 5444 grap_1.45-4.debian.tar.xz
Files:
 69c9ad23db60ddc045c60ddd3ac7831e 1257 text optional grap_1.45-4.dsc
 b60ac70766aedef90d0dcaed22e11922 5444 text optional grap_1.45-4.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+At4SAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWql2DAQDUaVPKfLpRV+5c
x6FXyZDixg8AN9xrI4KGM9my9xNMVQEAw6pfS6M/C6IcGj2QyAuOyWg5oauZuTdR
fOddxY4L8wQ=
=/gaM
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 23 Jan 2021 07:25:30 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:06 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.