Bug 2502740 - Current glibmm2.4 conflicts with GLib 2.89.2
Summary: Current glibmm2.4 conflicts with GLib 2.89.2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibmm2.4
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
: 2506292 (view as bug list)
Depends On:
Blocks: 2504692 2504783 2505170 2505218
TreeView+ depends on / blocked
 
Reported: 2026-07-20 11:25 UTC by Mamoru TASAKA
Modified: 2026-07-24 17:15 UTC (History)
7 users (show)

Fixed In Version: glibmm2.4-2.66.9-3.fc45
Clone Of:
Environment:
Last Closed: 2026-07-24 10:47:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mamoru TASAKA 2026-07-20 11:25:02 UTC
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

Comment 1 Dominik 'Rathann' Mierzejewski 2026-07-22 10:57:46 UTC
So does subtitleeditor: bug 2504692 .

Comment 2 Mamoru TASAKA 2026-07-22 14:47:35 UTC
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/

Comment 3 wojnilowicz 2026-07-22 17:48:22 UTC
I believe #2505218 is related.

Comment 4 Mamoru TASAKA 2026-07-23 02:53:37 UTC
Since many packages currently FTBFS due to this bugs, I may consider merging the above PR myself with provenpower right.

Comment 5 Tomas Popela 2026-07-23 12:50:06 UTC
Thank you for the PR Mamoru!

Comment 6 Mamoru TASAKA 2026-07-24 10:47:37 UTC
Now modified glibmm2.4 is in F45 buildroot, and at least jd and subtitleeditor are buildable.

Comment 7 Ben Cotton 2026-07-24 17:15:09 UTC
*** Bug 2506292 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.