Source: logtools 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 various binaries in /usr/bin: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/logtools.html /usr/bin/clfdomainsplit /build/1st/logtools-0.13e+nmu2/clfdomainsplit.cpp:174 vs. /build/2/logtools-0.13e+nmu2/2nd/clfdomainsplit.cpp:174 The attached patch fixes this by adding the -ffile-prefix-map argument to CFLAGS in the upstream Makefile.in. With this patch applied logtools should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining logtools! live well, vagrant
From bc4f3f4f02debf12465dc66ac218753e2494df39 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 24 Sep 2022 22:19:35 +0000 Subject: [PATCH] Makefile.in: Add -ffile-prefix-map to avoid embedding build path. https://reproducible-builds.org/docs/build-path/ --- Makefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.in b/Makefile.in index e641a9d..5e4b5f2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,6 +2,7 @@ prefix=@prefix@ WFLAGS=-Wall -W -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual -Woverloaded-virtual -pedantic -ffor-scope CFLAGS=-O2 -g -DNDEBUG ${WFLAGS} +CFLAGS += -ffile-prefix-map=$(CURDIR)=. CXX=@CXX@ ${CFLAGS} LFLAGS=-lstdc++ @extra_ldflags@ -- 2.30.2
signature.asc
Description: PGP signature