Bug#1096269: a2ps: ftbfs with GCC-15
On Mo, 17 Feb 2025, Matthias Klose wrote:
> The full build log can be found at:
> http://qa-logs.debian.net/2025/02/16/amd64exp/a2ps_4.15.6-1_unstable_gccexp.log.gz
> [...]
> -
> package: base-passwd
> version: 3.6.6
> architecture: amd64
> essential: true
I can confirm that there's an issue with a2ps and GCC-15, but the
above messages (and the build log) show only some temporarily problem
with the build dependencies of the build system:
The following packages have unmet dependencies:
libgccjit0 : Depends: gcc-15-base (= 15-20250203-1) but 15-20250213-1 is to be installed
So I did a build with GCC-15 myself.
The full build log can be found at:
https://people.debian.org/~roland/a2ps_4.15.6-1_unstable_gccexp.log.gz
The end of the error log shows:
parseppd.y:157:1: error: conflicting types for 'yyprint'; have 'void(FILE *, int, YYSTYPE)'
157 | yyprint (FILE *file, int type, YYSTYPE value)
| ^~~~~~~
parseppd.y:53:13: note: previous declaration of 'yyprint' with type 'void(void)'
53 | static void yyprint ();
| ^~~~~~~
make[4]: *** [Makefile:1723: libnowarnings_a-parseppd.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/a2ps-4.15.6/liba2ps'
Greetings
Roland
Reply to: