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
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
Attachment:
signature.asc
Description: PGP signature