Bug#1096568: eflite: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:11:21 GMT 2025


Package: src:eflite
Version: 0.4.1-13
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/eflite_0.4.1-13_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

[...]
	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-vox=cmu_us_kal16
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for connect in -lsocket... no
checking for library containing pthread_create... none required
Using /usr/lib/x86_64-linux-gnu as FLite prefix.
Using /usr/include/flite as FLite include directory.
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/soundcard.h... yes
checking for machine/soundcard.h... no
checking for sys/audioio.h... no
checking for alsa/asoundlib.h... yes
checking for mmsystem.h... no
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory '/build/reproducible-path/eflite-0.4.1'
   dh_auto_build
	make -j8
make[1]: Entering directory '/build/reproducible-path/eflite-0.4.1'
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eflite-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -DCST_AUDIO_ALSA -I. -I/usr/include/flite -DREGISTER_VOX=register_cmu_us_kal -DSTANDALONE -DEFLITE -c -o fs.o fs.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eflite-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o es.o es.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eflite-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o soccon.o soccon.c
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eflite-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2  -c -o sockopen.o sockopen.c
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/eflite-0.4.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/flite -DEFLITE -c -o tone.o tone.c
soccon.c: In function ‘sockconnect_unix’:
soccon.c:27:3: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation]
   27 |   strncpy(addr.sun_path, fname, sizeof(addr.sun_path));
      |   ^
es.c: In function ‘parse’:
es.c:570:24: error: too many arguments to function ‘es_synthesize’; expected 0, have 1
  570 |     if (text_buffered) es_synthesize(client);
      |                        ^~~~~~~~~~~~~ ~~~~~~
es.c:386:6: note: declared here
  386 | void es_synthesize()
      |      ^~~~~~~~~~~~~
es.c:580:24: error: too many arguments to function ‘es_synthesize’; expected 0, have 1
  580 |     if (text_buffered) es_synthesize(client);
      |                        ^~~~~~~~~~~~~ ~~~~~~
es.c:386:6: note: declared here
  386 | void es_synthesize()
      |      ^~~~~~~~~~~~~
es.c: In function ‘main’:
es.c:879:15: warning: ignoring return value of ‘daemon’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  879 |   if (!debug) daemon(0, 0);
      |               ^~~~~~~~~~~~
sockopen.c: In function ‘sockopen_unix’:
sockopen.c:26:3: warning: ‘__builtin_strncpy’ specified bound 108 equals destination size [-Wstringop-truncation]
   26 |   strncpy(addr.sun_path, fname, sizeof(addr.sun_path));
      |   ^
make[1]: *** [<builtin>: es.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/eflite-0.4.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-a11y-devel mailing list