Source: libapache-mod-evasive 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/apache2/modules/mod_evasive20.so: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libapache-mod-evasive.html /build/1st/libapache-mod-evasive-1.10.1/mod_evasive20.c:713 vs. /build/2/libapache-mod-evasive-1.10.1/2nd/mod_evasive20.c:713 The attached patch to debian/rules fixes this by adding -ffile-prefix-map to the call to apxs2. According to my local tests, with this patch applied libapache-mod-evasive should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining libapache-mod-evasive! live well, vagrant
From 028d05262df50953740df4bb87f5704c78eae8af Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 26 Sep 2022 21:53:48 +0000 Subject: [PATCH] debian/rules: Add -ffile-prefix-map to apxs2 call to avoid embedding the build path. 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 086a195..1b898a3 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ build-indep: build-stamp build-stamp: dh_testdir - apxs2 -c mod_evasive20.c + apxs2 -Wc,-ffile-prefix-map=$(CURDIR)=. -c mod_evasive20.c touch build-stamp -- 2.37.2
signature.asc
Description: PGP signature