#1075115 klystrack: ftbfs with GCC-14

#1075115#5
Date:
2024-07-03 12:31:33 UTC
From:
To:
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/klystrack_0.20171212-6_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++

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-14/porting_to.html

[...]
   44 | #define VER_READ(file_version, first_version, last_version, var, size) VER(file_version, first_version, last_version, SDL_RWread(ctx, var, !size ? sizeof(*var) : size, 1));
      |                                                                                                                                  ^~~
      |                                                                                                                                  |
      |                                                                                                                                  RWops *
src/macros.h:41:17: note: in definition of macro ‘VER’
   41 |                 block;\
      |                 ^~~~~
src/snd/music.c:1896:9: note: in expansion of macro ‘VER_READ’
 1896 |         VER_READ(version, 23, 0xff, &inst->fm_adsr, 0);
      |         ^~~~~~~~
/usr/include/SDL2/SDL_rwops.h:482:54: note: expected ‘SDL_RWops *’ but argument is of type ‘RWops *’
  482 | extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
      |                                           ~~~~~~~~~~~^~~~~~~
src/macros.h:44:130: error: passing argument 1 of ‘SDL_RWread’ from incompatible pointer type [-Wincompatible-pointer-types]
   44 | #define VER_READ(file_version, first_version, last_version, var, size) VER(file_version, first_version, last_version, SDL_RWread(ctx, var, !size ? sizeof(*var) : size, 1));
      |                                                                                                                                  ^~~
      |                                                                                                                                  |
      |                                                                                                                                  RWops *
src/macros.h:41:17: note: in definition of macro ‘VER’
   41 |                 block;\
      |                 ^~~~~
src/snd/music.c:1897:9: note: in expansion of macro ‘VER_READ’
 1897 |         VER_READ(version, 25, 0xff, &inst->fm_attack_start, 0);
      |         ^~~~~~~~
/usr/include/SDL2/SDL_rwops.h:482:54: note: expected ‘SDL_RWops *’ but argument is of type ‘RWops *’
  482 | extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
      |                                           ~~~~~~~~~~~^~~~~~~
src/macros.h:44:130: error: passing argument 1 of ‘SDL_RWread’ from incompatible pointer type [-Wincompatible-pointer-types]
   44 | #define VER_READ(file_version, first_version, last_version, var, size) VER(file_version, first_version, last_version, SDL_RWread(ctx, var, !size ? sizeof(*var) : size, 1));
      |                                                                                                                                  ^~~
      |                                                                                                                                  |
      |                                                                                                                                  RWops *
src/macros.h:41:17: note: in definition of macro ‘VER’
   41 |                 block;\
      |                 ^~~~~
src/snd/music.c:1898:9: note: in expansion of macro ‘VER_READ’
 1898 |         VER_READ(version, 23, 0xff, &inst->fm_wave, 0);
      |         ^~~~~~~~
/usr/include/SDL2/SDL_rwops.h:482:54: note: expected ‘SDL_RWops *’ but argument is of type ‘RWops *’
  482 | extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
      |                                           ~~~~~~~~~~~^~~~~~~
src/snd/music.c: In function ‘inner_load_fx’:
src/macros.h:44:130: error: passing argument 1 of ‘SDL_RWread’ from incompatible pointer type [-Wincompatible-pointer-types]
   44 | #define VER_READ(file_version, first_version, last_version, var, size) VER(file_version, first_version, last_version, SDL_RWread(ctx, var, !size ? sizeof(*var) : size, 1));
      |                                                                                                                                  ^~~
      |                                                                                                                                  |
      |                                                                                                                                  RWops *
src/macros.h:41:17: note: in definition of macro ‘VER’
   41 |                 block;\
      |                 ^~~~~
src/macros.h:45:28: note: in expansion of macro ‘VER_READ’
   45 | #define _VER_READ(x, size) VER_READ(version, 0, MUS_VERSION, x, size)
      |                            ^~~~~~~~
src/snd/music.c:2031:25: note: in expansion of macro ‘_VER_READ’
 2031 |                         _VER_READ(fx->name, my_min(len, sizeof(fx->name)));
      |                         ^~~~~~~~~
/usr/include/SDL2/SDL_rwops.h:482:54: note: expected ‘SDL_RWops *’ but argument is of type ‘RWops *’
  482 | extern DECLSPEC size_t SDLCALL SDL_RWread(SDL_RWops *context,
      |                                           ~~~~~~~~~~~^~~~~~~
make[4]: *** [Makefile:143: objs.release/snd_music.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/klystron'
make[3]: *** [Makefile:86: build] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/klystron'
make[2]: *** [Makefile:136: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/klystrack'
dh_auto_build: error: cd klystrack && make -j8 "INSTALL=install --strip-program=true" CFG=release returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1075115#16
Date:
2026-06-03 21:19:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
klystrack, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1075115@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alex Myczko <tar@debian.org> (supplier of updated klystrack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 03 Jun 2026 22:50:37 +0200
Source: klystrack
Architecture: source
Version: 0.20171212-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Alex Myczko <tar@debian.org>
Closes: 1075115
Changes:
 klystrack (0.20171212-9) unstable; urgency=medium
 .
   * d/install: updated.
   * d/klystrack.desktop: updated.
   * Closing ftbfs with GCC-14. (Closes: #1075115)
Checksums-Sha1:
 a7caf8baa8db591b2107584116eb6209cfde1403 1998 klystrack_0.20171212-9.dsc
 c7869e74a4f6ff81882a56d7fbc142c82c0bf2f9 11060 klystrack_0.20171212-9.debian.tar.xz
 3bf85de45ffd483e1c8c7b8fd2c62e2f3b940988 11971 klystrack_0.20171212-9_source.buildinfo
Checksums-Sha256:
 d9554d3848d35c6ac20f3a7d3854d68a2a338ff384078d605e0c4fcb52cec4d3 1998 klystrack_0.20171212-9.dsc
 6e354ab8f77bfd1976c891ce47f914703af87044a607b45a2e62344fab6e51a2 11060 klystrack_0.20171212-9.debian.tar.xz
 a0477aff13048c1c4308893c5c612a5656e358c08eef91986f7b977665511e0a 11971 klystrack_0.20171212-9_source.buildinfo
Files:
 5f6d27c4b6fea021edc9539ebf893238 1998 sound optional klystrack_0.20171212-9.dsc
 2520c297ceacce4c04d16584a9ba80f9 11060 sound optional klystrack_0.20171212-9.debian.tar.xz
 5c0a07852d1e9c30260f371a92dbcb8f 11971 sound optional klystrack_0.20171212-9_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmoglhoACgkQEWhSvN91
FcDY+hAAhXBPPztFn1YNsZYuEP3+hRZVn8L91Al0DWI6gWCZsenHU5t8gfKCPiGc
8LnYtSRmiUU76V4Th7XB4Q1H2RtjxTGU/7kqZDiNRp8aK1b9KPbZ3iWHtzYZWwvY
76PKSr5qZEgTUBo9iYQTA/NIuPJg+vMHeVrTBhRpHDXZZajbQDSvoQ4Gi/XcOdgg
EW7Ag29jy5iwgRAQAm2Xi/lQYeRcvVpb7bE7VAKJEB+jOEebtNA35YWuwFg0xLx3
Md2buPmsKfnRd2d+d5MU64RSEFs6rPuF5eKSfQDL4KY3eVdZCwrdod9xOW2L0+oe
nBAZhRUQdwFGnxRJ45KAFLjH7hSoWx6nNF0lLvx35lJgKREWOQBE2n8wY0os3DlJ
1OaJoMjsv8grQRX6MUGw4uaJ/A/HHMIibxWdySPwV0dDoFtuUJeBSpG6SFl/RAwj
yCjWJUl4dyZWNGr0UKgVUCKZWIDfAfAYcOPRY7j3dZuq7SJOXrvV/jfHeMHJw+RM
iIKu6I7q9WDLqb7MS1WdKHWbJS1IIm7C2zfgOn/t9jpqQVBnb7Doi3POsEJvyrOE
nAqHsvQkzZk0lhUFo2yoaymOnpGctCdc0ersjml+BqnOFiAYN+P27t3VYxzy3NRX
fsK9FtjjxQqMBfcH/8OHY2+hyPHeXjv+hpghGDQyf1FoV5jIyps=
=GpkO
-----END PGP SIGNATURE-----