Error on trying to compile Gtk 4.12.0

On trying to compile the last stable release 4.12.0 of Gtk libraries, I got the following at meson setup step,

Configuring org.gtk.gtk4.NodeEditor.appdata.xml using configuration
Configuring org.gtk.WidgetFactory4.appdata.xml using configuration

testsuite/meson.build:48:4: ERROR: ‘glib:default’ is already set as default. is_default can be set to true only once

How could it be solved ?

I just see that this error was already reported at: Alway see this error: 'glib:default' is already set as default. is_default can be set to true only once (#5938) · Issues · GNOME / gtk · GitLab

1 Like

Thanks for finding it! I’ve reopened since there’s no clear reason it was closed by the OP, so maybe an accident. I guess you can mark your reply as the Solution :smiley:

Just seen that Matthias Clasen reclosed yesterday the issue because it seems that it’s not a Gtk bug but a Meson’s. At this point, I need to ask you what can I do to compile the Gtk 4.12 package. Is there an alternative way ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.