Bugzilla – Bug 1221708
GCC 14: telepathy-logger package fails
Last modified: 2024-07-15 11:48:39 UTC
Building telepathy-logger with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/telepathy-logger/standard/x86_64 Due to (exhaustive list of errors): conf.c: In function 'tpl_conf_constructor': conf.c:130:14: error: assignment to 'GObject *' {aka 'struct _GObject *'} from incompatible pointer type 'TplConf *' [-Wincompatible-pointer-types] 130 | retval = g_object_ref (conf_singleton); | ^ dbus-service.c: In function 'favourite_contact_closure_new': dbus-service.c:99:20: error: assignment to 'TplDBusService *' from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types] 99 | closure->service = g_object_ref (G_OBJECT (self)); | ^ log-manager.c: In function 'log_manager_constructor': log-manager.c:162:12: error: assignment to 'GObject *' {aka 'struct _GObject *'} from incompatible pointer type 'TplLogManager *' {aka 'struct _TplLogManager *'} [-Wincompatible-pointer-types] 162 | retval = g_object_ref (manager_singleton); | ^ See the meta bug#1220571 for more info.
The corresponding Gentoo bug might be: https://bugs.gentoo.org/922718
Request https://build.opensuse.org/request/show/1186864 added -fpermissive to to %{optflags} which makes the package build with GCC 14. I'm assigning this to myself to check every few years whether we can get rid of it.