Bug#957834: sphinxbase: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:25 BST 2020

Package: src:sphinxbase
Version: 0.8+5prealpha+1-8
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at

libtool: link: gcc -I../../../../include/sphinxbase -I../../../../include -I../../../include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_log_int16 test_log_int16.o  ../../../src/libsphinxbase/.libs/libsphinxbase.so -lpulse -lpulse-simple -lpthread -lm -lblas -llapack
libtool: link: gcc -I../../../../include/sphinxbase -I../../../../include -I../../../include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/test_log_shifted test_log_shifted.o  ../../../src/libsphinxbase/.libs/libsphinxbase.so -lpulse -lpulse-simple -lpthread -lm -lblas -llapack
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
make  check-TESTS
make[6]: Entering directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
make[7]: Entering directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
PASS: test_log_int16
FAIL: test_log_shifted
PASS: test_log_int8
   sphinxbase 5prealpha: test/unit/test_logmath/test-suite.log

# TOTAL: 3
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_log_shifted

INFO: logmath.c(283): Writing log table file 'tmp.logadd'
INFO: logmath.c(174): Reading log table file 'tmp.logadd'
FAIL: abs((logmath_log(lmath, 1e-150)) - (-13493)) < LOG_EPSILON
log(1e-150) = -13493
exp(log(1e-150)) = 9.843575e-151
log(1e-48) = -4318
exp(log(1e-48)) = 9.888735e-49
log(42) = 146
exp(log(42)) = 41.989229
log(1e-3 + 5e-3) = -270 l+ -207 = -200
log(1e-3 + 5e-3) = 9.961084e-04 + 4.996912e-03 = 5.977553e-03
log(1e-150) = -115301
FAIL test_log_shifted (exit status: 1)

Testsuite summary for sphinxbase 5prealpha
# TOTAL: 3
# PASS:  2
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
See test/unit/test_logmath/test-suite.log
make[7]: *** [Makefile:711: test-suite.log] Error 1
make[7]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
make[6]: *** [Makefile:819: check-TESTS] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
make[5]: *** [Makefile:907: check-am] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit/test_logmath'
make[4]: *** [Makefile:393: check-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test/unit'
make[3]: *** [Makefile:372: check-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8/test'
make[2]: *** [Makefile:479: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-python3.8'
dh_auto_test: error: cd build-python3.8 && make -j4 check VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:36: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

More information about the Pkg-a11y-devel mailing list