Source: c-munipack Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The buildid differs when build in a different build path. https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/c-munipack.html ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·779103372be0782008ccd2307e5a845e0e8e619c vs. ...NT_GNU_BUILD_ID·(unique·build·ID·bitstring)» ····Build·ID:·e910539f72e2c7c109edc3cee951ea623aa26ca0 The attched patch to debian/rules passes -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to use a relative value for rpath. Alternately, switching to using debhelper compat level 14 would enable this by default, although that compat level is not yet considered stable. According to my local tests, with this patch applied (and the timestamp patch recently submitted) c-munipack should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining c-munipack! live well, vagrant
From ff3b8afae14d739db9a26facf48bcc7174a5bc4f Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 23 Jun 2023 12:30:40 -0700 Subject: [PATCH 1/2] debian/rules: Pass -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON to configure. 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 11a7cc2..6c2f11a 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic override_dh_auto_configure: dh_auto_configure -- \ - -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON override_dh_install: find -- 2.39.2
signature.asc
Description: PGP signature