Source: magicfilter Version: 1.2-65 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: usrmerge X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Various files in /etc/magicfilter contain different paths to bzip2 and gzip when build on a usrmerge system: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/magicfilter.html ./etc/magicfilter/tek4696-filter 0·BZh·pipe·/bin/bzip2·-cdq vs. 0·BZh·pipe·/usr/bin/bzip2·-cdq The attached patch fixes this in debian/rules by passing GZIP and BZIP2 to configure. live well, vagrant
From 833e77e9ad1d269969094c07e72f119b434a8a91 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 20 Dec 2020 20:00:40 +0000 Subject: [PATCH 7/8] debian/rules: Pass GZIP and BZIP2 to configure. The paths to "gzip" and "bzip2" are embedded in various files in /etc/magicfilter. They may be located in /bin or /usr/bin if the system is configured as a usrmerge system. Use the most compatible compatible location in /bin. https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index c8c81c3..c52c5f1 100755 --- a/debian/rules +++ b/debian/rules @@ -30,6 +30,8 @@ build: rm -f config.cache ./configure --prefix=/usr \ + GZIP=/bin/gzip \ + BZIP2=/bin/bzip2 \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --bindir=/usr/sbin -- 2.20.1
signature.asc
Description: PGP signature