Bug#908480: coinmp: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Sep 10 10:50:40 BST 2018


Source: coinmp
Version: 1.8.3-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 coinmp could not be built reproducibly. This is because it
includes the current CFLAGS in a generated Makefile.

Patch attached that simply removes this file, but this is a bit ugly
and is mostly for a demo. Perhaps not including any of the Makefiles
would be more suitable (ie. with dh_installexamples -XMakefile).

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2018-09-10 10:43:13.657611223 +0100
--- b/debian/rules	2018-09-10 10:46:49.298773304 +0100
@@ -16,4 +16,6 @@
 		$(foreach p, coinutils osi clp cgl cbc, --with-$(p)-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)) \
 		$(foreach p, coinutils osi clp cgl cbc, --with-$(p)-lib=$(shell pkg-config --libs $(p) | cut -d" " -f1))
 
-
+override_dh_installexamples:
+	dh_installexamples
+	rm -f debian/*/usr/share/doc/coinor-libcoinmp-dev/examples/Makefile


More information about the debian-science-maintainers mailing list