Summary: | dev-python/setuptools-0.6.6 emerge fails: A 0.7-series setuptools cannot be installed with distribute | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Tacker <m> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Markus Tacker
2009-12-15 11:49:42 UTC
Happens on multiple machines. Are all the machines using -O3? (In reply to comment #2) > Are all the machines using -O3? > Happens also on Machines with -O2! I can't reproduce this bug. Anyway try with dev-python/setuptools-0.6.8-r1 or newer. (In reply to comment #4) > I can't reproduce this bug. > Anyway try with dev-python/setuptools-0.6.8-r1 or newer. # emerge dev-python/setuptools Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/setuptools-0.6.8-r1 * distribute-0.6.8.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking distribute-0.6.8.tar.gz to /var/tmp/portage/dev-python/setuptools-0.6.8-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/setuptools-0.6.8-r1/work >>> Preparing source in /var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8 ... * Applying setuptools-0.6_rc7-noexe.patch ... [ ok ] * Applying distribute-0.6.8-C_locale_tests.patch ... [ ok ] * Applying distribute-0.6.8-fix_tests.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8 ... * Building of dev-python/setuptools-0.6.8-r1 with Python 2.6... python2.6 setup.py build -b build-2.6 Traceback (most recent call last): File "setup.py", line 36, in <module> exec(open(init_path).read(), d) File "<string>", line 8, in <module> File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/setuptools/__init__.py", line 2, in <module> from setuptools.extension import Extension, Library File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/setuptools/extension.py", line 2, in <module> from setuptools.dist import _get_unpatched File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/setuptools/dist.py", line 6, in <module> from setuptools.command.install import install File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/setuptools/command/__init__.py", line 8, in <module> from setuptools.command import install_scripts File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/setuptools/command/install_scripts.py", line 3, in <module> from pkg_resources import Distribution, PathMetadata, ensure_directory File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/pkg_resources.py", line 2656, in <module> add_activation_listener(lambda dist: dist.activate()) File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/pkg_resources.py", line 647, in subscribe callback(dist) File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/pkg_resources.py", line 2656, in <lambda> add_activation_listener(lambda dist: dist.activate()) File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/pkg_resources.py", line 2162, in activate self.insert_on(path) File "/var/tmp/portage/dev-python/setuptools-0.6.8-r1/work/distribute-0.6.8/pkg_resources.py", line 2258, in insert_on "A 0.7-series setuptools cannot be installed " ValueError: A 0.7-series setuptools cannot be installed with distribute * * ERROR: dev-python/setuptools-0.6.8-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3432: Called distutils_src_compile * environment, line 792: Called python_execute_function 'building' * environment, line 2885: Called die * The specific snippet of code: * die "${failure_message}"; * The die message: * Building failed with Python 2.6 in building() function * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/setuptools-0.6.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/setuptools-0.6.8-r1/temp/environment'. Guys, I just found the solution. A locally installed version of setuptools was the reason. Removing it's egg solved the problem. |