Source: pal 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/bin/pal: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/pal.html /build/1st/pal-0.4.3/src/main.c:704 vs. /build/2/pal-0.4.3/2nd/src/main.c:704 The attached patch fixes this by passing the -ffile-prefix-map argument via CFLAGS in debian/rules. Another option that *might* fix this and other issues would be to switch to dh and a recent debhelper compat level. With this patch applied pal should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining pal! live well, vagrant
From 521957ae75c17b5be7a97ecf78f1a8528e097a53 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 24 Sep 2022 20:55:50 +0000 Subject: [PATCH] debian/rules: Pass -ffile-prefix-map 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 1d8260c..311ac0a 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ include /usr/share/quilt/quilt.make -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