Source: coinor-symphony
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The file /usr/share/doc/coinor-libsymphony-doc/examples/Makefile.gz
contains the embedded build path:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/coinor-symphony.html

  SYMEXDIR·=·/build/1st/coinor-symphony-5.6.16+repack1/src/../Examples
  vs.
  SYMEXDIR·=·/build/2/coinor-symphony-5.6.16+repack1/2nd/src/../Examples


The attached patch fixes this by only shipping the Makefile.in, which is
a template for the user to regenerate the Makefile with values
appropriate to their system.

Combined with the timstamp patch recently submitted, this should be
sufficient to make coinor-symphony reproducible.


Thanks for maintaining coinor-symphony!


live well,
  vagrant
From 408fdc8e9ff62cf6dab3c7e5820c5185396cb916 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 28 Dec 2020 18:59:23 +0000
Subject: [PATCH 2/2] coinor-libsymphony-doc: Install example Makefile.in
 rather than Makefile.

The example Makefile embeds build paths that are not likely to be
present on the end-user system, thus requiring the end-user to
regenerate the file anyway.
---
 debian/coinor-libsymphony-doc.examples | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/coinor-libsymphony-doc.examples b/debian/coinor-libsymphony-doc.examples
index fcc3e10..b19ce33 100644
--- a/debian/coinor-libsymphony-doc.examples
+++ b/debian/coinor-libsymphony-doc.examples
@@ -1,4 +1,4 @@
 Examples/*.c
-Examples/Makefile
+Examples/Makefile.in
 Examples/README
 Examples/FLOPC++
-- 
2.30.0.rc2

Attachment: signature.asc
Description: PGP signature

Reply via email to