Debian Bug report logs - #1074955
fftw: ftbfs with GCC-14

version graph

Package: src:fftw; Maintainer for src:fftw is (unknown);

Reported by: Matthias Klose <doko@debian.org>

Date: Wed, 3 Jul 2024 12:30:25 UTC

Severity: serious

Tags: ftbfs, sid, trixie

Found in version fftw/2.1.5-6

Fixed in version fftw/2.1.5-7

Done: Thibaut Paumard <thibaut@debian.org>

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#1074955; Package src:fftw. (Wed, 03 Jul 2024 12:30:27 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>. (Wed, 03 Jul 2024 12:30:27 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: maintonly@bugs.debian.org
Subject: fftw: ftbfs with GCC-14
Date: Wed, 03 Jul 2024 12:26:29 +0000
Package: src:fftw
Version: 2.1.5-6
Severity: important
Tags: sid trixie
User: debian-gcc@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



Added tag(s) ftbfs. Request was from Bas Couwenberg <sebastic@debian.org> to control@bugs.debian.org. (Wed, 24 Jul 2024 18:22:56 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Bas Couwenberg <sebastic@debian.org> to control@bugs.debian.org. (Wed, 24 Jul 2024 18:22:56 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>:
Bug#1074955; Package src:fftw. (Thu, 01 Aug 2024 11:15:09 GMT) (full text, mbox, link).


Acknowledgement sent to Miriam Espana Acebal <miriam.espana@canonical.com>:
Extra info received and forwarded to list. Copy sent to Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>. (Thu, 01 Aug 2024 11:15:09 GMT) (full text, mbox, link).


Message #14 received at 1074955@bugs.debian.org (full text, mbox, reply):

From: Miriam Espana Acebal <miriam.espana@canonical.com>
To: 1074955@bugs.debian.org
Date: Thu, 1 Aug 2024 13:11:42 +0200
[Message part 1 (text/plain, inline)]
Hi,

Here I'm attaching a patch that fixes this issue, adapting to the new
gcc-14, for your consideration.
I got a successful build in Ubuntu at [1].

Thanks in advance,

Miriam

[1]
https://launchpad.net/~mirespace/+archive/ubuntu/plusone/+sourcepub/16299869/+listing-archive-extra
-- 
[image: Canonical-20th-anniversary]

Miriam España Acebal

Software Engineer II - Ubuntu Public Cloud/Server

Email:

miriam.espana@canonical.com

Location:

Spain  (GMT+2)

canonical.com

ubuntu.com
[Message part 2 (text/html, inline)]
[gcc-14-fix-pointer-int-conversion.patch (text/x-patch, attachment)]

Reply sent to Thibaut Paumard <thibaut@debian.org>:
You have taken responsibility. (Thu, 01 Aug 2024 17:54:03 GMT) (full text, mbox, link).


Notification sent to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer. (Thu, 01 Aug 2024 17:54:03 GMT) (full text, mbox, link).


Message #19 received at 1074955-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1074955-close@bugs.debian.org
Subject: Bug#1074955: fixed in fftw 2.1.5-7
Date: Thu, 01 Aug 2024 17:52:08 +0000
[Message part 1 (text/plain, inline)]
Source: fftw
Source-Version: 2.1.5-7
Done: Thibaut Paumard <thibaut@debian.org>

We believe that the bug you reported is fixed in the latest version of
fftw, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1074955@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thibaut Paumard <thibaut@debian.org> (supplier of updated fftw package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 01 Aug 2024 13:21:10 +0200
Source: fftw
Architecture: source
Version: 2.1.5-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Thibaut Paumard <thibaut@debian.org>
Closes: 1074955
Changes:
 fftw (2.1.5-7) unstable; urgency=medium
 .
   * Bug fix: "ftbfs with GCC-14", thanks to Matthias Klose (Closes:
     #1074955); new patch gcc-14.
   * Bump Policy to 4.7.0.
   * Add lintian overrides confirming that two libraries don't use any
     symbols from lobc.
Checksums-Sha1:
 417c64f4875c46ff9b631c0549dce6a3dceefd53 2207 fftw_2.1.5-7.dsc
 eea183983fdd3e96e35752bf160410b9cb440fd8 59200 fftw_2.1.5-7.debian.tar.xz
 e20d730969a3571b6577c2ff6fe3c65787e004e0 10087 fftw_2.1.5-7_amd64.buildinfo
Checksums-Sha256:
 9454c78c7c79f2c7ee553fd3e6976a32020b826592a30bda77b4e4465a5cc790 2207 fftw_2.1.5-7.dsc
 48a16aa37fe3525b3c7587796408b1bba36496b43e8e533dca7ad05aa1f26abd 59200 fftw_2.1.5-7.debian.tar.xz
 b3eef7d70a18c444bb11ae1d921ff676cabd3c9dd722550c0b5d96a1d37f4b91 10087 fftw_2.1.5-7_amd64.buildinfo
Files:
 7a4b81720f5dbaa651d15adef129d1ca 2207 oldlibs optional fftw_2.1.5-7.dsc
 f6e80dd492b368f191e56af2d4e548e0 59200 oldlibs optional fftw_2.1.5-7.debian.tar.xz
 8cc85a22e0cae717417257a30dcb7fec 10087 oldlibs optional fftw_2.1.5-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCAAxFiEEvK37UrQZmNdNmdmOk5RTSODcKEAFAmarxq0THHRoaWJhdXRA
ZGViaWFuLm9yZwAKCRCTlFNI4NwoQGAtD/9GpJg0D4OHvF1mZmIeDO4BQUCxA4jU
YCvgbrHnSrh4nxvw3ILKJMax5N8Fm3XLnyEhp6AgPyCP3PCXhoRzUqdEPNx0fAAt
3BztcqK2ON9H60RIkXxBd2xaK6IoqjC3foFKFvo41m3tHnuOlrksemdjhUPdV7QJ
TjFtwLY5dIb2m/WLO6zKm4Ec2MAQFkPi0F/m/KLD/IeibFTkPl/EqejJEswJ1Q1A
GP9j1T8HhDrZJHMq/+BuDSrnS9uLNms/L2aJ3A9PN9TlphsNS0Ld78CK+vn68Bef
ZVTbE/FWqvdncxPO8AhRsZQMig3wPnExXD9zu6bX7sE6SmFZc+nnooJJXIt17kYS
BSHpbxyhamRGxFpA9Fa9e5FRY+xqR/cLZIsq9c7NqGdK5CAw5e0f77sVPXVlKXou
dewfeJKjXTCqTioT61RXcFmrbW9+nTefw65cEY3hVFBDgW1ChuC8eTuSAP7KWr2/
hMJj38+ERq0Njxz8XHZ3yKDfYKnQ8wf27DpYPFNWydMXIoUQdIIaImW38M1svFOm
MghYwyCVia5dnv0f3HM1Z3u6rExUzNPk8VQZMg1j7ux8dbOi0DdAUcDDzFpk85FE
aE6Q3yGNDPI7S5Kcfa1VU/7+apsr9nB9LCLBcl8M0HE+be/1qb4n71yr+Tdz35SZ
a3+D3EU+tREGVQ==
=wMXV
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Aug 13 19:11:42 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.