#11266 closed defect (invalid)
py-setuptools fails to install
Reported by: | joe.carroll@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.3.2 |
Keywords: | Cc: | ||
Port: |
Description
I've just successfully installed Apache2 and mod_python with MacPorts and am attempting to install the Django web development framework but one of the dependencies fails, i.e. py-setuptools.
sudo port -f install py-setuptools produces the following:
---> Fetching py-setuptools ---> Attempting to fetch setuptools-0.6c3.tar.gz from http://cheeseshop.python.org/packages/source/s/setuptools/ ---> Verifying checksum(s) for py-setuptools ---> Extracting py-setuptools ---> Configuring py-setuptools ---> Building py-setuptools with target build ---> Staging py-setuptools into destroot Error: Target com.apple.destroot returned: no files matched glob pattern "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/lib/python2.4/site-packages/site.py*" Error: The following dependencies failed to build: py-setuptools Error: Status 1 encountered during processing.
Change History (5)
comment:1 Changed 18 years ago by pipping@…
Milestone: | → Port Bugs |
---|
comment:2 Changed 18 years ago by joe.carroll@…
comment:3 Changed 18 years ago by joe.carroll@…
Realised that the problem was being caused by a .pydistutils.cfg in my home directory with install paths that conflicted with MacPorts. No bug after all :-[
comment:4 Changed 18 years ago by stechert@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
As per discussion with Joe, there's nothing to fix here.
Same problem with new version (0.6c5; was 0.6c3 when I reported the bug) and after selfupdate (DarwinPorts base version 1.320 installed when ticket was opened; just upgraded to MacPorts base version 1.400 successfully).
$ sudo port -fd install py-setuptools DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-setuptools DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-setuptools DEBUG: Requested variant darwin is not provided by port py-setuptools. DEBUG: Requested variant i386 is not provided by port py-setuptools. DEBUG: Requested variant macosx is not provided by port py-setuptools. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/python24 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/lang/python24 DEBUG: Searching for dependency: python24 DEBUG: Found Dependency: receipt exists for python24 DEBUG: Skipping completed com.apple.main (py-setuptools) DEBUG: Skipping completed com.apple.fetch (py-setuptools) DEBUG: Skipping completed com.apple.checksum (py-setuptools) DEBUG: Skipping completed com.apple.extract (py-setuptools) DEBUG: Skipping completed com.apple.patch (py-setuptools) DEBUG: Skipping completed com.apple.configure (py-setuptools) DEBUG: Skipping completed com.apple.build (py-setuptools) ---> Staging py-setuptools into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) DEBUG: Executing proc-pre-com.apple.destroot-destroot-0 DEBUG: Executing com.apple.destroot (py-setuptools) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/setuptools-0.6c5" && /opt/local/bin/python2.4 setup.py install --prefix=/opt/local --root=/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot' Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] running install running build running build_py running install_lib running install_egg_info running egg_info writing setuptools.egg-info/PKG-INFO writing top-level names to setuptools.egg-info/top_level.txt writing dependency_links to setuptools.egg-info/dependency_links.txt writing entry points to setuptools.egg-info/entry_points.txt reading manifest file 'setuptools.egg-info/SOURCES.txt' writing manifest file 'setuptools.egg-info/SOURCES.txt' removing '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/Users/joecarroll/Library/Python/2.4/site-packages/setuptools-0.6c5-py2.4.egg-info' (and everything under it) Copying setuptools.egg-info to /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/Users/joecarroll/Library/Python/2.4/site-packages/setuptools-0.6c5-py2.4.egg-info running install_scripts Installing easy_install script to /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/Users/joecarroll/bin Installing easy_install-2.4 script to /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/Users/joecarroll/bin DEBUG: Executing proc-post-com.apple.destroot-destroot-0 xinstall: chdir(/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/setuptools-0.6c5) xinstall: EasyInstall.txt -> /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/share/doc/py-setuptools/EasyInstall.txt xinstall: api_tests.txt -> /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/share/doc/py-setuptools/api_tests.txt xinstall: pkg_resources.txt -> /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/share/doc/py-setuptools/pkg_resources.txt xinstall: setuptools.txt -> /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/share/doc/py-setuptools/setuptools.txt Error: Target com.apple.destroot returned: no files matched glob pattern "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work/destroot/opt/local/lib/python2.4/site-packages/site.py*" Warning: the following items did not execute (for py-setuptools): com.apple.activate com.apple.destroot com.apple.install Error: Status 1 encountered during processing.