Bug#1075374: pd-plugin: ftbfs with GCC-14
Package: src:pd-plugin
Version: 0.2.1-9
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-plugin_0.2.1-9_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:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_open_plugin’:
plugin~.c:437:3: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
437 | verbose(2, "plugin~: open_plugin (x, \"%s\", \"%s\", %ld);", name, lib_name, sample_rate);
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c:443:5: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
443 | verbose(1, "plugin~: plugin active");
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_close_plugin’:
plugin~.c:452:3: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
452 | verbose(2, "plugin~: close_plugin (x)");
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c:454:3: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
454 | verbose(1, "plugin~: destructed plugin successfully");
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_ladspa_search_plugin_callback’:
plugin~.c:534:15: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
534 | verbose(1, "plugin~: found plugin \"%s\" in library \"%s\"",
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_ladspa_open_plugin’:
plugin~.c:603:3: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
603 | verbose(1, "plugin~: constructed plugin \"%s\" successfully", x->plugin.ladspa.type->Name);
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_ladspa_reset’:
plugin~.c:709:7: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
709 | verbose(1, "plugin~: Warning: Plug-in defines activate() method but no deactivate() method");
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_ladspa_count_ports’:
plugin~.c:956:3: warning: ‘verbose’ is deprecated [-Wdeprecated-declarations]
956 | verbose(1, "plugin~: plugin ports: audio %d/%d ctrl %d/%d",
| ^~~~~~~
/usr/include/pd/m_pd.h:629:27: note: declared here
629 | PD_DEPRECATED EXTERN void verbose(int level, const char *fmt, ...) ATTRIBUTE_FORMAT_PRINTF(2, 3); /* avoid this: use logpost() instead */
| ^~~~~~~
plugin~.c: In function ‘plugin_tilde_ladspa_alloc_outofplace_memory’:
plugin~.c:1007:49: error: assignment to ‘float **’ from incompatible pointer type ‘t_float **’ {aka ‘double **’} [-Wincompatible-pointer-types]
1007 | x->plugin.ladspa.outofplace_audio_outputs = (t_float**)
| ^
plugin~.c:1015:56: error: assignment to ‘float *’ from incompatible pointer type ‘t_float *’ {aka ‘double *’} [-Wincompatible-pointer-types]
1015 | x->plugin.ladspa.outofplace_audio_outputs[i] = (t_float*)
| ^
make[1]: *** [/usr/share/pd-lib-builder//Makefile.pdlibbuilder:987: plugin~.linux-amd64-64.so.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/ floatsize=64 extension=linux-amd64-64.so returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: