[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1010486: marked as done (metapixel: reproducible-builds: Embedded build path in /usr/bin/metapixel)



Your message dated Mon, 02 May 2022 21:06:46 +0000
with message-id <E1nldFm-000DxS-3j@fasolo.debian.org>
and subject line Bug#1010486: fixed in metapixel 1.0.2-10
has caused the Debian Bug report #1010486,
regarding metapixel: reproducible-builds: Embedded build path in /usr/bin/metapixel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1010486: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010486
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: