Hi,
compilation of setuptools-0.6.12 aborts woth:
copying tests/api_tests.txt -> build/src/tests
Traceback (most recent call last):
File "setup.py", line 24, in <module>
from lib2to3.main import main
File "/usr/lib/python3.1/lib2to3/main.py", line 12, in <module>
from . import refactor
File "/usr/lib/python3.1/lib2to3/refactor.py", line 25, in <module>
from . import pytree, pygram
File "/usr/lib/python3.1/lib2to3/pygram.py", line 35, in <module>
del python_grammar_no_print_statement.keywords["print"]
KeyError: 'print'
* ERROR: dev-python/setuptools-0.6.12 failed:
* Building failed with CPython 3.1 in distutils_building() function
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4648: Called distutils_src_compile
* environment, line 1278: Called python_execute_function
'distutils_building'
* environment, line 3426: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info
=dev-python/setuptools-0.6.12',
* the complete build log and the output of 'emerge -pqv
=dev-python/setuptools-0.6.12'.
* The complete build log is located at
'/var/tmp/portage/dev-python/setuptools-0.6.12/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-python/setuptools-0.6.12/temp/environment'.
* S: '/var/tmp/portage/dev-python/setuptools-0.6.12/work/distribute-0.6.12'
>>> Failed to emerge dev-python/setuptools-0.6.12, Log file:
>>> '/var/tmp/portage/dev-python/setuptools-0.6.12/temp/build.log'
* Messages for package dev-python/setuptools-0.6.12:
* ERROR: dev-python/setuptools-0.6.12 failed:
* Building failed with CPython 3.1 in distutils_building() function
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 4648: Called distutils_src_compile
* environment, line 1278: Called python_execute_function
'distutils_building'
* environment, line 3426: Called die
* The specific snippet of code:
* die "${failure_message}";
*
* If you need support, post the output of 'emerge --info
=dev-python/setuptools-0.6.12',
* the complete build log and the output of 'emerge -pqv
=dev-python/setuptools-0.6.12'.
* The complete build log is located at
'/var/tmp/portage/dev-python/setuptools-0.6.12/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-python/setuptools-0.6.12/temp/environment'.
* S: '/var/tmp/portage/dev-python/setuptools-0.6.12/work/distribute-0.6.12'
solfire:/root>qsearch setuptools
search: Updating ebuild cache ...
search: Finished 27398 entries in 0.474906 seconds
dev-python/setuptools Distribute (fork of Setuptools) is a collection of
extensions to Distutils
f you need the addtional files mentioned above please dont hesitat to
mail me.
I only dont with to clutter the mailing list.
How can I fix that bug?
Best regards.
mcc