[MacPorts] #18343: py-geoip fails to build

MacPorts noreply at macports.org
Wed Feb 4 03:01:40 PST 2009


#18343: py-geoip fails to build
----------------------------------------+-----------------------------------
 Reporter:  benjamin.winston@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.7.0                                
 Keywords:  build failure               |        Port:  py-geoip                             
----------------------------------------+-----------------------------------

Comment(by benjamin.winston@…):

 Hmm... I've switched /usr/bin/python linkage to point instead now to
 /opt/local/bin/python2.4, run port py-geoip clean and then port py-geoip
 install again, and same problem:

 orothy:~ benjaminwinston$ sudo port clean py-mysql
 --->  Cleaning py-mysql
 dorothy:~ benjaminwinston$ sudo port install py-mysql
 --->  Fetching py-mysql
 --->  Verifying checksum(s) for py-mysql
 --->  Extracting py-mysql
 --->  Applying patches to py-mysql
 --->  Configuring py-mysql
 --->  Building py-mysql
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-python-1.2.2" &&
 /opt/local/bin/python2.4 setup.py build " returned error 1
 Command output: you may need to enable firewall access for this script
 first.
 I will start the download in 15 seconds.

 (Note: if this machine does not have network access, please obtain the
 file

 http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6c5-py2.4.egg

 and place it in this directory before rerunning this script.)
 ---------------------------------------------------------------------------
 Downloading
 http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6c5-py2.4.egg
 Traceback (most recent call last):
   File "setup.py", line 5, in ?
     import ez_setup; ez_setup.use_setuptools()
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-python-1.2.2/ez_setup.py",
 line 85, in use_setuptools
     import setuptools; setuptools.bootstrap_install_from = egg
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-
 python-1.2.2/setuptools-0.6c5-py2.4.egg/setuptools/__init__.py", line 2,
 in ?
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-
 python-1.2.2/setuptools-0.6c5-py2.4.egg/setuptools/extension.py", line 2,
 in ?
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-
 python-1.2.2/setuptools-0.6c5-py2.4.egg/setuptools/dist.py", line 5, in ?
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_python_py-mysql/work/MySQL-
 python-1.2.2/setuptools-0.6c5-py2.4.egg/setuptools/command/__init__.py",
 line 13, in ?
   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.5" but "" during configure

 Error: Status 1 encountered during processing.

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


More information about the macports-tickets mailing list