Summary: | dev-python/ipython 0.10.2 should depend on dev-lang/python[threads] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Burcin Erocal <burcin> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Please reopen if still exists with >ipython-2 |
Building dev-python/ipython-0.10.2 fails if dev-lang/python was built without the threads use flag. Here is an excerpt from the log: >>>> Compiling source in /p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/work/ipython-0.10.2 ... > * Building of dev-python/ipython-0.10.2 with CPython 2.7... > python2.7 setup.py build -b build-2.7 > Traceback (most recent call last): > File "setup.py", line 33, in <module> > from IPython.genutils import target_update > File "/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/work/ipython-0.10.2/IPython/__init__.py", line 58, in <module> > __import__(name,glob,loc,[]) > File "/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/work/ipython-0.10.2/IPython/Shell.py", line 23, in <module> > import thread > ImportError: No module named thread > * ERROR: dev-python/ipython-0.10.2 failed (compile phase): > * Building failed with CPython 2.7 in distutils_building() function > * > * Call stack: > * ebuild.sh, line 85: Called call-ebuildshell 'src_compile' > * environment, line 1071: Called src_compile > * environment, line 5201: Called distutils_src_compile > * environment, line 1223: Called python_execute_function 'distutils_building' > * environment, line 3586: Called die > * The specific snippet of code: > * die "${failure_message}"; > * > * If you need support, post the output of 'emerge --info =dev-python/ipython-0.10.2', > * the complete build log and the output of 'emerge -pqv =dev-python/ipython-0.10.2'. > * The complete build log is located at '/p/sys/Sage/users/dreyer/prefix/build/dist/log/build/dev-python/ipython-0.10.2:20120629-091138.log'. > * For convenience, a symlink to the build log is located at '/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/temp/build.10.2:20120629-091138.log'. > * The ebuild environment file is located at '/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/temp/environment'. > * Working directory: '/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/work/ipython-0.10.2' > * S: '/p/sys/Sage/users/dreyer/prefix/build/dist/tmp/portage/dev-python/ipython-0.10.2/work/ipython-0.10.2' Adding dev-lang/python[threads] to DEPENDS in ebuild fixes the issue.