Opened 18 years ago

Closed 18 years ago

#6378 closed defect (fixed)

BUG: py-setuptools install fails due to missing file.

Reported by: ltrohr@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

The install complains about a missing file.

This is with darwinports v1.2 on OS X 10.4.3

~% port installed python24 The following ports are currently installed:

python24 @2.4.2_1+darwin_8 (active)

~% sudo port sync ~% sudo port -d 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 powerpc is not provided by port py-setuptools. DEBUG: Requested variant darwin 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.unarchive (py-setuptools) DEBUG: Skipping completed com.apple.fetch (py-setuptools) DEBUG: Skipping completed com.apple.checksum (py-setuptools) DEBUG: setting option extract.cmd to /usr/bin/unzip DEBUG: setting option extract.pre_args to -q DEBUG: setting option extract.post_args to {-d /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-setuptools/work} 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.6a8" && /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 error: invalid Python installation: unable to open /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Makefile (No such file or directory) Error: Target com.apple.destroot returned: shell 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.6a8" && /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" returned error 1 Command output: Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] running install error: invalid Python installation: unable to open /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config/Makefile (No such file or directory)

Warning: the following items did not execute (for py-setuptools): com.apple.activate com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing. ~%

Change History (2)

comment:1 Changed 18 years ago by blb@…

Cc: darwinports-bugs@… removed

What's the result from running the following?

/opt/local/bin/python2.4 -c "import sys; print sys.exec_prefix"

comment:2 Changed 18 years ago by blb@…

Resolution: fixed
Status: newclosed

This should be fixed with the python24 2.4.2 revision 2 update.

Note: See TracTickets for help on using tickets.