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

Bug 378593

Summary: app-emulation/qemulator requires python to be built with USE="threads"
Product: Gentoo Linux Reporter: Chris Slycord <cslycord>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: lu_zero
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff patch

Description Chris Slycord 2011-08-10 02:14:07 UTC
$ qemulator 
Traceback (most recent call last):
  File "/usr/bin/qemulator", line 31, in <module>
    import threading
  File "/usr/lib/python2.7/threading.py", line 6, in <module>
    import thread
ImportError: No module named thread

Reproducible: Always

Steps to Reproduce:
1. install python with USE="-threads"
2. install qemulator
3. run qemulator
Actual Results:  
complains about missing threading module

Expected Results:  
Program to run

Same error did not occur once python was reinstalled with threads.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-11-07 13:51:02 UTC
Created attachment 291905 [details, diff]
diff patch

implements dep on dev-libs/python[threads]
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2011-11-07 13:52:33 UTC
re-assigned to python team, left untouched for 3 months.
Please review and commit if good
Comment 3 Arfrever Frehtes Taifersar Arahesis 2011-11-07 14:26:10 UTC
Use PYTHON_DEPEND and PYTHON_USE_WITH (depending on EAPI).

Example for EAPI="3":
PYTHON_DEPEND="2"
PYTHON_USE_WITH="threads"

Example for EAPI="4-python":
PYTHON_DEPEND="<<2[threads]>>"
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-12-08 06:11:06 UTC
Packaged masked for removal due to dead upstream. Upstream recommends virtualbricks which is requested in bug #409869, so if you're interested in seeing that package enter Gentoo please make your voice heard there.

We won't be fixing this package.