Bug#876776: fityk FTBFS: FAIL: tests/psvoigt

Adrian Bunk bunk at debian.org
Mon Sep 25 19:25:05 UTC 2017


Source: fityk
Version: 1.3.1-1
Severity: serious
Tags: patch

https://buildd.debian.org/status/fetch.php?pkg=fityk&arch=i386&ver=1.3.1-2&stamp=1506310354&raw=0
https://tests.reproducible-builds.org/debian/rb-pkg/buster/i386/fityk.html

...
make  check-TESTS
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[4]: Entering directory '/<<PKGBUILDDIR>>'
PASS: tests/num
PASS: tests/guess
PASS: tests/gradient
PASS: tests/lua
FAIL: tests/psvoigt
===================================
   fityk 1.3.1: ./test-suite.log
===================================

# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/psvoigt
===================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
psvoigt is a Catch v1.10.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
pseudo-voigt
-------------------------------------------------------------------------------
tests/psvoigt.cpp:25
...............................................................................

tests/psvoigt.cpp:50: FAILED:
  REQUIRE( ib == area/height )
with expansion:
  8.2712875192 == 8.2712875192
with message:
  Testing PseudoVoigt

===============================================================================
test cases:  6 |  5 passed | 1 failed
assertions: 34 | 33 passed | 1 failed

FAIL tests/psvoigt (exit status: 1)

============================================================================
Testsuite summary for fityk 1.3.1
============================================================================
# TOTAL: 5
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
Makefile:1441: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1


Fix:

--- debian/rules.old	2017-09-25 18:45:49.000000000 +0000
+++ debian/rules	2017-09-25 18:50:19.000000000 +0000
@@ -2,6 +2,10 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+ifneq (,$(filter $(DEB_HOST_ARCH), i386))
+    export DEB_CXXFLAGS_MAINT_APPEND=-ffloat-store
+endif
+
 %:
 	dh $@ --buildsystem=autoconf --parallel --with sphinxdoc
 



More information about the debian-science-maintainers mailing list