Source: lwatch 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/lwatch: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/lwatch.html ... -ffile-prefix-map=/build/1st/lwatch-0.6.2=. ... vs. ... -ffile-prefix-map=/build/2/lwatch-0.6.2/2nd=. ... The attached patch to debian/rules fixes this by replacing the build path in src/config.h with the placeholder strong "BUILDPATH" from a dh_auto_configure override. With this patch applied, lwatch should build reproducibly on tests.reproducible-builds.org! live well, vagrant
From 371ab1b4af9447a2d51510c71c1285a664f974f8 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 10 May 2022 21:31:30 +0000 Subject: [PATCH] debian/rules: Remove the buildpath from src/config.h in dh_auto_configure override. https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index a5c66ee..0f74fd1 100755 --- a/debian/rules +++ b/debian/rules @@ -19,3 +19,7 @@ endif override_dh_installdirs: dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/lwatch + +override_dh_auto_configure: + dh_auto_configure + sed -i -e "s,$(CURDIR),BUILDPATH,g" src/config.h -- 2.30.2
signature.asc
Description: PGP signature