[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/mathomatic_16.0.5-5_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
[...]
4446 | read_cmd(cp)
| ^~~~~~~~
cmds.c: In function ‘read_file’:
cmds.c:4471:1: warning: old-style function definition [-Wold-style-definition]
4471 | read_file(cp)
| ^~~~~~~~~
cmds.c: In function ‘read_sub’:
cmds.c:4565:1: warning: old-style function definition [-Wold-style-definition]
4565 | read_sub(fp, filename)
| ^~~~~~~~
cmds.c: In function ‘edit_sub’:
cmds.c:4611:1: warning: old-style function definition [-Wold-style-definition]
4611 | edit_sub(cp)
| ^~~~~~~~
cmds.c:4638:14: error: too many arguments to function ‘read_cmd’; expected 0, have 1
4638 | if (!read_cmd(cp)) {
| ^~~~~~~~ ~~
cmds.c:4446:1: note: declared here
4446 | read_cmd(cp)
| ^~~~~~~~
cmds.c:4639:21: error: too many arguments to function ‘pause_cmd’; expected 0, have 1
4639 | if (pause_cmd(_("Prepare to rerun the editor, or type \"quit\""))) {
| ^~~~~~~~~
cmds.c:1945:1: note: declared here
1945 | pause_cmd(cp)
| ^~~~~~~~~
cmds.c: At top level:
cmds.c:4650:1: error: conflicting types for ‘edit_cmd’; have ‘int(void)’
4650 | edit_cmd(cp)
| ^~~~~~~~
proto.h:110:5: note: previous declaration of ‘edit_cmd’ with type ‘int(char *)’
110 | int edit_cmd(char *cp);
| ^~~~~~~~
cmds.c: In function ‘edit_cmd’:
cmds.c:4650:1: warning: old-style function definition [-Wold-style-definition]
4650 | edit_cmd(cp)
| ^~~~~~~~
cmds.c:4690:17: error: too many arguments to function ‘list_cmd’; expected 0, have 1
4690 | list_cmd("all");
| ^~~~~~~~ ~~~~~
cmds.c:3294:1: note: declared here
3294 | list_cmd(cp)
| ^~~~~~~~
cmds.c: At top level:
cmds.c:4722:1: error: conflicting types for ‘save_cmd’; have ‘int(void)’
4722 | save_cmd(cp)
| ^~~~~~~~
proto.h:111:5: note: previous declaration of ‘save_cmd’ with type ‘int(char *)’
111 | int save_cmd(char *cp);
| ^~~~~~~~
cmds.c: In function ‘save_cmd’:
cmds.c:4722:1: warning: old-style function definition [-Wold-style-definition]
4722 | save_cmd(cp)
| ^~~~~~~~
cmds.c:4772:14: error: too many arguments to function ‘list_cmd’; expected 0, have 1
4772 | rv = list_cmd("all");
| ^~~~~~~~ ~~~~~
cmds.c:3294:1: note: declared here
3294 | list_cmd(cp)
| ^~~~~~~~
make[2]: *** [<builtin>: parse.o] Error 1
make[2]: *** [<builtin>: help.o] Error 1
make[2]: *** [<builtin>: simplify.o] Error 1
make[2]: *** [<builtin>: cmds.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/mathomatic-16.0.5'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/mathomatic-16.0.5'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2