Debian Bug report logs -
#1023957
gerstensaft: reproducible-builds: buildid differences in /usr/bin/beer
Reply or subscribe to this bug.
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#1023957; Package src:gerstensaft.
(Sun, 13 Nov 2022 07:54: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, 13 Nov 2022 07:54:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: gerstensaft
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The buildid for /usr/bin/beer varies when built from a different path:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gerstensaft.html
The attached patch to src/Makefile fixes this by adding
-ffile-prefix-map to CFLAGS.
According to my local tests, with this patch applied, gerstensaft should
build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining gerstensaft!
live well,
vagrant
[0001-src-Makefile-Add-ffile-prefix-map-to-CFLAGS-to-avoid.patch (text/x-diff, inline)]
From 9d2ed6cb070220ced710c6453dfae9563082e9ef Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 13 Nov 2022 07:46:46 +0000
Subject: [PATCH] src/Makefile: Add -ffile-prefix-map to CFLAGS to avoid
embedding the build path.
https://reproducible-builds.org/docs/build-path/
---
src/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Makefile b/src/Makefile
index d81003e..ce6cc41 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -23,6 +23,7 @@ CC = gcc
CFLAGS=-g -Wall \
-DG_DISABLE_DEPRECATED \
+ -ffile-prefix-map=$(CURDIR)=.
GTK_CFLAGS=$(shell pkg-config gtk+-2.0 --cflags)
--
2.38.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Debian FTP Masters <ftpmaster@ftp-master.debian.org>:
You have taken responsibility.
(Tue, 09 May 2023 15:00:04 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Tue, 09 May 2023 15:00:05 GMT) (full text, mbox, link).
Message #10 received at 1023957-done@bugs.debian.org (full text, mbox, reply):
Version: 0.3-5+rm
Dear submitter,
as the package gerstensaft has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1035770
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:32:08 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.