Source: wrapsrv 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/wrapsrv: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/wrapsrv.html /build/1st/wrapsrv-1.0.0/wrapsrv.c:360 vs. /build/2/wrapsrv-1.0.0/2nd/wrapsrv.c:360 The attached patch to the upstream Makefile fixes this by adding --debug-prefix-map to CFLAGS. According to my local tests, with this patch applied wrapsrv should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining wrapsrv! live well, vagrant
From eb45d8f705f1794cf57eec2f278510b7b9a6f8e3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 27 Sep 2022 18:50:12 +0000 Subject: [PATCH] Makefile: Pass --debug-prefix-map to avoid embedding build directory. https://tests.reproducible-builds.org/debian/issues/unstable/build_path_captured_in_assembly_objects_issue.html --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c329a2d..f0b835a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC = gcc WARN = -Wall -Wextra -Werror -CFLAGS = -O2 -g $(WARN) +CFLAGS = -O2 -g --debug-prefix-map=$(CURDIR)=. $(WARN) INCLUDE = LDFLAGS = -lresolv DESTDIR ?= -- 2.37.2
signature.asc
Description: PGP signature