Debian Bug report logs -
#1010486
metapixel: reproducible-builds: Embedded build path in /usr/bin/metapixel
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 2 May 2022 15:27:04 UTC
Severity: normal
Tags: patch
Fixed in version metapixel/1.0.2-10
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#1010486; Package src:metapixel.
(Mon, 02 May 2022 15:27: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>.
(Mon, 02 May 2022 15:27:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: metapixel
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The build path is embedded in /usr/bin/metapixel and
/usr/bin/metapixel-imagesize:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/metapixel.html
/build/1st/metapixel-1.0.2/rwimg/readimage.c:115
vs.
/build/2/metapixel-1.0.2/2nd/rwimg/readimage.c:115
The attached patch to debian/rules fixes this by passing the
-ffile-prefix-map compiler flag via dh_auto_build.
With this patch applied metapixel should build reproducibly on
tests.reproducible-builds.org!
Thanks for maintaining metapixel!
live well,
vagrant
[0001-debian-rules-Pass-ffile-prefix-map-to-dh_auto_build.patch (text/x-diff, inline)]
From 66bf12a0ef3d945b04d04adb8904d2146d17ab67 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 2 May 2022 15:13:03 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map to dh_auto_build.
This avoids embedding the absolute build path in /usr/bin/metapixel*
https://reproducible-builds.org/docs/build-path/
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index d58bd31..8975aef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ MANDIR = $(PREFIX)/usr/share/man
dh $@
override_dh_auto_build:
- dh_auto_build -- MANPAGE_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+ dh_auto_build -- PROFILE="-ffile-prefix-map=$(CURDIR)=." MANPAGE_XSL=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
override_dh_auto_install:
dh_auto_install -- PREFIX=$(PREFIX) BINDIR=$(BINDIR) MANDIR=$(MANDIR)
--
2.36.0
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Mon, 02 May 2022 21:09:06 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Mon, 02 May 2022 21:09:06 GMT) (full text, mbox, link).
Message #10 received at 1010486-close@bugs.debian.org (full text, mbox, reply):
Source: metapixel
Source-Version: 1.0.2-10
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
metapixel, 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 1010486@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 metapixel 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: Mon, 02 May 2022 13:43:54 -0700
Source: metapixel
Architecture: source
Version: 1.0.2-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 1010486
Changes:
metapixel (1.0.2-10) unstable; urgency=medium
.
* QA upload.
* debian/rules: Pass -ffile-prefix-map to dh_auto_build.
(Closes: #1010486)
Checksums-Sha1:
1d0ac59390b5db0665bc9cbd79b0b07b1adb363a 1374 metapixel_1.0.2-10.dsc
bd01a7e3dc22b95b55b5958906a5ec3754d8f0ae 5680 metapixel_1.0.2-10.debian.tar.xz
ca333be943ba6bef08e1a8b8b7a06e9857561be3 5920 metapixel_1.0.2-10_arm64.buildinfo
Checksums-Sha256:
82483f3b59cbb010d89e9b588492bff9297446cf855b1c02a8a650993c4c70be 1374 metapixel_1.0.2-10.dsc
449b770ae2f968099573ae947c9d1b4c6546ba040cea88d006edfff7e6a4b2d1 5680 metapixel_1.0.2-10.debian.tar.xz
039ea9a528e7b1b609b475b15d8082025a95bddf5265dc60cd315d24e561ab3a 5920 metapixel_1.0.2-10_arm64.buildinfo
Files:
0c5561afa7263d045271322ec310eb27 1374 graphics optional metapixel_1.0.2-10.dsc
163df51e3242de78cd8df78476823e4f 5680 graphics optional metapixel_1.0.2-10.debian.tar.xz
2e51b98ba20afe74e06646edaefa17d1 5920 graphics optional metapixel_1.0.2-10_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnBE6CAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqsvzAPoCA2SEzRPAcB+v
aWB9Wcbm9oxAhFCf2D9nn0U3M8dKLAD9H6kc3PKhLcb9qnJFlFJPLB/qM02jjDs3
laA284nrwwI=
=2y1n
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 05 Jun 2022 07:26: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:37:59 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.