Bug#1097504: onboard: ftbfs with GCC-15
Package: src:onboard
Version: 1.4.1-10
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/onboard_1.4.1-10_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
[...]
copying Onboard/ClickSimulator.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/definitions.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/TextContext.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/GlobalKeyListener.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/TouchInput.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/Layout.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/__init__.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/AutoShow.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/settings.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/UDevTracker.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/canonical_equivalents.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/WordSuggestions.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/TextDomain.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/Indicator.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/KeyboardWidget.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/DBusUtils.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/AtspiStateTracker.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/TextChanges.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/Config.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
copying Onboard/LayoutLoaderSVG.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard
creating /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/pypredict
copying Onboard/pypredict/lm_wrapper.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/pypredict
copying Onboard/pypredict/__init__.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/pypredict
creating /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/test
copying Onboard/test/test_translations.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/test
copying Onboard/test/test_migration.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/test
copying Onboard/test/test_LayoutLoaderSVG.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/test
copying Onboard/test/__init__.py -> /build/reproducible-path/onboard-1.4.1/.pybuild/cpython3_3.13_onboard/build/Onboard/test
running build_ext
building 'Onboard.osk' extension
creating build/temp.linux-x86_64-cpython-313/Onboard/osk
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/onboard-1.4.1=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=4 -DMICRO_VERSION=0 -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/cloudproviders -I/usr/include/dconf -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/include/gtk-3.0 -I/usr/include/harfbuzz -I/usr/include/hunspell -I/usr/include/libmount -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/sysprof-6 -I/usr/include/webp -I/usr/include/x86_64-linux-gnu -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/python3.13 -c Onboard/osk/osk_audio.c -o build/temp.linux-x86_64-cp
ython-313/Onboard/osk/osk_audio.o -Wsign-compare -Wdeclaration-after-statement
In file included from Onboard/osk/osk_audio.c:21:
Onboard/osk/osk_module.h:28:16: error: cannot use keyword ‘false’ as enumeration constant
28 | typedef enum { false, true } bool;
| ^~~~~
Onboard/osk/osk_module.h:28:16: note: ‘false’ is a keyword with ‘-std=c23’ onwards
Onboard/osk/osk_module.h:28:30: error: expected ‘;’, identifier or ‘(’ before ‘bool’
28 | typedef enum { false, true } bool;
| ^~~~
Onboard/osk/osk_module.h:28:30: warning: useless type name in empty declaration
Onboard/osk/osk_audio.c: In function ‘osk_audio_init_canberra’:
Onboard/osk/osk_audio.c:70:5: warning: ‘gdk_screen_get_number’ is deprecated [-Wdeprecated-declarations]
70 | nr = gdk_screen_get_number(screen);
| ^~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gdk/gdkx.h:28,
from Onboard/osk/osk_audio.c:23:
/usr/include/gtk-3.0/gdk/gdkscreen.h:56:14: note: declared here
56 | gint gdk_screen_get_number (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
Onboard/osk/osk_audio.c: In function ‘osk_audio_play’:
Onboard/osk/osk_audio.c:101:5: warning: ‘gdk_screen_get_width’ is deprecated [-Wdeprecated-declarations]
101 | sw = gdk_screen_get_width(screen);
| ^~
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
58 | gint gdk_screen_get_width (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~
Onboard/osk/osk_audio.c:102:5: warning: ‘gdk_screen_get_height’ is deprecated [-Wdeprecated-declarations]
102 | sh = gdk_screen_get_height(screen);
| ^~
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
60 | gint gdk_screen_get_height (GdkScreen *screen);
| ^~~~~~~~~~~~~~~~~~~~~
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.13 returned exit code 13
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: