[MacPorts] #39415: py-stevedore @0.8: broken by distribute 0.7.2
MacPorts
noreply at macports.org
Tue Jun 11 23:16:04 PDT 2013
#39415: py-stevedore @0.8: broken by distribute 0.7.2
---------------------------+--------------------------------
Reporter: macports1@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: py-stevedore |
---------------------------+--------------------------------
Comment (by md14-macports@…):
I'm seeing a similar problem with stevedore and distribute when I try to
install py27-stevedore (main.log is attached):
{{{
$ port installed py27-distribute
None of the specified ports are installed.
$ sudo port -vs install py27-stevedore
---> Computing dependencies for py27-stevedore.
---> Fetching distfiles for py27-stevedore
---> Verifying checksum(s) for py27-stevedore
---> Checksumming stevedore-0.8.tar.gz
---> Extracting py27-stevedore
---> Extracting stevedore-0.8.tar.gz
---> Configuring py27-stevedore
---> Building py27-stevedore
Downloading
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.10.tar.gz
Extracting in /tmp/tmpM7IsDo
Now working in /tmp/tmpM7IsDo/distribute-0.6.10
Building a Distribute egg in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8
Traceback (most recent call last):
File "setup.py", line 37, in <module>
exec(open(init_path).read(), d)
File "<string>", line 8, in <module>
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/setuptools/__init__.py",
line 2, in <module>
from setuptools.extension import Extension, Library
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/setuptools/extension.py",
line 2, in <module>
from setuptools.dist import _get_unpatched
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/setuptools/dist.py", line
6, in <module>
from setuptools.command.install import install
File
"/private/tmp/tmpM7IsDo/distribute-0.6.10/setuptools/command/__init__.py",
line 8, in <module>
from setuptools.command import install_scripts
File
"/private/tmp/tmpM7IsDo/distribute-0.6.10/setuptools/command/install_scripts.py",
line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/pkg_resources.py", line
2675, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/pkg_resources.py", line
662, in subscribe
callback(dist)
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/pkg_resources.py", line
2675, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/pkg_resources.py", line
2177, in activate
self.insert_on(path)
File "/private/tmp/tmpM7IsDo/distribute-0.6.10/pkg_resources.py", line
2278, in insert_on
"with distribute. Found one at %s" % str(self.location))
ValueError: A 0.7-series setuptools cannot be installed with distribute.
Found one at
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8/distribute-0.6.10-py2.7.egg
Traceback (most recent call last):
File "setup.py", line 5, in <module>
distribute_setup.use_setuptools()
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8/distribute_setup.py", line
145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8/distribute_setup.py", line
125, in _do_download
_build_egg(egg, tarball, to_dir)
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8/distribute_setup.py", line
116, in _build_egg
raise IOError('Could not build the egg.')
IOError: Could not build the egg.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-
stevedore/py27-stevedore/work/stevedore-0.8" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
Exit code: 1
Error: org.macports.build for port py27-stevedore returned: command
execution failed
Warning: targets not executed for py27-stevedore: org.macports.activate
org.macports.build org.macports.destroot org.macports.install
Please see the log file for port py27-stevedore for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-stevedore/py27-stevedore/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port py27-stevedore failed
}}}
The attached patch (Portfile.diff, setup.py.diff) works for me to fix the
build problem and the originally reported problem using virtualenvwrapper.
--
Ticket URL: <https://trac.macports.org/ticket/39415#comment:8>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list