Source: spatialindex
Version: 1.9.3-2
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
spatialindex 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 10:48:25.404043494 +0100
--- b/debian/rules      2021-08-10 10:51:29.773864458 +0100
@@ -20,7 +20,7 @@
        dh $@ --with pkgkde_symbolshelper
 
 override_dh_auto_configure:
-       dh_auto_configure -- -DSIDX_LIB_SUBDIR=lib/$(DEB_HOST_MULTIARCH)
+       dh_auto_configure -- -DSIDX_LIB_SUBDIR=lib/$(DEB_HOST_MULTIARCH) 
-DCMAKE_SKIP_RPATH=ON
 
 override_dh_install:
        $(RM) $(CURDIR)/debian/tmp/usr/lib/*/*.la

Reply via email to