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

Bug#1023957: marked as done (gerstensaft: reproducible-builds: buildid differences in /usr/bin/beer)



Your message dated Tue, 09 May 2023 14:58:36 +0000
with message-id <[🔎] E1pwOnU-00H7tf-4T@fasolo.debian.org>
and subject line Bug#1035770: Removed package(s) from unstable
has caused the Debian Bug report #1023957,
regarding gerstensaft: reproducible-builds: buildid differences in /usr/bin/beer
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.)


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

Attachment: signature.asc
Description: PGP signature


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

--- End Message ---

Reply to: