Source: clazy Version: 1.10-1 Severity: normal Tags: patch clazy gets a different build-ID depending on the build path, which appears to be because CMake links it with a build-path-based RPATH (which is removed during installation, but not before it has affected the build-ID).
This can be avoided by building with -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON (which will be the default in debhelper compat level 14, but that's still experimental at the moment) as in the attached patch. smcv
>From a12b63efc378a914c4f5c9cda6bf01143dbbaaeb Mon Sep 17 00:00:00 2001 From: Simon McVittie <s...@debian.org> Date: Sat, 4 Sep 2021 16:29:11 +0100 Subject: [PATCH] d/rules: Use -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON for reproducible build --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 112892f..59fcf39 100755 --- a/debian/rules +++ b/debian/rules @@ -27,7 +27,7 @@ DPKG_ARCHITECTURE = $(shell dpkg --print-architecture) dh $@ override_dh_auto_configure: - dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)" -DREADLINK_CMD:FILEPATH=/usr/bin/readlink + dh_auto_configure -- -DCLANGPP_EXECUTABLE="$(CLANGPP)" -DREADLINK_CMD:FILEPATH=/usr/bin/readlink -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON override_dh_auto_install: dh_auto_install --destdir=debian/clazy -- 2.33.0