Bugzilla – Bug 1221707
GCC 14: telepathy-glib package fails
Last modified: 2024-07-15 11:40:50 UTC
Building telepathy-glib with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/telepathy-glib/standard/x86_64 Due to (exhaustive list of errors): protocol.c: In function ‘_tp_protocol_parse_manager_file’: protocol.c:1794:42: error: passing argument 2 of ‘g_ptr_array_new_full’ from incompatible pointer type [-Wincompatible-pointer-types] 1794 | param_specs = g_ptr_array_new_full (i, tp_value_array_free); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(GValueArray *) {aka void (*)(struct _GValueArray *)} In file included from /usr/include/glib-2.0/glib.h:33, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from ../telepathy-glib/protocol.h:27, from protocol.c:37: /usr/include/glib-2.0/glib/garray.h:175:62: note: expected ‘GDestroyNotify’ {aka ‘void (*)(void *)’} but argument is of type ‘void (*)(GValueArray *)’ {aka ‘void (*)(struct _GValueArray *)’} 175 | GDestroyNotify element_free_func); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ See the meta bug#1220571 for more info.
The corresponding Gentoo bug might be: https://bugs.gentoo.org/880917
Fixed, almost certainly with https://build.opensuse.org/request/show/1178667