Bug#1075097: jack-tools: ftbfs with GCC-14
Package: src:jack-tools
Version: 20131226-2
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/jack-tools_20131226-2_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
[...]
gcc -Wall -O2 -c quantize.c
gcc -Wall -O2 -c rand.c
gcc -Wall -O2 -c rgba.c
gcc -Wall -O2 -c segment-transfer.c
gcc -Wall -O2 -c signal-clip.c
gcc -Wall -O2 -c signal-copy.c
gcc -Wall -O2 -c signal-interleave.c
gcc -Wall -O2 -c signal-interpolate.c
gcc -Wall -O2 -c signal-print.c
gcc -Wall -O2 -c sound-file.c
gcc -Wall -O2 -c taus88.c
gcc -Wall -O2 -c time-current.c
gcc -Wall -O2 -c time-ntp.c
gcc -Wall -O2 -c time-timespec.c
gcc -Wall -O2 -c time-timeval.c
gcc -Wall -O2 -c trace.c
gcc -Wall -O2 -c vector.c
gcc -Wall -O2 -c window.c
gcc -Wall -O2 -c ximg.c
gcc -Wall -O2 -c xregcomp.c
ar -rcs lib-c-common.a alsa-seq-endpoint.o alsa-seq-listener.o alsa-seq-print.o alsa-seq-send.o bessel.o byte-order.o cfile.o client.o clip.o cq.o file.o gen-trapezoid.o gl-cube.o gl-sphere.o glu-screen-capture.o img.o img-ppm.o jack-client.o jack-port.o jack-ringbuffer.o jack-transport.o memory.o network.o observe-signal.o osc.o plane.o quantize.o rand.o rgba.o segment-transfer.o signal-clip.o signal-copy.o signal-interleave.o signal-interpolate.o signal-print.o sound-file.o taus88.o time-current.o time-ntp.o time-timespec.o time-timeval.o trace.o vector.o window.o ximg.o xregcomp.o
make[2]: Leaving directory '/<<PKGBUILDDIR>>/c-common'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -D_POSIX_C_SOURCE=200112 -Wl,-z,relro -o jack-dl jack-dl.c c-common/lib-c-common.a -ljack -lpthread -lm -ldl -llo
jack-dl.c: In function ‘main’:
jack-dl.c:169:52: error: passing argument 4 of ‘lo_server_thread_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
169 | lo_server_thread_add_method(osc, "/c_set", "if", osc_c_set, &w);
| ^~~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
In file included from /usr/include/lo/lo.h:33,
from jack-dl.c:12:
/usr/include/lo/lo_serverthread.h:151:72: note: expected ‘lo_method_handler’ {aka ‘int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)’} but argument is of type ‘int (*)(const char *, const char *, lo_arg **, int, void *, void *)’
151 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
jack-dl.c:170:52: error: passing argument 4 of ‘lo_server_thread_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
170 | lo_server_thread_add_method(osc, "/g_load", "s", osc_g_load, &w);
| ^~~~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
/usr/include/lo/lo_serverthread.h:151:72: note: expected ‘lo_method_handler’ {aka ‘int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)’} but argument is of type ‘int (*)(const char *, const char *, lo_arg **, int, void *, void *)’
151 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
jack-dl.c:171:53: error: passing argument 4 of ‘lo_server_thread_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
171 | lo_server_thread_add_method(osc, "/g_unload", "", osc_g_unload, &w);
| ^~~~~~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
/usr/include/lo/lo_serverthread.h:151:72: note: expected ‘lo_method_handler’ {aka ‘int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)’} but argument is of type ‘int (*)(const char *, const char *, lo_arg **, int, void *, void *)’
151 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
jack-dl.c:172:55: error: passing argument 4 of ‘lo_server_thread_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
172 | lo_server_thread_add_method(osc, "/b_alloc", "iii", osc_b_alloc, &w);
| ^~~~~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
/usr/include/lo/lo_serverthread.h:151:72: note: expected ‘lo_method_handler’ {aka ‘int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)’} but argument is of type ‘int (*)(const char *, const char *, lo_arg **, int, void *, void *)’
151 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
jack-dl.c:173:51: error: passing argument 4 of ‘lo_server_thread_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
173 | lo_server_thread_add_method(osc, "/quit", NULL, osc_quit, &w);
| ^~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
/usr/include/lo/lo_serverthread.h:151:72: note: expected ‘lo_method_handler’ {aka ‘int (*)(const char *, const char *, lo_arg **, int, struct lo_message_ *, void *)’} but argument is of type ‘int (*)(const char *, const char *, lo_arg **, int, void *, void *)’
151 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
make[1]: *** [Makefile:14: jack-dl] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: