Opened 12 years ago

Last modified 12 years ago

#32204 closed defect

gtk2: GLib-ERROR (recursed) **: The thread system is not yet initialized. — at Version 1

Reported by: paradox924x@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign@…
Port: gtk2 glib2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While updating using sudo port selfupdate and then sudo port upgrade outdated, I received the following error:

--->  Computing dependencies for gtk2
--->  Building gtk2
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for gtk2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

The related file is attached as main.log

After uninstalling gtk2, gimp and all related dependencies via: sudo port uninstall gimp-app gimp-jp2 gimp-lqr-plugin gutenprint icns-gimp ufraw xsane gimp2 libgsf libgnome gst-plugins-base gnome-vfs libgnomeui libbonoboui glib-networking libproxy libsoup libgnome-keyring gnome-keyring gconf librsvg libopenraw gegl libglade2 libgnomecanvas poppler py27-gtk webkit-gtk gtk-nodoka-engine gtkimageview gtk2 and cleaning all ports files via sudo port clean all, I attempted to install gimp again (thereby installing gtk2) and received the same error (with much more verbosity in the build log).

--->  Computing dependencies for gimp
--->  Dependencies to be installed: gimp-app gimp2 gegl gtk2 libopenraw librsvg libgsf gconf gnome-vfs libgnomeui libbonoboui libgnome libgnomecanvas libglade2 libgnome-keyring gnome-keyring poppler py27-gtk webkit-gtk gst-plugins-base libsoup glib-networking libproxy gimp-jp2 gimp-lqr-plugin gtk-nodoka-engine gutenprint icns-gimp ufraw gtkimageview xsane
--->  Fetching archive for gtk2
--->  Attempting to fetch gtk2-2.24.8_1+x11.darwin_11.x86_64.tbz2 from http://packages.macports.org/gtk2
--->  Fetching gtk2
--->  Verifying checksum(s) for gtk2
--->  Extracting gtk2
--->  Applying patches to gtk2
--->  Configuring gtk2
--->  Building gtk2
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install gtk2
Log for gtk2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log
Error: The following dependencies were not installed: gimp-app gimp2 gegl gtk2 libopenraw librsvg libgsf gconf gnome-vfs libgnomeui libbonoboui libgnome libgnomecanvas libglade2 libgnome-keyring gnome-keyring poppler py27-gtk webkit-gtk gst-plugins-base libsoup glib-networking libproxy gimp-jp2 gimp-lqr-plugin gtk-nodoka-engine gutenprint icns-gimp ufraw gtkimageview xsane
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The related file is attached as main2.log

Change History (3)

Changed 12 years ago by paradox924x@…

Attachment: main.log added

Changed 12 years ago by paradox924x@…

Attachment: main2.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: gtk2 build fail abort thread gtkbuiltincache removed
Summary: gtk2 fails to upgrade/build on Liongtk2: GLib-ERROR (recursed) **: The thread system is not yet initialized.

The same error ("GLib-ERROR (recursed) **: The thread system is not yet initialized") was reported against mc in #32202 but I was not able to reproduce it. Must be related to the glib 2.30.2 update, possibly related to Lion. (I'm on Snow Leopard.)

Note: See TracTickets for help on using tickets.