Source: darkradiant Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The RPATH contains the build path resulting in different buildid: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/darkradiant.html The attached patch to debian/rules passes -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via a dh_auto_configure override, which should use a relative path for RPATH. Alternately, updating the packaging to debhelper compat level 14 should fix this, although it is currently an experimental compat level. With this patch applied, darkradiant should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining darkradiant! live well, vagrant
From 669e0cbcc0a6d968c99309d65b8f4ea81730c9f0 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 19 Jan 2022 07:37:33 +0000 Subject: [PATCH] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON via dh_auto_configure override. This avoids embedding the full path in RPATH, which triggers BuildId differences. https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 42eb66c..ec74f31 100755 --- a/debian/rules +++ b/debian/rules @@ -21,3 +21,6 @@ override_dh_install: override_dh_missing: dh_missing --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON -- 2.34.1
signature.asc
Description: PGP signature