[Debian-med-packaging] Bug#1097934: staden: ftbfs with GCC-15

Adrian Bunk bunk at debian.org
Tue Sep 23 14:28:23 BST 2025


On Mon, Feb 17, 2025 at 05:55:08PM +0000, Matthias Klose wrote:
> Package: src:staden
> Version: 2.0.0+b11-5
> Severity: important
> Tags: sid forky
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-15
>...
> align.c:22:36: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, FastInt (*)[6], int,  int,  char *, FastInt (*)[6], int *, int *, FastInt *, int)’ {aka ‘void (*)(char *, int (*)[6], int,  int,  char *, int (*)[6], int *, int *, int *, int)’} [-Wincompatible-pointer-types]
>    22 |                                    expand_6,
>       |                                    ^~~~~~~~
> align.c:22:36: note: (near initialization for ‘expand_arr[2]’)
> align_lib_old.h:11:13: note: ‘expand_6’ declared here
>    11 | extern void expand_6(char *A, FastInt (*B)[6], int M, int N,
>       |             ^~~~~~~~
>...

I suggest you just do
  export DEB_CFLAGS_MAINT_APPEND = -std=gnu17
in debian/rules, since it is not completely trivial to fix in this
old codebase.

The code will continue to work just as good (or bad?) as before.

cu
Adrian



More information about the Debian-med-packaging mailing list