[med-svn] [hisat2] 03/05: make build reproducible

Sascha Steinbiss satta at debian.org
Thu Aug 25 20:30:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

satta pushed a commit to branch master
in repository hisat2.

commit 3779e0f95370f78bcaab2ecbde70030f67e04bfa
Author: Sascha Steinbiss <satta at debian.org>
Date:   Thu Aug 25 15:55:53 2016 +0000

    make build reproducible
---
 debian/changelog             |  2 ++
 debian/patches/reproducibile | 14 +++++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ead53d..b0f761c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ hisat2 (2.0.4-2) unstable; urgency=medium
   * Fix Vcs-Git.
   * Fix build on kFreeBSD. Thanks to Steven Chamberlain for the patch.
     Closes: #834864
+  * Make build reproducible.
+    - Set C(XX,PP)FLAGS to make sure -fdebug-prefix-map is set.
 
  -- Sascha Steinbiss <satta at debian.org>  Thu, 25 Aug 2016 15:46:42 +0000
 
diff --git a/debian/patches/reproducibile b/debian/patches/reproducibile
index 7eeece6..a4d5afd 100644
--- a/debian/patches/reproducibile
+++ b/debian/patches/reproducibile
@@ -1,7 +1,7 @@
 Author: Michael R. Crusoe
 Description: Make build reproducible
---- hisat2.orig/Makefile
-+++ hisat2/Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -26,7 +26,7 @@
  CC = $(GCC_PREFIX)/gcc$(GCC_SUFFIX)
  CPP = $(GCC_PREFIX)/g++$(GCC_SUFFIX)
@@ -55,7 +55,7 @@ Description: Make build reproducible
  	doc/strip_markdown.pl \
  	Makefile \
  	$(GENERAL_LIST)
-@@ -233,10 +233,13 @@
+@@ -233,15 +233,20 @@
  
  both-debug: hisat2-align-s-debug hisat2-align-l-debug hisat2-build-s-debug hisat2-build-l-debug
  
@@ -71,3 +71,11 @@ Description: Make build reproducible
       -DCOMPILER_VERSION="\"`$(CXX) -v 2>&1 | tail -1`\"" \
       $(FILE_FLAGS) \
       $(PREF_DEF) \
+      $(MM_DEF) \
+-     $(SHMEM_DEF)
++     $(SHMEM_DEF) \
++     $(CXXFLAGS) \
++     $(CPPFLAGS)
+ 
+ #
+ # hisat-bp targets

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/hisat2.git



More information about the debian-med-commit mailing list