Bug#1075369: pd-cyclone: ftbfs with GCC-14
Package: src:pd-cyclone
Version: 0.9.0+ds-1
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/pd-cyclone_0.9.0+ds-1_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
[...]
/usr/include/pd/m_pd.h:797:27: note: declared here
797 | PD_DEPRECATED EXTERN void sys_gui(const char *s); /* avoid this: use pdgui_vmess() instead */
| ^~~~~~~
shared/common/file.c:563:5: warning: ‘sys_gui’ is deprecated [-Wdeprecated-declarations]
563 | sys_gui(" }\n");
| ^~~~~~~
/usr/include/pd/m_pd.h:797:27: note: declared here
797 | PD_DEPRECATED EXTERN void sys_gui(const char *s); /* avoid this: use pdgui_vmess() instead */
| ^~~~~~~
shared/common/file.c:564:5: warning: ‘sys_gui’ is deprecated [-Wdeprecated-declarations]
564 | sys_gui("}\n");
| ^~~~~~~
/usr/include/pd/m_pd.h:797:27: note: declared here
797 | PD_DEPRECATED EXTERN void sys_gui(const char *s); /* avoid this: use pdgui_vmess() instead */
| ^~~~~~~
shared/common/file.c: In function ‘panel_tick’:
shared/common/file.c:591:9: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
591 | sys_vgui("panel_open %s {%s}\n", f->f_bindname->s_name, f->f_inidir->s_name);
| ^~~~~~~~
/usr/include/pd/m_pd.h:796:27: note: declared here
796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
| ^~~~~~~~
shared/common/file.c:593:9: warning: ‘sys_vgui’ is deprecated [-Wdeprecated-declarations]
593 | sys_vgui("panel_save %s {%s} {%s}\n", f->f_bindname->s_name,
| ^~~~~~~~
/usr/include/pd/m_pd.h:796:27: note: declared here
796 | PD_DEPRECATED EXTERN void sys_vgui(const char *fmt, ...); /* avoid this: use pdgui_vmess() instead */
| ^~~~~~~~
cc -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ishared -DHAVE_STRUCT_TIMESPEC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o cyclone_objects/binaries/audio/kink.pd_linux.o -c cyclone_objects/binaries/audio/kink.c
++++ info: making shared/common/magicbit.pd_linux.o in lib cyclone
cc -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ishared -DHAVE_STRUCT_TIMESPEC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o shared/common/magicbit.pd_linux.o -c shared/common/magicbit.c
++++ info: making cyclone_objects/binaries/audio/bitor.pd_linux.o in lib cyclone
cc -DPD -I "/usr/include/pd" -DUNIX -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ishared -DHAVE_STRUCT_TIMESPEC -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -o cyclone_objects/binaries/audio/bitor.pd_linux.o -c cyclone_objects/binaries/audio/bitor.c
++++ info: making cyclone_objects/binaries/audio/matrix.pd_linux.o in lib cyclone
cyclone_objects/binaries/audio/bitor.c: In function ‘bitor_intmask’:
cyclone_objects/binaries/audio/bitor.c:34:19: error: passing argument 1 of ‘pd_float’ from incompatible pointer type [-Wincompatible-pointer-types]
34 | pd_float(x->x_rightinlet, (t_float)x->x_mask);
| ~^~~~~~~~~~~~~~
| |
| struct _inlet *
In file included from cyclone_objects/binaries/audio/bitor.c:6:
/usr/include/pd/m_pd.h:444:28: note: expected ‘struct _class **’ but argument is of type ‘struct _inlet *’
444 | EXTERN void pd_float(t_pd *x, t_float f);
| ~~~~~~^
cyclone_objects/binaries/audio/bitor.c: In function ‘bitor_bits’:
cyclone_objects/binaries/audio/bitor.c:121:15: error: passing argument 1 of ‘pd_float’ from incompatible pointer type [-Wincompatible-pointer-types]
121 | pd_float(x->x_rightinlet, f);
| ~^~~~~~~~~~~~~~
| |
| struct _inlet *
/usr/include/pd/m_pd.h:444:28: note: expected ‘struct _class **’ but argument is of type ‘struct _inlet *’
444 | EXTERN void pd_float(t_pd *x, t_float f);
| ~~~~~~^
cyclone_objects/binaries/audio/bitor.c: In function ‘bitor_new’:
cyclone_objects/binaries/audio/bitor.c:137:46: error: passing argument 1 of ‘obj_findsignalscalar’ from incompatible pointer type [-Wincompatible-pointer-types]
137 | x->x_signalscalar = obj_findsignalscalar(x, 1);
| ^
| |
| t_bitor * {aka struct _bitor *}
In file included from shared/common/magicbit.h:5,
from cyclone_objects/binaries/audio/bitor.c:8:
/usr/include/pd/m_imp.h:97:54: note: expected ‘const t_object *’ {aka ‘const struct _text *’} but argument is of type ‘t_bitor *’ {aka ‘struct _bitor *’}
97 | EXTERN t_float *obj_findsignalscalar(const t_object *x, int m);
| ~~~~~~~~~~~~~~~~^
make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: cyclone_objects/binaries/audio/bitor.pd_linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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=/<<PKGBUILDDIR>>=. -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:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: