Source: userbindmount
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/userbindmount.html

The attached patch to debian/rules passes -DCMAKE_SKIP_RPATH=ON via a
dh_auto_configure override, which should remove the RPATH.


With this patch applied, userbindmount should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining userbindmount!


live well,
  vagrant
From 86ffe8d9c56f6f56c3b9036fac4c3ef74d100221 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Fri, 17 Dec 2021 19:28:52 +0000
Subject: [PATCH] debian/rules: Pass CMAKE_SKIP_RPATH=ON via dh_auto_configure
 override.

Without this, the build path triggers differences in the BuildId.

https://tests.reproducible-builds.org/debian/issues/unstable/build_id_differences_only_issue.html
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0c696bd..5db920f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,5 +16,8 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_SKIP_RPATH=ON
+
 override_dh_auto_install:
 	dh_auto_install --destdir debian/tmp
-- 
2.34.1

Attachment: signature.asc
Description: PGP signature

Reply via email to