Source: survex
Version: 1.4.9-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=survex&arch=i386&ver=1.4.9-1%2Bb1&stamp=1722256729&raw=0

...
surfequate
Survex 1.4.9
Copyright (C) 1990-2024 Olly Betts

Removing trailing traverses...

Concatenating traverses...

Simplifying network...

Calculating network...

Calculating traverses...

Calculating trailing traverses...

Calculating statistics...

Survey contains 4 survey stations, joined by 3 legs.
There are 0 loops.
Total length of survey legs =    0.00m (   0.00m adjusted)
Total plan length of survey legs =    0.00m
Total vertical length of survey legs =    0.00m
   2 1-nodes.
   2 2-nodes.
CPU time used  0.00s
184c184
<   0.00
---
>  -0.00
288c288
<   0.00
---
>  -0.00
302c302
<   0.00
---
>  -0.00
FAIL cavern.tst (exit status: 1)

============================================================================
Testsuite summary for survex 1.4.9
============================================================================
# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to https://trac.survex.com/
============================================================================
make[5]: *** [Makefile:632: test-suite.log] Error 1



The tests of this package do apparently dislike excess precision.

Just use -ffloat-store, which costs some performance but that's
better than spending time adjusting tests.

This also obsoletes disable-testcase-which-fails-on-i386.patch


--- debian/rules.old    2024-07-29 15:24:21.216883244 +0000
+++ debian/rules        2024-07-29 15:24:34.732890506 +0000
@@ -2,6 +2,11 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow,+pie
 
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
+  export DEB_CFLAGS_MAINT_APPEND += -ffloat-store
+  export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store
+endif
+
 %:
        dh $@
 

Reply via email to