[MacPorts] #32204: gtk2: GLib-ERROR (recursed) **: The thread system is not yet initialized. (was: gtk2 fails to upgrade/build on Lion)

MacPorts noreply at macports.org
Wed Nov 23 03:20:52 PST 2011


#32204: gtk2: GLib-ERROR (recursed) **: The thread system is not yet initialized.
-----------------------------------+----------------------------------------
 Reporter:  paradox924x@…          |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  2.0.3                                
 Keywords:                         |        Port:  gtk2                                 
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * keywords:  gtk2 build fail abort thread gtkbuiltincache =>


Old description:

> While updating using `sudo port selfupdate` and then `sudo port upgrade
> outdated`, I received the following error:[[BR]]
> --->  Computing dependencies for gtk2[[BR]]
> --->  Building gtk2[[BR]]
> Error: Target org.macports.build returned: shell command failed (see log
> for details)[[BR]]
> 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[[BR]]
> Error: Unable to upgrade port: 1[[BR]]
> To report a bug, see <http://guide.macports.org/#project.tickets>[[BR]]
> [[BR]]
> 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`[[BR]]
> 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).[[BR]]
> --->  Computing dependencies for gimp[[BR]]
> --->  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[[BR]]
> --->  Fetching archive for gtk2[[BR]]
> --->  Attempting to fetch gtk2-2.24.8_1+x11.darwin_11.x86_64.tbz2 from
> http://packages.macports.org/gtk2[[BR]]
> --->  Fetching gtk2[[BR]]
> --->  Verifying checksum(s) for gtk2[[BR]]
> --->  Extracting gtk2[[BR]]
> --->  Applying patches to gtk2[[BR]]
> --->  Configuring gtk2[[BR]]
> --->  Building gtk2[[BR]]
> Error: Target org.macports.build returned: shell command failed (see log
> for details)[[BR]]
> Error: Failed to install gtk2[[BR]]
> 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[[BR]]
> 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[[BR]]
> Error: Status 1 encountered during processing.[[BR]]
> To report a bug, see <http://guide.macports.org/#project.tickets>[[BR]]
> [[BR]]
> The related file is attached as main2.log

New description:

 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

--

Comment:

 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.)

-- 
Ticket URL: <https://trac.macports.org/ticket/32204#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list