Source: surgescript
Version: 0.5.4.4-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
surgescript could not be built reproducibly.
This is because CMake's RPATH is not stripped, needing us to avoid
it being set with -DCMAKE_SKIP_RPATH=ON.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2021-08-10 11:44:23.417015261 +0100
--- b/debian/rules 2021-08-10 11:47:44.882173416 +0100
@@ -15,7 +15,8 @@
override_dh_auto_configure:
dh_auto_configure -- \
- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH)
+ -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) \
+ -DCMAKE_SKIP_RPATH=ON
override_dh_compress:
dh_compress -X.ss