Source: seqan2
Version: 2.4.0+dfsg-5
Severity: wishlist
Tags: patch

seqan2 with the change below builds for me on minkus.

The contents is a partial revert back to 2.4.0+dfsg-3
plus adding -g1 on mips/mipsel to fix the virtual
memory exhaustion.

--- debian/control.old  2018-02-12 10:23:26.913006985 +0000
+++ debian/control      2018-02-12 10:24:47.173002461 +0000
@@ -27,8 +27,7 @@
 Rules-Requires-Root: no
 
 Package: seqan-apps
-Architecture: any-amd64 arm64 armel armhf any-i386 mips64el ppc64el s390x 
alpha hppa ia64 m68k powerpc powerpcspe ppc64 sh4 sparc64 x32
-# Skipping mips & mipsel due to lack of memory
+Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: C++ library for the analysis of biological sequences
--- debian/rules.old    2018-02-12 10:23:20.209674029 +0000
+++ debian/rules        2018-02-12 10:42:30.956275835 +0000
@@ -21,14 +21,13 @@
 endif
 
 ifneq (,$(filter mips mipsel mips64el,$(DEB_BUILD_ARCH)))
-    DEB_CXXFLAGS_MAINT_APPEND+=-mxgot -O2
-    export DEB_CFLAGS_MAINT_APPEND+=-O2
-else
-    DEB_CXXFLAGS_MAINT_APPEND+=-O3
-    export DEB_CFLAGS_MAINT_APPEND+=-O3
+    DEB_CXXFLAGS_MAINT_APPEND+=-mxgot
+endif
+
+ifneq (,$(filter mips mipsel,$(DEB_BUILD_ARCH)))
+    DEB_CXXFLAGS_MAINT_APPEND+=-g1
+    DEB_CFLAGS_MAINT_APPEND+=-g1
 endif
-# As per upstream's instructions
-DEB_CXXFLAGS_MAINT_APPEND+=-DNDEBUG
 
 MAX_PARALLEL=""
 # Disable or limit parallel building on some build archs to save memory
@@ -44,7 +43,10 @@
 #     DEB_CXXFLAGS_MAINT_APPEND+=-DSEQAN_ASYNC_IO=0
 # endif
 
-export DEB_CXXFLAGS_MAINT_APPEND
+# As per upstream's instructions
+DEB_CXXFLAGS_MAINT_APPEND+=-DNDEBUG -O3
+export DEB_CFLAGS_MAINT_APPEND+=-O3
+export DEB_CXXFLAGS_MAINT_APPEND DEB_CFLAGS_MAINT_APPEND
 
 pkgapps=seqan-apps
 pkgdev=libseqan2-dev

Reply via email to