Source: chise-base 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/lib/libchise.so.1.1.0: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/chise-base.html /build/1st/chise-base-0.3.0/libchise/chise.c:93 vs. /build/2/chise-base-0.3.0/2nd/libchise/chise.c:93 The attached patch to debian/rules fixes this by adding -ffile-prefix-map to CFLAGS. According to my local tests, with this patch applied, chise-base should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining chise-base! live well, vagrant
From 97e29426213130eada2c312b16696ef197e0c910 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 27 Sep 2022 22:35:27 +0000 Subject: [PATCH] debian/rules: Add -ffile-prefix-map to CFLAGS to avoid embedding build paths. 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 bde7783..3c62397 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = -Wall -g +CFLAGS = -Wall -g -ffile-prefix-map=$(CURDIR)=. ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 -- 2.37.2
signature.asc
Description: PGP signature