Bug#903442: ogdi-dfsg: please make the build mostly reproducible

Chris Lamb lamby at debian.org
Tue Jul 10 08:06:24 BST 2018


Source: ogdi-dfsg
Version: 3.2.1+ds-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that ogdi-dfsg could not be built reproducibly.

This is because it uses the absolute path for "libdir". Patch
attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-07-10 08:18:02.097521370 +0200
--- b/debian/rules	2018-07-10 09:03:24.702059382 +0200
@@ -48,6 +48,9 @@
 
 override_dh_install:
 	dh_install --list-missing
+	sed -i -e 's@$(CURDIR)@@g' \
+		debian/*/usr/bin/ogdi-config \
+		debian/*/usr/share/pkgconfig/ogdi.pc
 
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION)


More information about the Pkg-grass-devel mailing list