[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097563: pd-fftease: ftbfs with GCC-15



Package: src:pd-fftease
Version: 3.0.1-7
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

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

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/pd-fftease_3.0.1-7_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
++++ info: making convert.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o convert.pd_linux.o -c convert.c
++++ info: making fft.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o fft.pd_linux.o -c fft.c
++++ info: making fft4.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o fft4.pd_linux.o -c fft4.c
++++ info: making fftease_setup.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o fftease_setup.pd_linux.o -c fftease_setup.c
++++ info: making fftease_utilities.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o fftease_utilities.pd_linux.o -c fftease_utilities.c
++++ info: making fold.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o fold.pd_linux.o -c fold.c
++++ info: making leanconvert.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o leanconvert.pd_linux.o -c leanconvert.c
++++ info: making leanunconvert.pd_linux.o in lib fftease
cc -DPD -I "/usr/include/pd"  -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC  -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o leanunconvert.pd_linux.o -c leanunconvert.c
++++ info: making limit_fftsize.pd_linux.o in lib fftease
fft.c: In function ‘fftease_rfft’:
fft.c:26:6: error: conflicting types for ‘fftease_cfft’; have ‘void(void)’
   26 | void fftease_cfft();
      |      ^~~~~~~~~~~~
In file included from fft.c:1:
fftease.h:121:6: note: previous declaration of ‘fftease_cfft’ with type ‘void(t_float *, int,  int)’ {aka ‘void(float *, int,  int)’}
  121 | void fftease_cfft( t_float *x, int NC, int forward );
      |      ^~~~~~~~~~~~
fft.c:38:5: error: too many arguments to function ‘fftease_cfft’; expected 0, have 3
   38 |     fftease_cfft( x, N, forward );
      |     ^~~~~~~~~~~~  ~
fft.c:26:6: note: declared here
   26 | void fftease_cfft();
      |      ^~~~~~~~~~~~
fft.c:81:5: error: too many arguments to function ‘fftease_cfft’; expected 0, have 3
   81 |     fftease_cfft( x, N, forward );
      |     ^~~~~~~~~~~~  ~
fft.c:26:6: note: declared here
   26 | void fftease_cfft();
      |      ^~~~~~~~~~~~
fft.c: At top level:
fft.c:91:6: error: conflicting types for ‘fftease_cfft’; have ‘void(t_float *, int,  int)’ {aka ‘void(float *, int,  int)’}
   91 | void fftease_cfft( t_float *x, int NC, int forward )
      |      ^~~~~~~~~~~~
fft.c:26:6: note: previous declaration of ‘fftease_cfft’ with type ‘void(void)’
   26 | void fftease_cfft();
      |      ^~~~~~~~~~~~
fft.c: In function ‘fftease_cfft’:
fft.c:104:6: error: conflicting types for ‘fftease_bitreverse’; have ‘void(void)’
  104 | void fftease_bitreverse();
      |      ^~~~~~~~~~~~~~~~~~
fftease.h:122:6: note: previous declaration of ‘fftease_bitreverse’ with type ‘void(t_float *, int)’ {aka ‘void(float *, int)’}
  122 | void fftease_bitreverse( t_float *x, int N );
      |      ^~~~~~~~~~~~~~~~~~
fft.c:107:5: error: too many arguments to function ‘fftease_bitreverse’; expected 0, have 2
  107 |     fftease_bitreverse( x, ND );
      |     ^~~~~~~~~~~~~~~~~~  ~
fft.c:104:6: note: declared here
  104 | void fftease_bitreverse();
      |      ^~~~~~~~~~~~~~~~~~
fft.c: At top level:
fft.c:143:6: error: conflicting types for ‘fftease_bitreverse’; have ‘void(t_float *, int)’ {aka ‘void(float *, int)’}
  143 | void fftease_bitreverse( t_float *x, int N )
      |      ^~~~~~~~~~~~~~~~~~
fft.c:104:6: note: previous declaration of ‘fftease_bitreverse’ with type ‘void(void)’
  104 | void fftease_bitreverse();
      |      ^~~~~~~~~~~~~~~~~~
make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: fft.pd_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/pd-fftease-3.0.1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" arch.c.flags= "LDFLAGS=-Wl,-z,relro -Wl,-z,now" "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-fftease-3.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: