Source: surgescript
Version: 0.5.4.4-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

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
     `. `'`      la...@debian.org / 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

Reply via email to