Fedora Account System
Red Hat Associate
Red Hat Customer
With glib2 upgraded to glib2-2.89.2-2.fc45 , jd began to FTBFS: https://koschei.fedoraproject.org/package/jd?collection=f45 https://koji.fedoraproject.org/koji/taskinfo?taskID=148023302 ``` In file included from /usr/include/giomm-2.4/giomm.h:44, from /usr/include/gtkmm-3.0/gtkmm.h:99, from ../src/skeleton/admin.h:14, from ../src/article/articleadmin.h:9, from ../src/article/articleadmin.cpp:6: /usr/include/giomm-2.4/giomm/dbusactiongroup.h:32:7: error: conflicting declaration ‘using GDBusActionGroupClass = struct _GDBusActionGroupClass’ 32 | using GDBusActionGroupClass = struct _GDBusActionGroupClass; | ^~~~~~~~~~~~~~~~~~~~~ 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/glibmm-2.4/glibmm/value.h:24, from /usr/include/glibmm-2.4/glibmm/error.h:22, from /usr/include/glibmm-2.4/glibmm/thread.h:48, from /usr/include/glibmm-2.4/glibmm.h:103, from ../src/skeleton/dispatchable.h:15, from ../src/skeleton/admin.h:10: /usr/include/glib-2.0/gio/gdbusactiongroup.h:36:23: note: previous declaration as ‘typedef struct GDBusActionGroupClass GDBusActionGroupClass’ 36 | G_DECLARE_FINAL_TYPE (GDBusActionGroup, g_dbus_action_group, G, DBUS_ACTION_GROUP, GObject) | ^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:1612:54: note: in definition of macro ‘G_DECLARE_FINAL_TYPE’ 1612 | typedef struct { ParentName##Class parent_class; } ModuleObjName##Class; \ | ^~~~~~~~~~~~~ In file included from /usr/include/giomm-2.4/giomm.h:73: /usr/include/giomm-2.4/giomm/emblem.h:31:7: error: conflicting declaration ‘using GEmblemClass = struct _GEmblemClass’ 31 | using GEmblemClass = struct _GEmblemClass; | ^~~~~~~~~~~~ /usr/include/glib-2.0/gio/gemblem.h:35:23: note: previous declaration as ‘typedef struct GEmblemClass GEmblemClass’ 35 | G_DECLARE_FINAL_TYPE (GEmblem, g_emblem, G, EMBLEM, GObject) | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:1612:54: note: in definition of macro ‘G_DECLARE_FINAL_TYPE’ 1612 | typedef struct { ParentName##Class parent_class; } ModuleObjName##Class; \ | ^~~~~~~~~~~~~ ``` Most likeky this is because of GLib side change: https://gitlab.gnome.org/GNOME/glib/-/commit/118265fb976cc14240a366ff820e9960bf4e056c https://gitlab.gnome.org/GNOME/glib/-/commit/6210a7ea97e12e36118f31ad8c4008ccaea7c1ca and most likely this is fixed in glibmm side with the below commits: https://gitlab.gnome.org/GNOME/glibmm/-/commit/b353a8b0afc1aa78f3eec58229f02acd9fab6d3e https://gitlab.gnome.org/GNOME/glibmm/-/commit/d26083c41219958e802d5da733d4b4d3c342ec89 Please backport the above 2 patches. glib2-2.89.2-2.fc45 glibmm2.4-2.66.9-1.fc44 Reproducible: Always
So does subtitleeditor: bug 2504692 .
PR https://src.fedoraproject.org/rpms/glibmm2.4/pull-request/3 jd and subtitleeditor both build successfully with the above patched glibmm2.4: https://copr.fedorainfracloud.org/coprs/mtasaka/glibmm_trial/builds/
I believe #2505218 is related.
Since many packages currently FTBFS due to this bugs, I may consider merging the above PR myself with provenpower right.
Thank you for the PR Mamoru!
Now modified glibmm2.4 is in F45 buildroot, and at least jd and subtitleeditor are buildable.
*** Bug 2506292 has been marked as a duplicate of this bug. ***