Bug#1074955: fftw: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:26:29 BST 2024


Package: src:fftw
Version: 2.1.5-6
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/fftw_2.1.5-6_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
mv -f .deps/transpose_mpi.Tpo .deps/transpose_mpi.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing  -MT fftwnd_mpi.lo -MD -MP -MF .deps/fftwnd_mpi.Tpo -c -o fftwnd_mpi.lo fftwnd_mpi.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -MT fftwnd_mpi.lo -MD -MP -MF .deps/fftwnd_mpi.Tpo -c fftwnd_mpi.c  -fPIC -DPIC -o .libs/fftwnd_mpi.o
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -MT fftwnd_mpi.lo -MD -MP -MF .deps/fftwnd_mpi.Tpo -c fftwnd_mpi.c -o fftwnd_mpi.o >/dev/null 2>&1
mv -f .deps/fftwnd_mpi.Tpo .deps/fftwnd_mpi.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing  -MT fftw_mpi.lo -MD -MP -MF .deps/fftw_mpi.Tpo -c -o fftw_mpi.lo fftw_mpi.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -MT fftw_mpi.lo -MD -MP -MF .deps/fftw_mpi.Tpo -c fftw_mpi.c  -fPIC -DPIC -o .libs/fftw_mpi.o
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -MT fftw_mpi.lo -MD -MP -MF .deps/fftw_mpi.Tpo -c fftw_mpi.c -o fftw_mpi.o >/dev/null 2>&1
mv -f .deps/fftw_mpi.Tpo .deps/fftw_mpi.Plo
/bin/bash ../libtool  --tag=CC   --mode=compile mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I.  -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing  -MT fftw_f77_mpi.lo -MD -MP -MF .deps/fftw_f77_mpi.Tpo -c -o fftw_f77_mpi.lo fftw_f77_mpi.c
libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I../fftw -I./../tests -I./../fftw -I./../rfftw -I. -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 -malign-double -fstrict-aliasing -MT fftw_f77_mpi.lo -MD -MP -MF .deps/fftw_f77_mpi.Tpo -c fftw_f77_mpi.c  -fPIC -DPIC -o .libs/fftw_f77_mpi.o
In file included from fftw_f77_mpi.c:20:
fftw_f77_mpi.c: In function ‘fftw_f77_mpi_create_plan_’:
fftw_f77_mpi.h:50:48: error: passing argument 1 of ‘MPI_Comm_f2c’ makes integer from pointer without a cast [-Wint-conversion]
   50 | #  define FFTW_MPI_COMM_F2C(comm) MPI_Comm_f2c(*((MPI_Comm *) comm))
      |                                                ^~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                MPI_Comm {aka struct ompi_communicator_t *}
fftw_f77_mpi.c:35:32: note: in expansion of macro ‘FFTW_MPI_COMM_F2C’
   35 |      *p = fftw_mpi_create_plan(FFTW_MPI_COMM_F2C(comm), *n,dir,*flags);
      |                                ^~~~~~~~~~~~~~~~~
In file included from fftw_mpi.h:24,
                 from fftw_f77_mpi.h:23:
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1413:47: note: expected ‘int’ but argument is of type ‘MPI_Comm’ {aka ‘struct ompi_communicator_t *’}
 1413 | OMPI_DECLSPEC  MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
      |                                               ^
fftw_f77_mpi.c: In function ‘fftwnd_f77_mpi_create_plan_’:
fftw_f77_mpi.h:50:48: error: passing argument 1 of ‘MPI_Comm_f2c’ makes integer from pointer without a cast [-Wint-conversion]
   50 | #  define FFTW_MPI_COMM_F2C(comm) MPI_Comm_f2c(*((MPI_Comm *) comm))
      |                                                ^~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                MPI_Comm {aka struct ompi_communicator_t *}
fftw_f77_mpi.c:71:34: note: in expansion of macro ‘FFTW_MPI_COMM_F2C’
   71 |      *p = fftwnd_mpi_create_plan(FFTW_MPI_COMM_F2C(comm),
      |                                  ^~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1413:47: note: expected ‘int’ but argument is of type ‘MPI_Comm’ {aka ‘struct ompi_communicator_t *’}
 1413 | OMPI_DECLSPEC  MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
      |                                               ^
fftw_f77_mpi.c: In function ‘fftw2d_f77_mpi_create_plan_’:
fftw_f77_mpi.h:50:48: error: passing argument 1 of ‘MPI_Comm_f2c’ makes integer from pointer without a cast [-Wint-conversion]
   50 | #  define FFTW_MPI_COMM_F2C(comm) MPI_Comm_f2c(*((MPI_Comm *) comm))
      |                                                ^~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                MPI_Comm {aka struct ompi_communicator_t *}
fftw_f77_mpi.c:81:34: note: in expansion of macro ‘FFTW_MPI_COMM_F2C’
   81 |      *p = fftw2d_mpi_create_plan(FFTW_MPI_COMM_F2C(comm), *ny,*nx,dir,*flags);
      |                                  ^~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1413:47: note: expected ‘int’ but argument is of type ‘MPI_Comm’ {aka ‘struct ompi_communicator_t *’}
 1413 | OMPI_DECLSPEC  MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
      |                                               ^
fftw_f77_mpi.c: In function ‘fftw3d_f77_mpi_create_plan_’:
fftw_f77_mpi.h:50:48: error: passing argument 1 of ‘MPI_Comm_f2c’ makes integer from pointer without a cast [-Wint-conversion]
   50 | #  define FFTW_MPI_COMM_F2C(comm) MPI_Comm_f2c(*((MPI_Comm *) comm))
      |                                                ^~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                MPI_Comm {aka struct ompi_communicator_t *}
fftw_f77_mpi.c:90:34: note: in expansion of macro ‘FFTW_MPI_COMM_F2C’
   90 |      *p = fftw3d_mpi_create_plan(FFTW_MPI_COMM_F2C(comm),
      |                                  ^~~~~~~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/openmpi/include/mpi.h:1413:47: note: expected ‘int’ but argument is of type ‘MPI_Comm’ {aka ‘struct ompi_communicator_t *’}
 1413 | OMPI_DECLSPEC  MPI_Comm MPI_Comm_f2c(MPI_Fint comm);
      |                                               ^
make[3]: *** [Makefile:596: fftw_f77_mpi.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/mpi'
make[2]: *** [Makefile:416: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:32: override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list