Bug#1119113: armci-mpi: fails to build with gcc-15: conflicting types for ‘finalize_arrays’
Adrian Bunk
bunk at debian.org
Mon Oct 27 10:05:00 GMT 2025
Control: forcemerge 1096329 -1
On Mon, Oct 27, 2025 at 01:13:58AM +0100, Drew Parsons wrote:
> Source: armci-mpi
> Version: 0.4-7
> Severity: serious
> Tags: ftbfs
> Justification: FTBFS
> Control: forwarded -1 https://github.com/pmodels/armci-mpi/issues/57
>
> armci-mpi (0.4) is failing to build with gcc-15 (C23 standard):
>
> mpicc.openmpi -DHAVE_CONFIG_H -I. -I./src -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/armci-mpi-0.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o tests/contrib/cg/cg.o tests/contrib/cg/cg.c
> tests/contrib/cg/cg.c:146:6: error: conflicting types for ‘finalize_arrays’; have ‘void(int)’
> 146 | void finalize_arrays(int dpc)
> | ^~~~~~~~~~~~~~~
> tests/contrib/cg/cg.c:25:6: note: previous declaration of ‘finalize_arrays’ with type ‘void(void)’
> 25 | void finalize_arrays();
> | ^~~~~~~~~~~~~~~
> make[3]: *** [Makefile:1775: tests/contrib/cg/cg.o] Error 1
>
> Full log at https://buildd.debian.org/status/fetch.php?pkg=armci-mpi&arch=amd64&ver=0.4-7&stamp=1761522189&raw=0
>...
This was previously fixed in the 0.4-6.1 NMU.
cu
Adrian
More information about the debian-science-maintainers
mailing list