Debian Bug report logs -
#1021454
dbview: reproducible-builds: build path embedded in /usr/bin/dbview
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#1021454; Package src:dbview.
(Sat, 08 Oct 2022 21:24:04 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>.
(Sat, 08 Oct 2022 21:24:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: dbview
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/dbview:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/dbview.html
/build/1st/dbview-1.0.4/dbview.c:62
vs.
/build/2/dbview-1.0.4/2nd/dbview.c:62
The attached patch to the upstream Makefile fixes this by adding
-ffile-prefix-map to CFLAGS.
According to my local tests, with this patch applied, dbview should build
reproducibly on tests.reproducible-builds.org!
Thanks for maintaining dbview!
live well,
vagrant
[0003-Makefile-Add-ffile-prefix-map-to-CFLAGS-to-avoid-emb.patch (text/x-diff, inline)]
From 01ccb621098567fd523af9a892cd77384f870fe0 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 8 Oct 2022 21:16:04 +0000
Subject: [PATCH 3/3] Makefile: Add -ffile-prefix-map to CFLAGS to avoid
embedding build paths.
https://reproducible-builds.org/docs/build-path/
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ffa401f..3b7a265 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ MANO=man
MANG=man
CC= gcc
-CFLAGS= -g -O6 -fomit-frame-pointer -Wall -pipe
+CFLAGS= -g -O6 -fomit-frame-pointer -Wall -pipe -ffile-prefix-map=$(CURDIR)=.
# CFLAGS= -g -fomit-frame-pointer -Wall -pipe
# Look where your install program is
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Adam Borowski <kilobyte@angband.pl>:
You have taken responsibility.
(Sat, 08 Oct 2022 23:09:02 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Sat, 08 Oct 2022 23:09:03 GMT) (full text, mbox, link).
Message #10 received at 1021454-close@bugs.debian.org (full text, mbox, reply):
Source: dbview
Source-Version: 1.0.4-5
Done: Adam Borowski <kilobyte@angband.pl>
We believe that the bug you reported is fixed in the latest version of
dbview, 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 1021454@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated dbview 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, 09 Oct 2022 00:49:48 +0200
Source: dbview
Architecture: source
Version: 1.0.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Closes: 439875 671700 1021454
Changes:
dbview (1.0.4-5) unstable; urgency=medium
.
* QA upload.
* Fix man page typos (closes: 671700).
* Negate exit code (closes: #439875).
* Don't embed file paths (closes: #1021454).
* dh 13.
Checksums-Sha1:
2bbb9af0b58c7e08d3d1651f8627b7f93474edbf 1755 dbview_1.0.4-5.dsc
5ea88affbb19f95147460c10d6fe686ce6968781 4428 dbview_1.0.4-5.debian.tar.xz
dc6673e952b1ba4943b55d85ede0babe8d54c1c9 5485 dbview_1.0.4-5_source.buildinfo
Checksums-Sha256:
3cfd72a4a3d51bcb93846f45f6d8ef43d978c837a07eb2ccd089d050bba5f35e 1755 dbview_1.0.4-5.dsc
bec45f3d448c3dd592320d5ee8bb8e9edba4c08603fe490b301db4b91482419f 4428 dbview_1.0.4-5.debian.tar.xz
c5480881b7d3dfe1804ef378ad3fb80bfc1185d61e2fca011d9465f1c1b47c10 5485 dbview_1.0.4-5_source.buildinfo
Files:
a7d4172679916a6d88a7de8f4c14bdf1 1755 misc optional dbview_1.0.4-5.dsc
30c2bc3f78a2bb46bc235cee30ec8b26 4428 misc optional dbview_1.0.4-5.debian.tar.xz
d8e570f84bbd9314825ca6b8037b0ce4 5485 misc optional dbview_1.0.4-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmNB/vYACgkQweDZLphv
fH5k/Q//Q8JabIxZhmur3LNjevhrkKM39j10Z9v1bzFknzIQMsCiPqtZr6xDC3ud
Kh69AKygVcsBb4GubsFuqQU7ClMjjEmaGV43snPy9z6x9rSqiQoNLvGHIkB/bzCX
O8wCPlGYd1OEcTLbetaRYYLS/xoEQfqQhZzdb9nE6K9NWAZJy6tJkxVzGkvMdACI
55uGghqY/0ag3VFktCpQ2VNKVNIdTn2X8IJLoLHbR9I+t1mGiWuI9fl1kv+tqnyc
sE8vIInktLPa2U79hmPi9s175k1RUgCz7w7UU2T3rU5TuwNC61c26Uvz6lRqojnK
xQ2j7icDdbHNWNENTK7OkPWpMoEZZeVgKd+bhEXhJw6MRVb/xA4Wf4br+RHsGknH
+mTzOylDWwzMpd3E/0iSYviZEHt2AmITNCZ+5d0B5268n9zD+rp2HEOzZ7qTu1RE
/m+DXz37WxRs0GHMTArAVZ7IguVlIC4q8S3cxgMKfQyGCPhTXAnDVUnHwEUDitvl
1N3ddIBHVzHUPLaKCzr80PxREmI744MLtZxlf4JWszWS01X+PuvJyyEGeVXhT5Ka
IJecBOcCntUCcW/Gu91yP+kNU6MFKR54N2LWNNONWhA3nhNC6rz/YBDeH2zwqgFJ
DC59jRopv8u1kHlnz58GT31MScbw3dO1Q7IM9rmFw89l7px7ybw=
=nQW5
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 11 Nov 2022 07:26:07 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:42:55 2023;
Machine Name:
bembo
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.