[Debichem-devel] Bug#992932: gemmi FTBFS on i386: pptest (Failed)

Adrian Bunk bunk at debian.org
Wed Aug 25 10:23:44 BST 2021


Source: gemmi
Version: 0.4.7+ds-1
Severity: important
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=gemmi&arch=i386&ver=0.4.7%2Bds-1&stamp=1629696131&raw=0

...
/usr/bin/ctest -C None
Test project /<<PKGBUILDDIR>>/obj-i686-linux-gnu
    Start 1: cpptest
1/1 Test #1: cpptest ..........................***Failed    0.01 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.01 sec

The following tests FAILED:
	  1 - cpptest (Failed)
Errors while running CTest
make[5]: *** [CMakeFiles/check.dir/build.make:79: CMakeFiles/check] Error 8


If exact results are required and the additional precision of the x87
FPU is a problem, the following fixes it:

--- debian/rules.old	2021-08-25 09:08:38.653783388 +0000
+++ debian/rules	2021-08-25 09:08:41.449783224 +0000
@@ -4,6 +4,10 @@
 
 export PYBUILD_NAME=gemmi
 
+ifeq ($(DEB_HOST_ARCH_CPU), i386)
+    export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
+endif
+
 %:
 	dh $@ --buildsystem=cmake --with python3
 



More information about the Debichem-devel mailing list