[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096271: abcmidi: ftbfs with GCC-15



Package: src:abcmidi
Version: 20250207+ds-1
Severity: important
Tags: sid forky
User: debian-gcc@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/abcmidi_20250207+ds-1_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

[...]
store.c:5496:13: warning: old-style function definition [-Wold-style-definition]
 5496 | static void placeendrep(j)
      |             ^~~~~~~~~~~
store.c: In function ‘placestartrep’:
store.c:5518:13: warning: old-style function definition [-Wold-style-definition]
 5518 | static void placestartrep(j)
      |             ^~~~~~~~~~~~~
store.c: In function ‘apply_bf_stress_factors’:
store.c:5773:15: error: too many arguments to function ‘parse_stress_params’; expected 0, have 1
 5773 |           if (parse_stress_params (inputfile) == -1) readstressfile (inputfile);
      |               ^~~~~~~~~~~~~~~~~~~  ~~~~~~~~~
store.c:514:5: note: declared here
  514 | int parse_stress_params();
      |     ^~~~~~~~~~~~~~~~~~~
store.c: In function ‘event_key’:
store.c:5948:6: warning: old-style function definition [-Wold-style-definition]
 5948 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone, gotkey, gotclef, clefname, clef,
      |      ^~~~~~~~~
store.c: In function ‘finishfile’:
store.c:6232:9: error: too many arguments to function ‘writetrack’; expected 0, have 1
 6232 |         writetrack(0);
      |         ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6237:16: error: too many arguments to function ‘writetrack’; expected 0, have 1
 6237 |                writetrack(i);
      |                ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6244:16: error: too many arguments to function ‘writetrack’; expected 0, have 1
 6244 |                writetrack(i);
      |                ^~~~~~~~~~ ~
store.c:506:13: note: declared here
  506 | extern long writetrack();
      |             ^~~~~~~~~~
store.c:6258:9: error: too many arguments to function ‘mfwrite’; expected 0, have 4
 6258 |         mfwrite(0, 1, division, fp);
      |         ^~~~~~~ ~
midifile.h:35:6: note: declared here
   35 | void mfwrite();
      |      ^~~~~~~
store.c:6260:9: error: too many arguments to function ‘mfwrite’; expected 0, have 4
 6260 |         mfwrite(1, ntracks, division, fp);
      |         ^~~~~~~ ~
midifile.h:35:6: note: declared here
   35 | void mfwrite();
      |      ^~~~~~~
store.c: In function ‘event_refno’:
store.c:6291:6: warning: old-style function definition [-Wold-style-definition]
 6291 | void event_refno(n)
      |      ^~~~~~~~~~~
store.c: In function ‘main’:
store.c:6367:5: warning: old-style function definition [-Wold-style-definition]
 6367 | int main(argc,argv)
      |     ^~~~
store.c:6387:5: error: too many arguments to function ‘parsefile’; expected 0, have 1
 6387 |     parsefile(filename);
      |     ^~~~~~~~~ ~~~~~~~~
parseabc.h:178:13: note: declared here
  178 | extern void parsefile();
      |             ^~~~~~~~~
make[1]: *** [<builtin>: genmidi.o] Error 1
make[1]: *** [<builtin>: parseabc.o] Error 1
make[1]: *** [<builtin>: store.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/abcmidi-20250207+ds'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: