[med-svn] [nanopolish] 01/01: make build reproducible

Sascha Steinbiss satta at debian.org
Mon Aug 8 12:42:01 UTC 2016


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

satta pushed a commit to branch master
in repository nanopolish.

commit af726c246f02000397f89589acfe94b0cd598fe4
Author: Sascha Steinbiss <satta at debian.org>
Date:   Mon Aug 8 12:35:09 2016 +0000

    make build reproducible
---
 debian/changelog                  |  7 +++++++
 debian/patches/reproducible.patch | 17 +++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 098b470..2b68387 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+nanopolish (0.4.0-3) unstable; urgency=medium
+
+  * Team upload.
+  * Make build reproducible.
+
+ -- Sascha Steinbiss <satta at debian.org>  Mon, 08 Aug 2016 12:34:56 +0000
+
 nanopolish (0.4.0-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..91abfc3
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,17 @@
+Description: make build reproducible
+ This patch enforces stable input file ordering w.r.t. source file gathering
+ via Make's 'wildcard' directive.
+Author: Sascha Steinbiss <satta at debian.org>
+--- a/Makefile
++++ b/Makefile
+@@ -69,8 +69,8 @@
+ #
+ 
+ # Find the source files by searching subdirectories
+-CPP_SRC := $(foreach dir, $(SUBDIRS), $(wildcard $(dir)/*.cpp))
+-C_SRC := $(foreach dir, $(SUBDIRS), $(wildcard $(dir)/*.c))
++CPP_SRC := $(sort $(foreach dir, $(SUBDIRS), $(wildcard $(dir)/*.cpp)))
++C_SRC := $(sort $(foreach dir, $(SUBDIRS), $(wildcard $(dir)/*.c)))
+ EXE_SRC=src/main/nanopolish.cpp src/test/nanopolish_test.cpp
+ 
+ # Automatically generated object names
diff --git a/debian/patches/series b/debian/patches/series
index b31499f..8d81768 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ compiler-flags.patch
 external-libs.patch
 add-shebang-to-script.patch
 fix-ftbfs-with-gcc6.patch
+reproducible.patch

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



More information about the debian-med-commit mailing list