Bug#1098018: tth: ftbfs with GCC-15
Package: src:tth
Version: 4.16+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/tth_4.16+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
[...]
8452 | else if(strstr(thedimension,"mm")==thedimension)dimval=186468;
| ^~~~~~~~~~~~ ~~~~~~~~
tth.lex:8421:12: note: declared here
8421 | }
| ^
tth.lex:8458:12: error: too many arguments to function ‘scaledpoints’; expected 0, have 2
8458 | else if(strstr(thedimension,"sp")==thedimension)dimval=1;
| ^~~~~~~~~~~~ ~~~~~~~~
tth.lex:8421:12: note: declared here
8421 | }
| ^
tth.lex:8461:16: error: too many arguments to function ‘scaledpoints’; expected 0, have 2
8461 | }
| ^
tth.lex:8421:12: note: declared here
8421 | }
| ^
tth.lex:8461:45: error: too many arguments to function ‘scaledpoints’; expected 0, have 2
8461 | }
| ^
tth.lex:8421:12: note: declared here
8421 | }
| ^
tth.lex: In function ‘tth_cmykcolor’:
tth.lex:732:12: warning: old-style function definition [-Wold-style-definition]
732 | STATIC char xpndstring[2]={0};
| ^~~~~~~~~~~~~
tth.lex:8562:1: error: number of arguments doesn’t match prototype
8562 | {"SeaGreen",0.69,0,0.50,0},
| ^
tth.lex:732:12: error: prototype declaration
732 | STATIC char xpndstring[2]={0};
| ^~~~~~~~~~~~~
tth.lex: In function ‘tth_symbol_point’:
tth.lex:8590:7: warning: old-style function definition [-Wold-style-definition]
8590 | *m=tth_colortable[i].magenta;
| ^~~~~~~~~~~~~~~~
tth.lex:8592:1: error: number of arguments doesn’t match prototype
8592 | *k=tth_colortable[i].black;
| ^
tth.lex:119:7: error: prototype declaration
119 | /* lex Globals */
| ^~~~~~~~~~~~~~~
tth.lex: In function ‘tagpurge’:
tth.lex:8752:6: warning: old-style function definition [-Wold-style-definition]
8752 | if(i<0)i=i+256;
| ^~~~~~~~
tth.lex: At top level:
tth.lex:316:13: warning: ‘delimit’ used but never defined
316 | static int indexkey();
| ^~~~~~~
tth.lex:318:12: warning: ‘roman’ used but never defined
318 | static void delimit();
| ^~~~~
ttm.lex:8060:12: warning: ‘roman’ defined but not used [-Wunused-function]
8060 | char *text,*group;
| ^~~~~
make[1]: *** [makefile:59: ttm] Error 1
make[1]: *** Waiting for unfinished jobs....
tth.lex:8315:12: warning: ‘roman’ defined but not used [-Wunused-function]
8315 | int len;
| ^
tth.lex:8099:13: warning: ‘delimit’ defined but not used [-Wunused-function]
8099 | }
| ^
make[1]: *** [makefile:65: tth] Error 1
make[1]: Leaving directory '/build/reproducible-path/tth-4.16+ds'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: