Bug#1096560: ebook-speaker: ftbfs with GCC-15

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


Package: src:ebook-speaker
Version: 6.2.0-6
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/ebook-speaker_6.2.0-6_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

[...]
      |       ^~~~~~~~~~~~~~~~~~
ebook-speaker.c: In function ‘quit_eBook_speaker’:
ebook-speaker.c:36:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   36 |    system ("reset");
      |    ^~~~~~~~~~~~~~~~
ebook-speaker.c: In function ‘start_playing’:
ebook-speaker.c:148:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  148 |    system (misc->tts[misc->tts_no]);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ebook-speaker.c: In function ‘browse’:
ebook-speaker.c:1614:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1614 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
ebook-speaker.c:1667:10: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1667 |          system (misc->cmd);
      |          ^~~~~~~~~~~~~~~~~~
ebook-speaker.c:1849:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1849 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
ebook-speaker.c:1869:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1869 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
ebook-speaker.c: In function ‘store_item_as_WAV_file’:
ebook-speaker.c:2276:10: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2276 |          system (misc->tts[misc->tts_no]);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ebook-speaker.c:2281:10: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2281 |          system (misc->cmd);
      |          ^~~~~~~~~~~~~~~~~~
ebook-speaker.c:2290:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2290 |             write (w, buf, (size_t) in);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ebook-speaker.c:2308:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2308 |    system (misc->cmd);
      |    ^~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -D LOCALEDIR=\"/usr/share/locale\" -D EBOOK_SPEAKER -D PROGRAMNAME_LOCALEDIR=\"\" -I /usr/include/libxml2/ -Wall -Wextra -Wconversion -g -Wunused-function -Wuninitialized -Winit-self -Wlogical-op -Wpedantic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/ebook-speaker-6.2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o alsa_ctl.o alsa_ctl.c
make[4]: *** [Makefile:443: ebook-speaker.o] Error 1
make[4]: *** Waiting for unfinished jobs....
common.c: In function ‘failure’:
common.c:108:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  108 |    system ("reset");
      |    ^~~~~~~~~~~~~~~~
common.c: In function ‘create_daisy_struct’:
common.c:519:4: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  519 |    chdir (misc->daisy_mp);
      |    ^~~~~~~~~~~~~~~~~~~~~~
common.c: In function ‘get_list_of_sound_devices’:
common.c:918:4: warning: ignoring return value of ‘getgroups’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  918 |    getgroups (ngroups, groups);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
common.c: In function ‘select_next_output_device’:
common.c:1143:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1143 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
common.c:1168:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1168 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
common.c:1188:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1188 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/build/reproducible-path/ebook-speaker-6.2.0/src'
make[3]: *** [Makefile:428: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/ebook-speaker-6.2.0'
make[2]: *** [Makefile:367: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/ebook-speaker-6.2.0'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/ebook-speaker-6.2.0'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-a11y-devel mailing list