Source: xapian-core
Version: 1.4.18-2
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=xapian-core&arch=i386&ver=1.4.18-2&stamp=1613459435&raw=0

...
========================================
1 of 4 tests failed
Please report to https://xapian.org/bugs
========================================
make[6]: *** [Makefile:1070: check-TESTS] Error 1


With the old debian/rules the test was only run with
the SSE build.

If exact results are required and the x87 excess precision is unwanted,
test with the non-SSE build can be fixed with:

--- debian/rules.old    2021-02-18 15:12:59.097207579 +0000
+++ debian/rules        2021-02-18 15:13:51.537168694 +0000
@@ -51,6 +51,10 @@
 
 export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
+ifneq (,$(filter $(DEB_HOST_ARCH), i386 m68k))
+    export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
+endif
+
 # For i386 and *-i386.
 ifeq ($(patsubst %-i386,i386,$(DEB_HOST_ARCH)), i386)
     XAPIAN_BUILD_SSE := 1

Reply via email to