Bug#1075660: xfce4-notes-plugin: ftbfs with GCC-14
Package: src:xfce4-notes-plugin
Version: 1.11.0-1
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/xfce4-notes-plugin_1.11.0-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
[...]
| ^~~~~~~
| |
| GtkMenuItem * {aka struct _GtkMenuItem *}
/usr/include/gtk-3.0/gtk/gtkmenushell.h:92:55: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkMenuItem *’ {aka ‘struct _GtkMenuItem *’}
92 | GtkWidget *child);
| ~~~~~~~~~~~~~~^~~~~
window.c:2815:65: warning: ‘gtk_image_menu_item_new_with_label’ is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations]
2815 | _tmp23_ = (GtkImageMenuItem*) gtk_image_menu_item_new_with_label (_tmp22_);
| ^~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here
80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
window.c:2831:73: warning: ‘gtk_image_menu_item_set_image’ is deprecated [-Wdeprecated-declarations]
2831 | gtk_image_menu_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_image_menu_item_get_type (), GtkImageMenuItem), (GtkWidget*) _tmp28_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here
92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
window.c:2840:113: error: passing argument 2 of ‘gtk_menu_shell_append’ from incompatible pointer type [-Wincompatible-pointer-types]
2840 | gtk_menu_shell_append ((GtkMenuShell*) _tmp32_, _tmp33_);
| ^~~~~~~
| |
| GtkMenuItem * {aka struct _GtkMenuItem *}
/usr/include/gtk-3.0/gtk/gtkmenushell.h:92:55: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkMenuItem *’ {aka ‘struct _GtkMenuItem *’}
92 | GtkWidget *child);
| ~~~~~~~~~~~~~~^~~~~
window.c:2871:89: error: passing argument 2 of ‘gtk_menu_shell_append’ from incompatible pointer type [-Wincompatible-pointer-types]
2871 | gtk_menu_shell_append ((GtkMenuShell*) _tmp41_, _tmp42_);
| ^~~~~~~
| |
| GtkMenuItem * {aka struct _GtkMenuItem *}
/usr/include/gtk-3.0/gtk/gtkmenushell.h:92:55: note: expected ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} but argument is of type ‘GtkMenuItem *’ {aka ‘struct _GtkMenuItem *’}
92 | GtkWidget *child);
| ~~~~~~~~~~~~~~^~~~~
window.c: In function ‘xnp_window_connect_note_signals’:
window.c:3421:169: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, GClosure *)’ {aka ‘void (*)(void *, struct _GClosure *)’} [-Wcast-function-type]
3421 | _tmp2_ = g_signal_connect_data ((GtkWidget*) tab_evbox, "button-press-event", (GCallback) ___lambda7__gtk_widget_button_press_event, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
| ^
window.c: In function ‘xnp_window_rename_current_note’:
window.c:3811:16: error: assignment to ‘GtkBox *’ {aka ‘struct _GtkBox *’} from incompatible pointer type ‘GtkWidget *’ {aka ‘struct _GtkWidget *’} [-Wincompatible-pointer-types]
3811 | _tmp7_ = gtk_dialog_get_content_area (_tmp6_);
| ^
window.c: In function ‘xnp_window_set_name’:
window.c:4127:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
4127 | old_value = xnp_window_get_name (self);
| ^
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
from /usr/include/glib-2.0/glib.h:34,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30:
window.c: In function ‘xnp_window_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
131 | __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
| ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
window.c:4554:13: note: in expansion of macro ‘g_once_init_enter’
4554 | if (g_once_init_enter (&xnp_window_type_id__once)) {
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:556: libnotes_la-window.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:499: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:431: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: