Debian Bug report logs -
#977784
magicfilter: reproducible builds: embeds different paths when built on a usrmerge system
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 20 Dec 2020 20:27:01 UTC
Severity: normal
Tags: patch
Found in version magicfilter/1.2-65
Fixed in version magicfilter/1.2-66
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#977784; Package src:magicfilter.
(Sun, 20 Dec 2020 20:27:03 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>.
(Sun, 20 Dec 2020 20:27:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: magicfilter
Version: 1.2-65
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-bugs@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
[0007-debian-rules-Pass-GZIP-and-BZIP2-to-configure.patch (text/x-diff, inline)]
From 833e77e9ad1d269969094c07e72f119b434a8a91 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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 (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Sun, 20 Dec 2020 21:36:09 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sun, 20 Dec 2020 21:36:09 GMT) (full text, mbox, link).
Message #10 received at 977784-close@bugs.debian.org (full text, mbox, reply):
Source: magicfilter
Source-Version: 1.2-66
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
magicfilter, 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 977784@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 magicfilter 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 13:18:12 -0800
Source: magicfilter
Architecture: source
Version: 1.2-66
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 847016 974767 977783 977784
Changes:
magicfilter (1.2-66) unstable; urgency=medium
.
* QA upload.
.
[ Valerie R Young ]
* Make the build reproducible (fileordering) (Closes: #847016)
.
[ Helmut Grohne ]
* Fix failure to cross-build from source. (Closes: #974767)
.
[ Vagrant Cascadian ]
* debian/rules: Use -ffile-prefix-map in CFLAGS. (Closes: #977783)
* debian/rules: Pass GZIP and BZIP2 to configure. (Closes: #977784)
* debian/control: Update Vcs-* headers.
* debian/changelog: Remove trailing whitespace.
* debian/control: Set Rules-Requires-Root to no.
* debian/rules: Do not call chown for Rules-Requires-Root support.
* debian/rules: Use dpkg-deb with --root-owner-group to support
Rules-Requires-Root.
* debian/control: Update Standards-Version to 4.5.1.
Checksums-Sha1:
7562c8e16f88e3e1e1199f73edb20b2998dc43e4 1445 magicfilter_1.2-66.dsc
47e1f5085cc2c6544d1d3dfbe3230079aaf0250c 35316 magicfilter_1.2-66.debian.tar.xz
0e494655812514536ca041ec0a4b9cf2f9ca835d 7087 magicfilter_1.2-66_amd64.buildinfo
Checksums-Sha256:
1c9c7f63a87965162e0470022aa7f21a2b0287a64363e544163d1be3917fbc0b 1445 magicfilter_1.2-66.dsc
f2312a4b098df28cd4b61139f6ed2785eafa07b023ce33910306a51c5e9e8878 35316 magicfilter_1.2-66.debian.tar.xz
4920c7ae49eff366c4e2bd3b042d1003d263e10567baee325b6299e5de8f6797 7087 magicfilter_1.2-66_amd64.buildinfo
Files:
4515cd12e39f5dd4193a9851c579f575 1445 text optional magicfilter_1.2-66.dsc
f4cb146f2bb4a73a2fe870a18570512f 35316 text optional magicfilter_1.2-66.debian.tar.xz
2e9c1ed1e654d9d0e731d5b732080eae 7087 text optional magicfilter_1.2-66_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX9/AQiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqiUcAQCaQpsceTUlXS5b
qRf3JnqNfNcgJ8HCmexe3qH6ICuWbQD/Y2eTah/E+D7azvmkqVOQBICqdCf0GPf4
kZxtrYwQYws=
=MZ7+
-----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:30:31 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:52 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.