Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 517446

Summary: net-wireless/crda-1.1.3-r1 - ERROR: Failed to import the "M2Crypto" module: /usr/lib64/python2.7/site-packages/M2Crypto/__m2crypto.so: undefined symbol: PyGILState_Release
Product: Gentoo Linux Reporter: Artem Leshchev <matshch>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: gurligebis, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Artem Leshchev 2014-07-18 20:28:03 UTC
net-wireless/crda-1.1.3-r1 emerging stops with an error "undefined symbol: PyGILState_Release" if Python build without threads USE flag. With this flag all OK.

Reproducible: Always

Steps to Reproduce:
1. Disable threads USE flag
2. Emerge dev-lang/python:2.7
3. Emerge net-wireless/crda
Actual Results:  
Compilation stops with an error.

Expected Results:  
Emerge works.

With threads USE flag all works normally.
Comment 1 Artem Leshchev 2014-07-18 20:38:11 UTC
Created attachment 380994 [details]
build.log

build.log of net-wireless/crda-1.1.3-r1 when python builded without threads USE flag.
Comment 2 Artem Leshchev 2014-07-20 10:19:42 UTC
Looks like this is problem of dev-pyton/m2crypto: sources include threads-related stuff but not depends on threads USE flag.
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2014-07-23 12:28:55 UTC
Looks like it yes - reassigning to python herd, for them to fix m2crypto.
Comment 4 Mike Gilbert gentoo-dev 2014-07-23 16:38:39 UTC
+  23 Jul 2014; Mike Gilbert <floppym@gentoo.org> m2crypto-0.21.1-r1.ebuild,
+  m2crypto-0.22.3.ebuild:
+  Depend on threads support for python, bug 517446 by Artem Leshchev.

+*m2crypto-0.22.3-r1 (23 Jul 2014)
+*m2crypto-0.21.1-r2 (23 Jul 2014)
+
+  23 Jul 2014; Mike Gilbert <floppym@gentoo.org> +m2crypto-0.21.1-r2.ebuild,
+  +m2crypto-0.22.3-r1.ebuild, -m2crypto-0.21.1-r1.ebuild,
+  -m2crypto-0.22.3.ebuild:
+  Revbump for last change.