[MacPorts] #39480: py-suds-jurko @0.4.1.jurko.4: build fails trying to use distribute

MacPorts noreply at macports.org
Thu Oct 3 21:39:21 PDT 2013


#39480: py-suds-jurko @0.4.1.jurko.4: build fails trying to use distribute
------------------------------+--------------------------------
  Reporter:  md14-macports@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.1.3
Resolution:                   |   Keywords:  haspatch
      Port:  py-suds-jurko    |
------------------------------+--------------------------------
Changes (by md14-macports@…):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 Thank you for your attention to this. As it says in the distribute
 documentation at http://pythonhosted.org/distribute/, "Distribute is a
 deprecated fork of the Setuptools project. Since the Setuptools 0.7
 release, Setuptools and Distribute have merged and Distribute is no longer
 being maintained." At one time, py*-setuptools was replaced by
 py*-distribute. More recently, this was undone, and py*-distribute was
 replaced by py*-setuptools. The py27-suds-jurko install does not fail for
 me in the same way, probably because of fixes made to setuptools. I can
 show py27-suds-jurko still has a problem by telling Little Snitch to deny
 network access to Python:

 {{{
 $ port installed py27-distribute py27-setuptools
 The following ports are currently installed:
   py27-setuptools @1.1.6_0 (active)
 $ sudo port -vs install py27-suds-jurko
 --->  Computing dependencies for py27-suds-jurko.
 --->  Fetching distfiles for py27-suds-jurko
 --->  Verifying checksums for py27-suds-jurko
 --->  Checksumming suds-jurko-0.4.1.jurko.4.tar.bz2
 --->  Extracting py27-suds-jurko
 --->  Extracting suds-jurko-0.4.1.jurko.4.tar.bz2
 --->  Configuring py27-suds-jurko
 --->  Building py27-suds-jurko
 Download error on https://pypi.python.org/simple/distribute/: [Errno 64]
 Host is down -- Some packages may not be found!
 Couldn't find index page for 'distribute' (maybe misspelled?)
 Download error on https://pypi.python.org/simple/: [Errno 64] Host is down
 -- Some packages may not be found!
 No local packages or download links found for distribute
 Traceback (most recent call last):
   File "setup.py", line 161, in <module>
     **extra
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
 line 112, in setup
     _setup_distribution = dist = klass(attrs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 239, in __init__
     self.fetch_build_eggs(attrs.pop('setup_requires'))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 263, in fetch_build_eggs
     parse_requirements(requires), installer=self.fetch_build_egg
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 568, in resolve
     dist = best[req.key] = env.best_match(req, self, installer)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 806, in best_match
     return self.obtain(req, installer) # try and download/install
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pkg_resources.py", line 818, in obtain
     return installer(requirement)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/dist.py", line 313, in fetch_build_egg
     return cmd.easy_install(req)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/setuptools/command/easy_install.py", line 603, in
 easy_install
     raise DistutilsError(msg)
 distutils.errors.DistutilsError: Could not find suitable distribution for
 Requirement.parse('distribute')
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-suds-jurko/py27-suds-jurko/work
 /suds-jurko-0.4.1.jurko.4" &&
 /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-suds-jurko returned: command
 execution failed
 Warning: targets not executed for py27-suds-jurko: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port py27-suds-jurko for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-suds-jurko/py27-suds-jurko/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port py27-suds-jurko failed
 }}}

 The MacPorts way is for MacPorts to manage downloads and dependencies, not
 the scripts for individual ports. With the patch, the above install works,
 even though I still have Little Snitch set to deny network access to
 Python.

-- 
Ticket URL: <https://trac.macports.org/ticket/39480#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list