Source: kvirc 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 builds. The attached patch to debian/rules pesses -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure, which should result in relative paths for RPATH. This patch does not resolve all reproducibility issues, but significantly reduces the diff between builds. Thanks for maintaining kvirc! live well, vagrant
From 20535d92844e0ca653c8a1b381cb5d200dc666f3 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 22 Oct 2021 17:55:16 +0000 Subject: [PATCH 1/2] debian/rules: Remove buildpath from rpath to improve reproducibility. Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure. https://reproducible-builds.org/docs/build-path/ --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index a8d8ac8..284c92a 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,7 @@ override_dh_auto_configure: -DWANT_COEXISTENCE=OFF \ -DWANT_ESD=OFF -DWANT_OSS=OFF \ -DWANT_STRIP=OFF \ + -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \ -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" override_dh_install: -- 2.33.0
signature.asc
Description: PGP signature