Source: ipfm Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build path is embedded in /usr/sbin/ipfm: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/ipfm.html /build/1st/ipfm-0.11.5/source/ipfm.c:62 vs. /build/2/ipfm-0.11.5/2nd/source/ipfm.c:62 The attached patch fixes this in debian/rules by passing CFLAGS to make with the -ffile-prefix-map argument. With this patch applied ipfm should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining ipfm! live well, vagrant
From 83eff83f46314004cbf1f910f6fd9d1b3b7e0b4f Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sun, 25 Sep 2022 00:43:53 +0000 Subject: [PATCH] debian/rules: Pass -ffile-prefix-map to make via CFLAGS. 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 11f6614..38ff759 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ build-stamp: ./configure --prefix=/usr --mandir=/usr/share/man \ --sysconfdir=/etc --localstatedir=/var - $(MAKE) + $(MAKE) CFLAGS="$(CFLAGS) -ffile-prefix-map=$(CURDIR)=." touch build-stamp -- 2.37.2
signature.asc
Description: PGP signature