Bug#1074988: gerris: ftbfs with GCC-14

Drew Parsons dparsons at debian.org
Sat Nov 23 17:34:03 GMT 2024


Source: gerris
Version: 20131206+dfsg-19.1
Followup-For: Bug #1074988

Unfortunately that patch is not sufficient.

/bin/bash ../libtool --silent  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include -DG_LOG_DOMAIN=\"Gfs-modules\" -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
 -I/usr/include/sysprof-6 -pthread  -DGFS_MODULES_DIR=\"/usr/lib/x86_64-linux-gnu/gerris\" -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include -DFTT_2D=1 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-ma
p=/home/drew/projects/misc/build/gerris=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_GNU_SOURCE -Wall -Werror-implicit
-function-declaration -Wmissing-prototypes -Wmissing-declarations -pipe -std=c99 -c -o libbubbles2D_la-bubbles.lo `test -f 'bubbles.c' || echo './'`bubbles.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from /usr/include/gts.h:23,
                 from ../src/event.h:27,
                 from ../src/particle.h:27,
                 from particulatecommon.h:20,
                 from bubbles.c:20:
/usr/include/features.h:197:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  197 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
bubbles.c: In function 'bubble_fraction_init':
bubbles.c:421:48: error: assignment to 'void (*)(FttCell *, GfsVariable *, GfsParticulate *)' {aka 'void (*)(struct _FttCell *, struct _GfsVariable *, struct _GfsParticulate *)'} from incompatible pointer type 'void (*)(FttCell *, BubbleData *)' {aka 'void (*)(struct _FttCell *, BubbleData *)'} [-Wincompatible-pointer-types]
  421 |   GFS_PARTICULATE_FIELD (v)->voidfraction_func = voidfraction_from_bubbles;
      |                                                ^
bubbles.c: In function 'bubble_fraction_dt_init':
bubbles.c:474:48: error: assignment to 'void (*)(FttCell *, GfsVariable *, GfsParticulate *)' {aka 'void (*)(struct _FttCell *, struct _GfsVariable *, struct _GfsParticulate *)'} from incompatible pointer type 'void (*)(FttCell *, BubbleData *)' {aka 'void (*)(struct _FttCell *, BubbleData *)'} [-Wincompatible-pointer-types]
  474 |   GFS_PARTICULATE_FIELD (o)->voidfraction_func = dVpdt_from_particles;
      |                                                ^
make[4]: *** [Makefile:1253: libbubbles2D_la-bubbles.lo] Error 1
make[4]: Leaving directory '/home/drew/projects/misc/build/gerris/modules'



More information about the debian-science-maintainers mailing list