Bug#1075420: python-pyo: ftbfs with GCC-14
Package: src:python-pyo
Version: 1.0.5-5
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/python-pyo_1.0.5-5_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
[...]
813 | err = jack_port_set_name(be_data->jack_out_ports[i], name);
| ^~~
/usr/include/jack/jack.h:901:5: note: declared here
901 | int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
| ^~~~~~~~~~~~~~~~~~
src/engine/ad_jack.c:833:13: warning: ‘jack_port_set_name’ is deprecated [-Wdeprecated-declarations]
833 | err = jack_port_set_name(be_data->jack_out_ports[i], result);
| ^~~
/usr/include/jack/jack.h:901:5: note: declared here
901 | int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
| ^~~~~~~~~~~~~~~~~~
src/engine/ad_jack.c: In function ‘jack_midi_input_port_set_name’:
src/engine/ad_jack.c:862:9: warning: ‘jack_port_set_name’ is deprecated [-Wdeprecated-declarations]
862 | err = jack_port_set_name(be_data->jack_midiin_port, name);
| ^~~
/usr/include/jack/jack.h:901:5: note: declared here
901 | int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
| ^~~~~~~~~~~~~~~~~~
src/engine/ad_jack.c: In function ‘jack_midi_output_port_set_name’:
src/engine/ad_jack.c:890:9: warning: ‘jack_port_set_name’ is deprecated [-Wdeprecated-declarations]
890 | err = jack_port_set_name(be_data->jack_midiout_port, name);
| ^~~
/usr/include/jack/jack.h:901:5: note: declared here
901 | int jack_port_set_name (jack_port_t *port, const char *port_name) JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT;
| ^~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/ad_portaudio.c -o build/temp.linux-x86_64-cpython-312/src/engine/ad_portaudio.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/dummymodule.c -o build/temp.linux-x86_64-cpython-312/src/engine/dummymodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/fft.c -o build/temp.linux-x86_64-cpython-312/src/engine/fft.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/inputfadermodule.c -o build/temp.linux-x86_64-cpython-312/src/engine/inputfadermodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/interpolation.c -o build/temp.linux-x86_64-cpython-312/src/engine/interpolation.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/md_portmidi.c -o build/temp.linux-x86_64-cpython-312/src/engine/md_portmidi.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/midilistenermodule.c -o build/temp.linux-x86_64-cpython-312/src/engine/midilistenermodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/mixmodule.c -o build/temp.linux-x86_64-cpython-312/src/engine/mixmodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -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 -fPIC -DUSE_PORTAUDIO -DUSE_PORTMIDI -DUSE_OSC -DUSE_JACK -DJACK_OLD_API -Iinclude -I/usr/include -I/usr/local/include -I/usr/include/python3.12 -c src/engine/osclistenermodule.c -o build/temp.linux-x86_64-cpython-312/src/engine/osclistenermodule.o -Wno-strict-prototypes -Wno-strict-aliasing -O3 -g0 -DNDEBUG
src/engine/osclistenermodule.c: In function ‘process_osc’:
src/engine/osclistenermodule.c:93:22: error: assignment to ‘struct lo_blob_ **’ from incompatible pointer type ‘struct lo_blob_ *’ [-Wincompatible-pointer-types]
93 | blob = (lo_blob)argv[i];
| ^
src/engine/osclistenermodule.c:94:45: error: passing argument 1 of ‘lo_blob_datasize’ from incompatible pointer type [-Wincompatible-pointer-types]
94 | blobsize = lo_blob_datasize(blob);
| ^~~~
| |
| struct lo_blob_ **
In file included from src/engine/osclistenermodule.c:25:
/usr/include/lo/lo.h:223:35: note: expected ‘lo_blob’ {aka ‘struct lo_blob_ *’} but argument is of type ‘struct lo_blob_ **’
223 | uint32_t lo_blob_datasize(lo_blob b);
| ~~~~~~~~^
src/engine/osclistenermodule.c:95:44: error: passing argument 1 of ‘lo_blob_dataptr’ from incompatible pointer type [-Wincompatible-pointer-types]
95 | blobdata = lo_blob_dataptr(blob);
| ^~~~
| |
| struct lo_blob_ **
/usr/include/lo/lo.h:231:31: note: expected ‘lo_blob’ {aka ‘struct lo_blob_ *’} but argument is of type ‘struct lo_blob_ **’
231 | void *lo_blob_dataptr(lo_blob b);
| ~~~~~~~~^
src/engine/osclistenermodule.c: In function ‘OscListener_new’:
src/engine/osclistenermodule.c:187:56: error: passing argument 4 of ‘lo_server_add_method’ from incompatible pointer type [-Wincompatible-pointer-types]
187 | lo_server_add_method(self->osc_server, NULL, NULL, process_osc, (void *)self);
| ^~~~~~~~~~~
| |
| int (*)(const char *, const char *, lo_arg **, int, void *, void *)
In file included from /usr/include/lo/lo.h:32:
/usr/include/lo/lo_lowlevel.h:876: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 *)’
876 | const char *typespec, lo_method_handler h,
| ~~~~~~~~~~~~~~~~~~^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: