Source: xapian-core
Version: 1.4.18-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

xapian-core fails to cross build from source, because it fails running
tests despite passing DEB_BUILD_OPTIONS=nocheck. Please consider
applying the attached patch to fix that.

Helmut
diff --minimal -Nru xapian-core-1.4.18/debian/changelog 
xapian-core-1.4.18/debian/changelog
--- xapian-core-1.4.18/debian/changelog 2021-02-23 19:33:41.000000000 +0100
+++ xapian-core-1.4.18/debian/changelog 2021-03-21 09:12:21.000000000 +0100
@@ -1,3 +1,10 @@
+xapian-core (1.4.18-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck again. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 21 Mar 2021 09:12:21 +0100
+
 xapian-core (1.4.18-3) unstable; urgency=medium
 
   * debian/rules: Workaround testcase sensitivity to excess precision by
diff --minimal -Nru xapian-core-1.4.18/debian/rules 
xapian-core-1.4.18/debian/rules
--- xapian-core-1.4.18/debian/rules     2021-02-23 19:33:41.000000000 +0100
+++ xapian-core-1.4.18/debian/rules     2021-03-21 09:12:20.000000000 +0100
@@ -139,6 +139,7 @@
 endif
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        # Excess precision causes some testcases to fail due to comparisons
        # between values that are spilled to memory and not.  For now we just
        # avoid running the testsuite on affected platforms (at least on i386
@@ -150,6 +151,7 @@
 ifdef XAPIAN_BUILD_SSE
        $(MAKE_CHECK) -C build-sse2
 endif
+endif
 
 override_dh_auto_install: \
         debian/libxapian$(libxapian_soversion).install \

Reply via email to