Source: fcitx5-qt 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/fcitx5-qt.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, fcitx5-qt should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining fcitx5-qt! live well, vagrant
From 48f324134e6cf0e3263bd9799caa3e2e5335a9d2 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Mon, 27 Dec 2021 03:53:55 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index a7f20a3..50ee87d 100755 --- a/debian/rules +++ b/debian/rules @@ -8,4 +8,5 @@ export QT_SELECT := 5 override_dh_auto_configure: dh_auto_configure -- \ + -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ -DENABLE_QT4=0 -- 2.34.1
signature.asc
Description: PGP signature