Bug#1096501: daisy-player: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:09:12 GMT 2025


Package: src:daisy-player
Version: 13.0-4
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/daisy-player_13.0-4_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

[...]
 1833 | void usage ()
      |      ^~~~~
daisy-player.c:2339:10: error: too many arguments to function ‘usage’; expected 0, have 1
 2339 |          usage (1);
      |          ^~~~~  ~
daisy-player.c:1833:6: note: declared here
 1833 | void usage ()
      |      ^~~~~
common.c: In function ‘select_next_output_device’:
common.c:1148:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1148 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
common.c:1174:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1174 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
common.c:1195:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1195 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\"  -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/daisy-player-13.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o ncx.o ncx.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\"  -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/daisy-player-13.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o opf.o opf.c
daisy-player.c: In function ‘write_wav’:
daisy-player.c:494:10: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  494 |          write (misc->pipefd[1], p_readbuf, CDIO_CD_FRAMESIZE_RAW);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
daisy-player.c: In function ‘quit_daisy_player’:
daisy-player.c:956:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  956 |    system ("reset");
      |    ^~~~~~~~~~~~~~~~
daisy-player.c:972:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  972 |    system (misc->cmd);
      |    ^~~~~~~~~~~~~~~~~~
daisy-player.c: In function ‘browse’:
daisy-player.c:1371:10: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1371 |          system (misc->cmd);
      |          ^~~~~~~~~~~~~~~~~~
daisy-player.c:1470:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1470 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
daisy-player.c:1712:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1712 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
daisy-player.c:1733:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 1733 |             system (misc->cmd);
      |             ^~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I . -I /usr/include/cdio/ -I /usr/include/cdio/paranoia/ -I /usr/include/libxml2/ -D LOCALEDIR=\"/usr/share/locale\"  -Wall -Wextra -Wunused -Wunused-variable -Wunused-function -Wmissing-declarations -g -I /usr/include/libxml2/ -O3 -Wuninitialized -Winit-self -DPROGRAMNAME_LOCALEDIR=\"\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/daisy-player-13.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -I/usr/include/libxml2 -c -o madplay/madplay.o madplay/madplay.c
daisy-player.c: In function ‘main’:
daisy-player.c:2229:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2229 |    system ("clear");
      |    ^~~~~~~~~~~~~~~~
daisy-player.c:2248:10: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2248 |          system ("clear");
      |          ^~~~~~~~~~~~~~~~
daisy-player.c:2382:7: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2382 |       system (misc.cmd);
      |       ^~~~~~~~~~~~~~~~~
daisy-player.c:2437:19: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
 2437 |                   system (misc.cmd);
      |                   ^~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:532: daisy-player.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/reproducible-path/daisy-player-13.0/src'
make[3]: *** [Makefile:595: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/daisy-player-13.0'
make[2]: *** [Makefile:534: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/daisy-player-13.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/daisy-player-13.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