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

Bug#1097562: pd-ekext: ftbfs with GCC-15



Package: src:pd-ekext
Version: 0.1.1-6
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-ekext_0.1.1-6_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

[...]
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "hssc~.o" -c "hssc~.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "listmoses.o" -c "listmoses.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "list_sum.o" -c "list_sum.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "lpc~.o" -c "lpc~.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "lpreson~.o" -c "lpreson~.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "maskxor.o" -c "maskxor.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "peakit~.o" -c "peakit~.c"
maskxor.c:13:20: error: expected identifier or ‘(’ before ‘bool’
   13 |   t_outlet *thru, *bool, *maskout;
      |                    ^~~~
maskxor.c:14:1: warning: no semicolon at end of struct or union
   14 | } t_maskxor;
      | ^
maskxor.c: In function ‘maskxor_float’:
maskxor.c:24:25: error: expected identifier before ‘bool’
   24 |         outlet_float(x->bool, x->yes);
      |                         ^~~~
maskxor.c:24:9: error: too few arguments to function ‘outlet_float’; expected 2, have 1
   24 |         outlet_float(x->bool, x->yes);
      |         ^~~~~~~~~~~~
In file included from maskxor.c:1:
/usr/include/pd/m_pd.h:468:13: note: declared here
  468 | EXTERN void outlet_float(t_outlet *x, t_float f);
      |             ^~~~~~~~~~~~
maskxor.c:34:25: error: expected identifier before ‘bool’
   34 |         outlet_float(x->bool, x->yes);
      |                         ^~~~
maskxor.c:34:9: error: too few arguments to function ‘outlet_float’; expected 2, have 1
   34 |         outlet_float(x->bool, x->yes);
      |         ^~~~~~~~~~~~
/usr/include/pd/m_pd.h:468:13: note: declared here
  468 | EXTERN void outlet_float(t_outlet *x, t_float f);
      |             ^~~~~~~~~~~~
maskxor.c: In function ‘maskxor_bang’:
maskxor.c:45:18: error: ‘t_maskxor’ {aka ‘struct _maskxor’} has no member named ‘maskout’; did you mean ‘maskl’?
   45 |   outlet_list(x->maskout, &s_list, x->lengthm, x->maskxor);
      |                  ^~~~~~~
      |                  maskl
maskxor.c:46:19: error: expected identifier before ‘bool’
   46 |   outlet_float(x->bool, x->yes);
      |                   ^~~~
maskxor.c:46:3: error: too few arguments to function ‘outlet_float’; expected 2, have 1
   46 |   outlet_float(x->bool, x->yes);
      |   ^~~~~~~~~~~~
/usr/include/pd/m_pd.h:468:13: note: declared here
  468 | EXTERN void outlet_float(t_outlet *x, t_float f);
      |             ^~~~~~~~~~~~
maskxor.c: In function ‘maskxor_listl’:
maskxor.c:100:18: error: ‘t_maskxor’ {aka ‘struct _maskxor’} has no member named ‘maskout’; did you mean ‘maskl’?
  100 |   outlet_list(x->maskout, &s_list, x->lengthm, x->maskxor);
      |                  ^~~~~~~
      |                  maskl
maskxor.c: In function ‘maskxor_new’:
maskxor.c:194:6: error: expected identifier before ‘bool’
  194 |   x->bool = outlet_new(&x->x_obj, &s_float);
      |      ^~~~
maskxor.c:195:6: error: ‘t_maskxor’ {aka ‘struct _maskxor’} has no member named ‘maskout’; did you mean ‘maskl’?
  195 |   x->maskout = outlet_new(&x->x_obj, &s_list);
      |      ^~~~~~~
      |      maskl
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "polymap.o" -c "polymap.c"
cc -Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -o "polystat.o" -c "polystat.c"
make[2]: *** [Makefile:191: maskxor.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/pd-ekext-0.1.1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" arch.flags= "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd" "CFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 -DPD -I/usr/include/pd -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/pd-ekext-0.1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--export-dynamic -shared -fPIC -Wl,-as-needed" returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/pd-ekext-0.1.1'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: