Package: src:bwbasic Version: 2.20pl2-14 Severity: important Tags: sid forky User: debian-...@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/bwbasic_2.20pl2-14_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 [...] | ^~~~~~~ ~~~~ renum.c:14:7: note: declared here 14 | char *midstr2(); | ^~~~~~~ renum.c:407:37: error: too many arguments to function ‘midstr2’; expected 0, have 3 407 | a = (char)(*midstr2(pstr, x9, 1)); | ^~~~~~~ ~~~~ renum.c:14:7: note: declared here 14 | char *midstr2(); | ^~~~~~~ renum.c:420:34: error: too many arguments to function ‘midstr2’; expected 0, have 3 420 | n = atoi(midstr2(pstr, p8, p9 - p8 + 1)); | ^~~~~~~ ~~~~ renum.c:14:7: note: declared here 14 | char *midstr2(); | ^~~~~~~ renum.c:430:53: error: too many arguments to function ‘midstr2’; expected 0, have 3 430 | strcpy(tempstr, midstr2(pstr, 1, p8 - 1)); | ^~~~~~~ ~~~~ renum.c:14:7: note: declared here 14 | char *midstr2(); | ^~~~~~~ renum.c:436:53: error: too many arguments to function ‘midstr2’; expected 0, have 3 436 | strcpy(tempstr, midstr2(pstr, 1, p8 - 1)); | ^~~~~~~ ~~~~ renum.c:14:7: note: declared here 14 | char *midstr2(); | ^~~~~~~ renum.c:438:53: error: too many arguments to function ‘midstr1’; expected 0, have 2 438 | strcat(tempstr, midstr1(pstr, p9 + 1)); | ^~~~~~~ ~~~~ renum.c:13:7: note: declared here 13 | char *midstr1(); | ^~~~~~~ renum.c: In function ‘instr’: renum.c:481:5: warning: old-style function definition [-Wold-style-definition] 481 | int instr(astr, bstr) | ^~~~~ renum.c:483:1: error: number of arguments doesn’t match prototype 483 | { | ^ renum.c:12:5: error: prototype declaration 12 | int instr(); | ^~~~~ renum.c: In function ‘midstr1’: renum.c:493:7: warning: old-style function definition [-Wold-style-definition] 493 | char *midstr1(astr, start) | ^~~~~~~ renum.c:496:1: error: number of arguments doesn’t match prototype 496 | { | ^ renum.c:13:7: error: prototype declaration 13 | char *midstr1(); | ^~~~~~~ renum.c: In function ‘midstr2’: renum.c:507:7: warning: old-style function definition [-Wold-style-definition] 507 | char *midstr2(astr, start, len) | ^~~~~~~ renum.c:510:1: error: number of arguments doesn’t match prototype 510 | { | ^ renum.c:14:7: error: prototype declaration 14 | char *midstr2(); | ^~~~~~~ make[1]: *** [Makefile:66: renum] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/build/reproducible-path/bwbasic-2.20pl2' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2