Debian Bug report logs - #978067
epm: reproducible builds: /usr/bin/epm contains embedded path to "gzip"

version graph

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

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

Date: Fri, 25 Dec 2020 11:33:02 UTC

Severity: normal

Tags: patch

Fixed in version epm/4.2-9

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#978067; Package src:epm. (Fri, 25 Dec 2020 11:33: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, Debian QA Group <packages@qa.debian.org>. (Fri, 25 Dec 2020 11:33: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: epm: reproducible builds: /usr/bin/epm contains embedded path to "gzip"
Date: Fri, 25 Dec 2020 03:30:51 -0800
[Message part 1 (text/plain, inline)]
Source: epm
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The file /usr/bin/epm contains an embedded path to the "gzip" command:

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

  /bin/gzip·-vf9·%s.pkg
  vs.
  /usr/bin/gzip·-vf9·%s.pkg


The attached patch fixes this by passing the GZIP variable to configure.


Thanks for maintaining epm!


live well,
  vagrant
[0001-debian-rules-Pass-GZIP-to-configure.patch (text/x-diff, inline)]
From 554364105e02b2301216aa4a130fe7abe019dbbe Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Dec 2020 11:13:49 +0000
Subject: [PATCH] debian/rules: Pass GZIP to configure.

The path to "gzip" may vary as either /bin/gzip or /usr/bin/gzip if
the system is configured as a usrmerge system. Use /bin/gzip for the
most compatible location.

https://tests.reproducible-builds.org/debian/issues/unstable/paths_vary_due_to_usrmerge_issue.html
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 27da069..b3287aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,7 +37,7 @@ build-indep: build-stamp
 build-stamp:
 	dh_testdir
 
-	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info GZIP=/bin/gzip
 	# Add here commands to compile the package.
 	$(MAKE)
 	mv doc/epm-book.html doc/epm-book.html.save
-- 
2.20.1

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

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Fri, 25 Dec 2020 13:06:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 25 Dec 2020 13:06:04 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 978067-close@bugs.debian.org
Subject: Bug#978067: fixed in epm 4.2-9
Date: Fri, 25 Dec 2020 13:03:18 +0000
Source: epm
Source-Version: 4.2-9
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
epm, 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 978067@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 epm 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: Fri, 25 Dec 2020 04:40:40 -0800
Source: epm
Architecture: source
Version: 4.2-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 978067
Changes:
 epm (4.2-9) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Remove trailing whitespace.
   * debian/rules: Pass GZIP to configure (Closes: #978067).
   * debian/rules: Get DEB_HOST_ARCH value from dpkg/architecture.mk.
   * Switch to debhelper-compat 13.
   * debian/control: Update Vcs headers.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/rules: Switch to "dh".
   * debian/rules: Remove boilerplate comments.
   * debian/control: Update Standards-Version to 4.5.1.
Checksums-Sha1:
 9a161314771da73e8878198bb14460a72d1f3197 1424 epm_4.2-9.dsc
 94d3afa93097dae552f485c0a39e238699401471 7016 epm_4.2-9.debian.tar.xz
Checksums-Sha256:
 ed949449311ed2c16a1f5bf0fd54b8f75cabc464c0faa913849432d1f55c1589 1424 epm_4.2-9.dsc
 8e7908300e46fae728334a69bbfd63fee0c3d398b4eb50b7a4e8e377d8d2e92b 7016 epm_4.2-9.debian.tar.xz
Files:
 79216837140b5d04174cd0b915affbac 1424 devel optional epm_4.2-9.dsc
 114a19b9d2e67cf505e41a241d66fec8 7016 devel optional epm_4.2-9.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+XewSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqrGYAQDp3zk3VRGyzN8c
IBH/PgbwfQa+9VpekrJ3E6VgiLW+7wEA7EhWEyh0V7/KxpnluH8MgNbhifJK0QbR
ZMTw1NUi6gQ=
=e57i
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 29 Jan 2021 07:29:44 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:49:45 2023; Machine Name: bembo

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.