Source: poster 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/pbyacc: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/poster.html /build/1st/poster-20050907/poster.c:181 vs. /build/2/poster-20050907/2nd/poster.c:181 The attached patch fixes this in the upstream Makefile by adding -ffile-prefix-map to CFLAGS. According to my local tests, with this patch applied poster should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining poster! live well, vagrant
From 28f86f2e8f5624a9086176fc4c270437c141c351 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 27 Sep 2022 00:06:02 +0000 Subject: [PATCH] Makefile: Add -ffile-prefix-map to CFLAGS to avoid embedding build path. https://reproducible-builds.org/docs/build-path/ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 633f45d..f9bcd05 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # on Debian: DEFINES = -DHAVE_LIBPAPER -CFLAGS = -O2 -g -Wall +CFLAGS = -O2 -g -Wall -ffile-prefix-map=$(CURDIR)=. LIBS = -lm -lpaper # elsewhere #DEFINES = # nothing -- 2.37.2
signature.asc
Description: PGP signature