Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
skip fastdp tests
· b40f6824
Sascha Steinbiss
authored
Jan 23, 2020
b40f6824
do not include CFLAGS in binary for improved reproducibility
· d430b803
Sascha Steinbiss
authored
Jan 23, 2020
d430b803
add patch header
· 732141a7
Sascha Steinbiss
authored
Jan 23, 2020
732141a7
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
732141a7
genomethreader (1.7.3+dfsg-4) unstable; urgency=medium
* Skip fastdp tests on i386 (see
https://github.com/genometools/genomethreader/issues/14)
* Do not include CFLAGS in binary for improved reproducibility.
-- Sascha Steinbiss <satta@debian.org> Thu, 23 Jan 2020 13:32:02 +0100
genomethreader (1.7.3+dfsg-3) unstable; urgency=medium
* Use defined LANG when building to avoid breaking the Built-Using
...
...
debian/patches/disable-fastdp-tests.patch
0 → 100644
View file @
732141a7
Description: disable some tests on i386
Author: Sascha Steinbiss <satta@debian.org>
Bug: https://github.com/genometools/genomethreader/issues/14
Last-Update: 2020-01-23
--- a/Makefile
+++ b/Makefile
@@ -163,6 +163,10 @@
STEST_FLAGS += -memcheck
endif
+ifeq ($(nofastdp),yes)
+ STEST_FLAGS += -keywords not fastdp
+endif
+
RNV_DIR:=src/external/rnv-1.7.10
LIBRNV_SRC:=$(RNV_DIR)/rn.c $(RNV_DIR)/rnc.c $(RNV_DIR)/rnd.c $(RNV_DIR)/rnl.c \
$(RNV_DIR)/rnv.c $(RNV_DIR)/rnx.c $(RNV_DIR)/drv.c \
debian/patches/reproducible.patch
View file @
732141a7
Description: improve reproducibility
Author: Sascha Steinbiss <satta@debian.org>
--- a/Makefile
+++ b/Makefile
@@ -184,7 +184,7 @@
...
...
@@ -9,3 +11,16 @@
LIBGENOMETHREADER_OBJ:=$(LIBGENOMETHREADER_SRC:%.c=obj/%.o)
LIBGENOMETHREADER_DEP:=$(LIBGENOMETHREADER_SRC:%.c=obj/%.d)
--- a/src/libgenomethreader/gthversionfunc.c
+++ b/src/libgenomethreader/gthversionfunc.c
@@ -25,8 +25,10 @@
printf("Copyright (c) 2013-2016 Wikena GmbH\n\n");
#endif
printf("Email: gordon@gremme.org\n\n");
+/* removed due to reproducibility issues
printf("Used compiler: %s\n", GTH_CC);
printf("Compile flags: %s\n", GTH_CFLAGS);
+*/
#ifndef NOLICENSEMANAGER
if (lm_license) {
putchar('\n');
debian/patches/series
View file @
732141a7
...
...
@@ -4,3 +4,4 @@ hardening.patch
search-paths.patch
m32-m64-ignore.patch
reproducible.patch
disable-fastdp-tests.patch
debian/rules
View file @
732141a7
...
...
@@ -17,6 +17,11 @@ ifeq ($(BITS),64)
else
64BIT:=no
endif
ifeq ($(DARCH),i386)
EXTRATESTOPT:=nofastdp=yes
endif
%:
dh $@
...
...
@@ -37,7 +42,7 @@ override_dh_auto_install:
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
make licensemanager=no 64bit=$(64BIT) test
make licensemanager=no 64bit=$(64BIT)
$(EXTRATESTOPT)
test
endif
override_dh_installman:
...
...