Bug#1133632: speech-tools: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:11:07 BST 2026
Package: src:speech-tools
Version: 1:2.5.0-14
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
speech-tools fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/speech-tools_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_relation_track.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include relation_io.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_relation_compare.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include standard_feature_functions.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_Relation_mls.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_item_aux.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_item_content_aux.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include EST_Relation.cc
aarch64-linux-gnu-g++ -fno-delete-null-pointer-checks -c -g -O2 -ffile-prefix-map=/build/reproducible-path/speech-tools-2.5.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -DOMP_WAGON=1 -g -O3 -fPIC -Wall -I../include -DINSTANTIATE_TEMPLATES -DINCLUDE_XML_FORMATS EST_UtteranceFile.cc
EST_UtteranceFile.cc: In static member function ‘static EST_write_status EST_UtteranceFile::save_est_ascii(std::ostream&, const EST_Utterance&)’:
EST_UtteranceFile.cc:279:13: error: reference to ‘relation’ is ambiguous
279 | v = relation(p->v)->save(outf,sinames);
| ^~~~~~~~
• there are 2 candidates
In file included from /usr/include/c++/16/compare:44,
from /usr/include/c++/16/bits/char_traits.h:58,
from /usr/include/c++/16/ios:44,
from /usr/include/c++/16/bits/ostream.h:43,
from /usr/include/c++/16/ostream:42,
from /usr/include/c++/16/iostream:43,
from EST_UtteranceFile.cc:42:
• candidate 1: ‘template<class _Rel, class _Tp, class _Up> concept std::relation’
/usr/include/c++/16/concepts:396:13:
396 | concept relation
| ^~~~~~~~
In file included from ../include/EST_Val.h:54,
from ../include/EST_FMatrix.h:47,
from ../include/EST_types.h:47,
from ../include/EST_string_aux.h:45,
from EST_UtteranceFile.cc:44:
• candidate 2: ‘EST_Relation* relation(const EST_Val&)’
../include/ling_class/EST_Relation.h:203:25:
203 | VAL_REGISTER_CLASS_DCLS(relation,EST_Relation)
| ^~~~~~~~
• in definition of macro ‘VAL_REGISTER_CLASS_DCLS’
46 | class CLASS *NAME(const EST_Val &v); \
| ^~~~
EST_UtteranceFile.cc: In function ‘EST_write_status utt_save_all_contents(std::ostream&, const EST_Utterance&, EST_TKVL<void*, int>&)’:
EST_UtteranceFile.cc:303:40: error: reference to ‘relation’ is ambiguous
303 | v = utt_save_all_contents(outf,relation(p->v)->head(),
| ^~~~~~~~
• there are 2 candidates
• candidate 1: ‘template<class _Rel, class _Tp, class _Up> concept std::relation’
/usr/include/c++/16/concepts:396:13:
396 | concept relation
| ^~~~~~~~
• candidate 2: ‘EST_Relation* relation(const EST_Val&)’
../include/ling_class/EST_Relation.h:203:25:
203 | VAL_REGISTER_CLASS_DCLS(relation,EST_Relation)
| ^~~~~~~~
• in definition of macro ‘VAL_REGISTER_CLASS_DCLS’
46 | class CLASS *NAME(const EST_Val &v); \
| ^~~~
EST_UtteranceFile.cc: In static member function ‘static EST_read_status EST_UtteranceFile::load_apml(EST_TokenStream&, EST_Utterance&, int&)’:
EST_UtteranceFile.cc:426:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
426 | fgets(buf, 80, stream);
| ~~~~~^~~~~~~~~~~~~~~~~
EST_UtteranceFile.cc:431:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
431 | fgets(buf, 80, stream);
| ~~~~~^~~~~~~~~~~~~~~~~
EST_UtteranceFile.cc: In static member function ‘static EST_read_status EST_UtteranceFile::load_genxml(EST_TokenStream&, EST_Utterance&, int&)’:
EST_UtteranceFile.cc:464:8: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
464 | fgets(buf, 80, stream);
| ~~~~~^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:71: EST_UtteranceFile.o] Error 1
make[2]: *** [config/rules/targets.mak:57: ling_class] Error 2
make[2]: Leaving directory '/build/reproducible-path/speech-tools-2.5.0'
make[1]: *** [debian/rules:20: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/speech-tools-2.5.0'
make: *** [debian/rules:67: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Pkg-a11y-devel
mailing list