Source: editorconfig-core 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/editorconfig-core.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. With this patch applied, editorconfig-core should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining editorconfig-core! live well, vagrant
From 45881cf6fc60ce321c15c5c15f9c6a57b3c443c1 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Sat, 18 Dec 2021 01:42:39 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index bd993c5..9c80c50 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=$(if $(EXP_RELEASE),0,1) dh $@ --buildsystem=cmake --builddir=build --with pkgkde_symbolshelper override_dh_auto_configure: - dh_auto_configure -- -DINSTALL_HTML_DOC=ON + dh_auto_configure -- -DINSTALL_HTML_DOC=ON -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON execute_after_dh_shlibdeps: d-devlibdeps \ -- 2.34.1
signature.asc
Description: PGP signature