Source: libloki 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/lib/libloki.so.0.1.7: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/libloki.html /build/1st/libloki-0.1.7/src/LevelMutex.cpp:88 vs. /build/2/libloki-0.1.7/2nd/src/LevelMutex.cpp:88 The attached patch fixes this by explicitly passing CXXFLAGS to dh_auto_build in debian/rules, which includes flags to avoid embedding the build path. With this patch applied, libloki should build reproducibly on tests.reproducible-builds.org! live well, vagrant
From 4290aeceda937a01d2b6e54ce8b94abd98c0aeee Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Thu, 7 Jul 2022 20:45:03 +0000 Subject: [PATCH] debian/rules: Explicitly pass CXXFLAGS to dh_auto_build. Makefile.common overrides CXXFLAGS from the environment, so explicitly passing it in order to get the default build flags. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index e7990c6..d2f39c9 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ dh $@ override_dh_auto_build: - dh_auto_build -- OS=Linux build-static build-shared + dh_auto_build -- OS=Linux build-static build-shared CXXFLAGS="$(CXXFLAGS)" override_dh_auto_test: -dh_auto_test -- OS=Linux -- 2.36.1
signature.asc
Description: PGP signature