id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 39480,py-suds-jurko @0.4.1.jurko.4: build fails trying to use distribute,mndavidoff,macports-tickets@…,"I received an error installing py27-suds-jurko because it tries to move the installed setuptools out of the way and use distribute. {{{ $ port installed py27-setuptools The following ports are currently installed: py27-setuptools @0.7.4_0 (active) $ sudo port -vs install py27-suds-jurko Password: ---> Computing dependencies for py27-suds-jurko. ---> Fetching distfiles for py27-suds-jurko ---> Verifying checksum(s) 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 Before install bootstrap. Scanning installed packages Setuptools installation detected at /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages Non-egg installation Moving elements out of the way... Renaming /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.7.4-py2.7.egg-info to /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-0.7.4-py2.7.egg-info.OLD.1371703592.92 Traceback (most recent call last): File ""setup.py"", line 161, in **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 262, 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 286, 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 587, 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 829, 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 841, in obtain return installer(requirement) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py"", line 336, 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 616, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py"", line 646, in install_item dists = self.install_eggs(spec, download, tmpdir) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py"", line 840, in install_eggs return self.build_and_install(setup_script, setup_base) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py"", line 1120, in build_and_install self.run_setup(setup_script, setup_base, args) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/easy_install.py"", line 1106, in run_setup run_setup(setup_script, args) File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/sandbox.py"", line 67, in run_setup lambda: execfile( File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/sandbox.py"", line 117, in run return func() File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/sandbox.py"", line 69, in {'__file__':setup_script, '__name__':'__main__'} File ""setup.py"", line 134, in File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 386, in _before_install File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 443, in _fake_setuptools File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 241, in __no_sandbox File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 301, in _remove_flat_installation File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 241, in __no_sandbox File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 370, in _patch_egg_dir File ""/tmp/easy_install-emz6mG/distribute-0.6.45/distribute_setup.py"", line 281, in _rename_path File ""/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/sandbox.py"", line 130, in wrap return original(src,dst,*args,**kw) OSError: [Errno 13] Permission denied 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 ... }}} The attached patch works for me to fix the problem.",defect,closed,Normal,,ports,2.1.3,worksforme,haspatch,patrik.hartlen@… petrrr,py-suds-jurko