[MacPorts] #17685: Mercurial 1.1 port fails to build using MacPorts 1.7

MacPorts noreply at macports.org
Wed Dec 17 12:43:40 PST 2008


#17685: Mercurial 1.1 port fails to build using MacPorts 1.7
-------------------------------+--------------------------------------------
 Reporter:  luc@…              |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Bugs                            
Component:  ports              |     Version:  1.7.0                                
 Keywords:                     |        Port:  mercurial                            
-------------------------------+--------------------------------------------
 Trying to build mercurial 1.1 using the latest MacPorts 1.7 fails with the
 following error message:
 {{{
 ....
 ....
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mercurial/work/mercurial-1.1"
 && /opt/local/bin/python2.5 setup.py build'
 Traceback (most recent call last):
   File "setup.py", line 144, in <module>
     **extra)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
 line 125, in setup
     dist.parse_config_files()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
 line 378, in parse_config_files
     filenames = self.find_config_files()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
 line 339, in find_config_files
     check_environ()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py",
 line 208, in check_environ
     os.environ['PLAT'] = get_platform()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/util.py",
 line 78, in get_platform
     cfgvars = get_config_vars()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py",
 line 493, in get_config_vars
     func()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/sysconfig.py",
 line 375, in _init_posix
     elif map(int, cfg_target.split('.')) > map(int,
 cur_target.split('.')):
 ValueError: invalid literal for int() with base 10: ''
 }}}

 This seems to be caused by MACOSX_DEPLOYMENT_TARGET not being set
 correctly.

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


More information about the macports-tickets mailing list