After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640748 - gobject requires python with threads support even with --disable-thread configure option
gobject requires python with threads support even with --disable-thread confi...
Status: RESOLVED DUPLICATE of bug 374603
Product: pygobject
Classification: Bindings
Component: gobject
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-27 18:53 UTC by Pacho Ramos
Modified: 2011-01-28 08:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2011-01-27 18:53:00 UTC
As reported downstream at:
http://bugs.gentoo.org/show_bug.cgi?id=285722

And later confirmed by me, pygobject always needs python with threads support. I have tried to rebuild pygobject with "--disable-thread" configure option, but it fails with the same error:

$ python2
Python 2.6.6 (r266:84292, Jan 27 2011, 19:34:35) 
[GCC 4.4.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
  • File "/usr/lib64/python2.6/site-packages/gtk-2.0/gobject/__init__.py", line 26 in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  • File "/usr/lib64/python2.6/site-packages/gtk-2.0/glib/__init__.py", line 22 in <module>
    from glib._glib import *
ImportError: /usr/lib/libpyglib-2.0-python2.6.so.0: undefined symbol: PyGILState_Release
>>> 

Thanks for your help
Comment 1 Steve Frécinaux 2011-01-27 19:23:42 UTC
Well, considering that it's not possible anymore to have a glib/gobject without threads, I guess we should just say out loud we don't support not having threads enabled or something.
Comment 2 Simon van der Linden 2011-01-28 08:36:27 UTC

*** This bug has been marked as a duplicate of bug 374603 ***