Package: src:gtksheet Version: 4.3.13+dfsg-1 Severity: important Tags: sid trixie User: debian-...@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/gtksheet_4.3.13+dfsg-1_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 [...] /usr/include/gtk-3.0/gtk/gtkadjustment.h:87:12: note: declared here 87 | void gtk_adjustment_changed (GtkAdjustment *adjustment); | ^~~~~~~~~~~~~~~~~~~~~~ gtksheet.c: In function ‘draw_xor_vline’: gtksheet.c:16728:9: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] 16728 | cairo_t *xor_cr = gdk_cairo_create(sheet->sheet_window); /* FIXME, to be removed */ | ^~~~~~~ /usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here 35 | cairo_t * gdk_cairo_create (GdkWindow *window); | ^~~~~~~~~~~~~~~~ gtksheet.c:16742:9: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] 16742 | cairo_t *swin_cr = gdk_cairo_create(sheet->sheet_window); | ^~~~~~~ /usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here 35 | cairo_t * gdk_cairo_create (GdkWindow *window); | ^~~~~~~~~~~~~~~~ gtksheet.c: In function ‘draw_xor_hline’: gtksheet.c:16761:9: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] 16761 | cairo_t *xor_cr = gdk_cairo_create(sheet->sheet_window); /* FIXME, to be removed */ | ^~~~~~~ /usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here 35 | cairo_t * gdk_cairo_create (GdkWindow *window); | ^~~~~~~~~~~~~~~~ gtksheet.c:16775:9: warning: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Wdeprecated-declarations] 16775 | cairo_t *swin_cr = gdk_cairo_create(sheet->sheet_window); | ^~~~~~~ /usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here 35 | cairo_t * gdk_cairo_create (GdkWindow *window); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, 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-3.0/gdk/gdkapplaunchcontext.h:28: gtksheet.c: In function ‘DeleteColumn’: /usr/include/glib-2.0/gobject/gtype.h:2656:42: error: passing argument 1 of ‘gtk_container_remove’ from incompatible pointer type [-Wincompatible-pointer-types] 2656 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) /usr/include/glib-2.0/gobject/gtype.h:528:66: note: in expansion of macro ‘_G_TYPE_CIC’ 528 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:58:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 58 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gtksheet.c:18154:30: note: in expansion of macro ‘GTK_WIDGET’ 18154 | gtk_container_remove(GTK_WIDGET(sheet), GTK_WIDGET(sheet->column[c])); | ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkbin.h:33, from /usr/include/gtk-3.0/gtk/gtkwindow.h:35, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31: /usr/include/gtk-3.0/gtk/gtkcontainer.h:152:61: note: expected ‘GtkContainer *’ {aka ‘struct _GtkContainer *’} but argument is of type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} 152 | void gtk_container_remove (GtkContainer *container, | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ gtksheet.c: At top level: gtksheet.c:15093:1: warning: ‘_get_entry_window_size’ defined but not used [-Wunused-function] 15093 | _get_entry_window_size(GtkEntry *entry, | ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:647: gtksheet.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/<<PKGBUILDDIR>>/gtksheet' make[2]: *** [Makefile:540: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:447: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2