[MacPorts] #17059: py-setuptools confused about MACOSX_DEPLOYMENT_TARGET
MacPorts
noreply at macports.org
Fri Oct 31 20:38:49 PDT 2008
#17059: py-setuptools confused about MACOSX_DEPLOYMENT_TARGET
--------------------------------+-------------------------------------------
Reporter: stephen at xemacs.org | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: py-setuptools
--------------------------------+-------------------------------------------
Mac OS X 10.4.11 on PPC (iBook G4)[[BR]]
May have been 10.3 in the distant past but I think it was acquired with
10.4 on it.[[BR]]
Python versions available (I don't know what port would find):
{{{
chibi:MacPorts steve$ which python
/opt/local/bin/python
chibi:MacPorts steve$ ls -l `which python`
lrwxr-xr-x 1 steve staff 24 Oct 9 23:45 /opt/local/bin/python ->
/opt/local/bin/python2.4
chibi:MacPorts steve$ which python2.2
no python2.2 in /usr/local/bin /opt/local/bin /opt/local/sbin
/usr/X11R6/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin
chibi:MacPorts steve$ which python2.3
/opt/local/bin/python2.3
chibi:MacPorts steve$ which python2.4
/opt/local/bin/python2.4
chibi:MacPorts steve$ which python2.5
/opt/local/bin/python2.5
chibi:MacPorts steve$ which python2.6
no python2.6 in /usr/local/bin /opt/local/bin /opt/local/sbin
/usr/X11R6/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin
chibi:MacPorts steve$ which python3.0
no python3.0 in /usr/local/bin /opt/local/bin /opt/local/sbin
/usr/X11R6/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin
chibi:MacPorts steve$ ls {/bin,/usr/bin,/usr/local/bin}/*python*
ls: /bin/*python*: No such file or directory
ls: /usr/local/bin/*python*: No such file or directory
/usr/bin/python /usr/bin/pythonw
/usr/bin/python2.3 /usr/bin/pythonw2.3
}}}
Error from "port upgrade py-setuptools":
{{{
chibi:MacPorts steve$ port upgrade py-setuptools
---> Fetching py-setuptools
---> Verifying checksum(s) for py-setuptools
---> Extracting py-setuptools
---> Applying patches to py-setuptools
---> Configuring py-setuptools
---> Building py-setuptools
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build
/_Users_steve_Software_MacPorts_dports_python_py-
setuptools/work/setuptools-0.6c8" && /opt/local/bin/python2.4 setup.py
build " returned error 1
Command output: Traceback (most recent call last):
File "setup.py", line 7, in ?
execfile(convert_path('setuptools/command/__init__.py'), d)
File "setuptools/command/__init__.py", line 13, in ?
from distutils.command.bdist import bdist
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/command/bdist.py",
line 29, in ?
class bdist (Command):
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/command/bdist.py",
line 33, in bdist
user_options = [('bdist-base=', 'b',
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/util.py",
line 78, in get_platform
cfgvars = get_config_vars()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py",
line 488, in get_config_vars
func()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/sysconfig.py",
line 373, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET
mismatch: now "10.4" but "10.3" during configure
Error: Unable to upgrade port: 1
}}}
--
Ticket URL: <http://trac.macports.org/ticket/17059>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list