Package: src:gkrelluim Version: 0.3.2-2 Severity: important Tags: sid forky User: debian-...@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/gkrelluim_0.3.2-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 [...] from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from /usr/include/gkrellm2/log.h:37, from /usr/include/gkrellm2/gkrellm.h:41, from gkrelluim.h:33, from uim-helper.c:41: /usr/include/glib-2.0/glib/gutils.h:329:9: note: declared here 329 | void g_atexit (GVoidFunc func); | ^~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from /usr/include/gkrellm2/gkrellm.h:47, from gkrelluim.h:33, from gkrelluim.c:22: gkrelluim.c: In function ‘cb_menu_button’: gkrelluim.c:126:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 126 | (gpointer)i ); | ^ gkrelluim.c: In function ‘create_gkrelluim’: gkrelluim.c:192:9: error: passing argument 3 of ‘gkrellm_put_decal_in_meter_button’ from incompatible pointer type [-Wincompatible-pointer-types] 192 | cb_mode_button, | ^~~~~~~~~~~~~~ | | | void (*)(GkrellmDecalbutton *, GdkEventButton *) In file included from /usr/include/gkrellm2/gkrellm.h:1083: /usr/include/gkrellm2/gkrellm-public-proto.h:262:72: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(GkrellmDecalbutton *, GdkEventButton *)’ 262 | GkrellmDecal *, void (*func)(), void *, | ~~~~~~~^~~~~~~ gkrelluim.c:136:13: note: ‘cb_mode_button’ declared here 136 | static void cb_mode_button( GkrellmDecalbutton *button, GdkEventButton *event ) { | ^~~~~~~~~~~~~~ gkrelluim.c:203:9: error: passing argument 3 of ‘gkrellm_put_decal_in_meter_button’ from incompatible pointer type [-Wincompatible-pointer-types] 203 | cb_input_button, | ^~~~~~~~~~~~~~~ | | | void (*)(GkrellmDecalbutton *, GdkEventButton *) /usr/include/gkrellm2/gkrellm-public-proto.h:262:72: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(GkrellmDecalbutton *, GdkEventButton *)’ 262 | GkrellmDecal *, void (*func)(), void *, | ~~~~~~~^~~~~~~ gkrelluim.c:146:13: note: ‘cb_input_button’ declared here 146 | static void cb_input_button( GkrellmDecalbutton *button, GdkEventButton *event ) { | ^~~~~~~~~~~~~~~ gkrelluim.c:212:9: error: passing argument 3 of ‘gkrellm_make_scaled_button’ from incompatible pointer type [-Wincompatible-pointer-types] 212 | cb_menu_button, /* Button clicked callback function */ | ^~~~~~~~~~~~~~ | | | void (*)(GkrellmDecalbutton *, GdkEventButton *) /usr/include/gkrellm2/gkrellm-public-proto.h:269:77: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(GkrellmDecalbutton *, GdkEventButton *)’ 269 | GkrellmPiximage *im, void (*func)(), void *data, | ~~~~~~~^~~~~~~ gkrelluim.c:98:13: note: ‘cb_menu_button’ declared here 98 | static void cb_menu_button( GkrellmDecalbutton *button, GdkEventButton *event ) { | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:415: gkrelluim.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/build/reproducible-path/gkrelluim-0.3.2/src' make[2]: *** [Makefile:300: all] Error 2 make[2]: Leaving directory '/build/reproducible-path/gkrelluim-0.3.2/src' make[1]: *** [Makefile:377: all-recursive] Error 1 make[1]: Leaving directory '/build/reproducible-path/gkrelluim-0.3.2' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:12: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2