Bug#1097966: tachyon: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:56:12 GMT 2025
Package: src:tachyon
Version: 0.99~b6+dsx-14
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/tachyon_0.99~b6+dsx-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
[...]
26 | int write_bytes();
| ^~~~~~~~~~~
denfile.c:200:10: error: too many arguments to function ‘write_bytes’; expected 0, have 3
200 | !write_bytes(fd, (char *)&map_length, sizeof(unsigned)) ||
| ^~~~~~~~~~~ ~~
denfile.c:26:5: note: declared here
26 | int write_bytes();
| ^~~~~~~~~~~
denfile.c:201:10: error: too many arguments to function ‘write_bytes’; expected 0, have 3
201 | !write_bytes(fd, (char *)data, map_length)) {
| ^~~~~~~~~~~ ~~
denfile.c:26:5: note: declared here
26 | int write_bytes();
| ^~~~~~~~~~~
denfile.c: In function ‘write_raw’:
denfile.c:218:1: warning: old-style function definition [-Wold-style-definition]
218 | write_raw(filename, data, xlen, ylen, zlen)
| ^~~~~~~~~
denfile.c:235:10: error: too many arguments to function ‘write_bytes’; expected 0, have 3
235 | if (!write_bytes(fd, (char *)data, map_length)) {
| ^~~~~~~~~~~ ~~
denfile.c:26:5: note: declared here
26 | int write_bytes();
| ^~~~~~~~~~~
denfile.c: In function ‘read_bytes’:
denfile.c:256:1: warning: old-style function definition [-Wold-style-definition]
256 | read_bytes(fd, buf, bytecount)
| ^~~~~~~~~~
denfile.c:260:1: error: number of arguments doesn’t match prototype
260 | {
| ^
denfile.c:23:5: error: prototype declaration
23 | int read_bytes();
| ^~~~~~~~~~
denfile.c: In function ‘read_shorts’:
denfile.c:285:1: warning: old-style function definition [-Wold-style-definition]
285 | read_shorts(fd, sbuf, shortcount, swap)
| ^~~~~~~~~~~
denfile.c:290:1: error: number of arguments doesn’t match prototype
290 | {
| ^
denfile.c:24:5: error: prototype declaration
24 | int read_shorts();
| ^~~~~~~~~~~
denfile.c: In function ‘read_words’:
denfile.c:334:1: warning: old-style function definition [-Wold-style-definition]
334 | read_words(fd, wbuf, wordcount, swap)
| ^~~~~~~~~~
denfile.c:339:1: error: number of arguments doesn’t match prototype
339 | {
| ^
denfile.c:25:5: error: prototype declaration
25 | int read_words();
| ^~~~~~~~~~
denfile.c: In function ‘write_bytes’:
denfile.c:383:1: warning: old-style function definition [-Wold-style-definition]
383 | write_bytes(fd, buf, bytecount)
| ^~~~~~~~~~~
denfile.c:387:1: error: number of arguments doesn’t match prototype
387 | {
| ^
denfile.c:26:5: error: prototype declaration
26 | int write_bytes();
| ^~~~~~~~~~~
make[2]: *** [Makefile:14: den2raw] Error 1
make[2]: Leaving directory '/build/reproducible-path/tachyon-0.99~b6+dsx/pkgextra/volpack/data'
make[1]: *** [debian/rules:129: override_dh_auto_install-indep] Error 2
make[1]: Leaving directory '/build/reproducible-path/tachyon-0.99~b6+dsx'
make: *** [debian/rules:65: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the debian-science-maintainers
mailing list