Bug#1097917: sphinxbase: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:54:34 GMT 2025


Package: src:sphinxbase
Version: 0.8+5prealpha+1-21
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/sphinxbase_0.8+5prealpha+1-21_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_matrix'
Making all in test_fe
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_fe'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_fe'
Making all in test_feat
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_feat'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_feat'
Making all in test_lineiter
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_lineiter'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_lineiter'
Making all in test_logmath
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_logmath'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_logmath'
Making all in test_ngram
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_ngram'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_ngram'
Making all in test_fsg
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_fsg'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_fsg'
Making all in test_util
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_util'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_util'
Making all in test_thread
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_thread'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit/test_thread'
make[5]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit'
make[4]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/unit'
Making all in regression
make[4]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/regression'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test/regression'
make[4]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test'
make[3]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/test'
Making all in swig
make[3]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/swig'
Making all in python
make[4]: Entering directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/swig/python'
/usr/bin/swig -I../../../include -DHAS_DOC -I../../doc -outdir . -o sphinxbase_wrap.c -python ../../../swig/sphinxbase.i
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../swig/python -I../../include  -I/usr/include/python3.12 -I../../../include -D_DATADIR=\"/usr/share/sphinxbase\" -Wno-unused-value -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sphinxbase-0.8+5prealpha+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o _sphinxbase_la-sphinxbase_wrap.lo `test -f 'sphinxbase_wrap.c' || echo '../../../swig/python/'`sphinxbase_wrap.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../swig/python -I../../include -I/usr/include/python3.12 -I../../../include -D_DATADIR=\"/usr/share/sphinxbase\" -Wno-unused-value -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/sphinxbase-0.8+5prealpha+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c sphinxbase_wrap.c  -fPIC -DPIC -o .libs/_sphinxbase_la-sphinxbase_wrap.o
sphinxbase_wrap.c:14:13: error: 'bool' cannot be defined via 'typedef'
   14 | typedef int bool;
      |             ^~~~
sphinxbase_wrap.c:14:13: note: 'bool' is a keyword with '-std=c23' onwards
sphinxbase_wrap.c:14:1: warning: useless type name in empty declaration
   14 | typedef int bool;
      | ^~~~~~~
make[4]: *** [Makefile:494: _sphinxbase_la-sphinxbase_wrap.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/swig/python'
make[3]: *** [Makefile:440: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12/swig'
make[2]: *** [Makefile:486: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1/build-python3.12'
dh_auto_build: error: cd build-python3.12 && make -j8 returned exit code 2
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/sphinxbase-0.8+5prealpha+1'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-a11y-devel mailing list