Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224597 - ebuild for dev-lang/python-2.3.6-r6 broken, causes missing thread module
Summary: ebuild for dev-lang/python-2.3.6-r6 broken, causes missing thread module
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 12:28 UTC by Stefan Palme
Modified: 2008-06-25 09:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Palme 2008-06-02 12:28:33 UTC
The ebuild for dev-lang/python-2.3.6-r6 is broken, which causes (parts of) the thread module to be not built.
The bug causes the following configure argument list: 

  ... --with-threads --without-threads ...

In the end "threading.py" will be built, but no "thread" module, so that the following error occurs:

> import threading
...
ImportError: No module named thread

(sorry, can not reproduce the exact stack trace, because I have fixed the bug on my system already)

The following patch fixes the ebuild:

# diff dev-lang/python/python-2.3.6-r6.ebuild_orig dev-lang/python/python-2.3.6-r6.ebuild
136c136
< 		&& myconf="${myconf} --without-threads"
---
> 		|| myconf="${myconf} --without-threads"


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/python-2.3.6-r6
2. call "python2.3"
3. run "import threading"


Actual Results:  
...
ImportError: No module named thread
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-06-25 09:58:19 UTC
python-2.3 is masked for removal in 30 days.