Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322755 - dev-lang/python-3.1.2-r3 fails tests when compiled with USE="-threads"
Summary: dev-lang/python-3.1.2-r3 fails tests when compiled with USE="-threads"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL: http://bugs.python.org/issue7449
Whiteboard:
Keywords:
Depends on:
Blocks: 320043
  Show dependency tree
 
Reported: 2010-06-04 14:05 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2010-06-04 15:03 UTC (History)
0 users

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


Attachments
build.log (dev-lang:python-3.1.2-r3:20100604-134857.log,155.45 KB, text/plain)
2010-06-04 14:06 UTC, Paweł Hajdan, Jr. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-04 14:05:13 UTC
Re-running test 'test_zipimport_support' in verbose mode
test test_zipimport_support crashed -- <class 'ImportError'>: No module named _thread
Traceback (most recent call last):
  File "./Lib/test/regrtest.py", line 612, in runtest_inner
    the_package = __import__(abstest, globals(), locals(), [])
  File "/var/tmp/portage/dev-lang/python-3.1.2-r3/work/Python-3.1.2/Lib/test/test_zipimport_support.py", line 30, in <module>
    from test import test_doctest, sample_doctest
  File "/var/tmp/portage/dev-lang/python-3.1.2-r3/work/Python-3.1.2/Lib/test/test_doctest.py", line 2342, in <module>
    import trace, sys, re, io
  File "/var/tmp/portage/dev-lang/python-3.1.2-r3/work/Python-3.1.2/Lib/trace.py", line 56, in <module>
    import threading
  File "/var/tmp/portage/dev-lang/python-3.1.2-r3/work/Python-3.1.2/Lib/threading.py", line 4, in <module>
    import _thread
ImportError: No module named _thread
make: *** [test] Error 1
 * The following tests have been skipped:
 * test_distutils.py
 * If you would like to run them, you may:
 * cd '/usr/lib/python3.1/test'
 * and run the tests separately.
 * ERROR: dev-lang/python-3.1.2-r3 failed:
 *   emake test failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_test
 *   environment, line 5500:  Called die
 * The specific snippet of code:
 *           die "emake test failed";
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-04 14:06:05 UTC
Created attachment 234119 [details]
build.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-04 15:03:50 UTC
Tests are now disabled with USE="-threads".