[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/lxinput_0.3.5-2_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
[...]
checking for perl >= 5.8.1... 5.40.0
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk+-3.0 >= 3.0.0... yes
checking for "x11"... yes
checking for locale.h... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking for libintl.h... (cached) yes
checking for ngettext in libc... (cached) yes
checking for dgettext in libc... (cached) yes
checking for bind_textdomain_codeset... (cached) yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... (cached) yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for xsltproc... no
checking for XML catalog (/etc/xml/catalog)... found
checking for xmlcatalog... no
checking for DocBook XML DTD V4.1.2 in XML catalog... not found
checking for DocBook XSL Stylesheets >= 1.70.1 in XML catalog... not found
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing po/stamp-it commands
make[1]: Leaving directory '/build/reproducible-path/lxinput-0.3.5'
dh_auto_build
make -j8
make[1]: Entering directory '/build/reproducible-path/lxinput-0.3.5'
make all-recursive
make[2]: Entering directory '/build/reproducible-path/lxinput-0.3.5'
Making all in src
make[3]: Entering directory '/build/reproducible-path/lxinput-0.3.5/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"/lxinput\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -Werror-implicit-function-declaration -Wdate-time -D_FORTIFY_SOURCE=2 -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/lxinput-0.3.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DENABLE_GTK3 -c -o lxinput.o lxinput.c
lxinput.c: In function ‘on_left_handed_toggle’:
lxinput.c:117:5: error: too many arguments to function ‘set_left_handed_mouse’; expected 0, have 1
117 | set_left_handed_mouse(left_handed);
| ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
lxinput.c:83:13: note: declared here
83 | static void set_left_handed_mouse()
| ^~~~~~~~~~~~~~~~~~~~~
lxinput.c: In function ‘main’:
lxinput.c:254:5: warning: ‘gtk_dialog_set_alternative_button_order’ is deprecated [-Wdeprecated-declarations]
254 | gtk_dialog_set_alternative_button_order( (GtkDialog*)dlg, GTK_RESPONSE_OK, GTK_RESPONSE_CANCEL, -1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from lxinput.c:29:
/usr/include/gtk-3.0/gtk/gtkdialog.h:185:10: note: declared here
185 | void gtk_dialog_set_alternative_button_order (GtkDialog *dialog,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:414: lxinput.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/lxinput-0.3.5/src'
make[2]: *** [Makefile:520: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/lxinput-0.3.5'
make[1]: *** [Makefile:398: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/lxinput-0.3.5'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2