[MacPorts] #18236: py25-hashlib fails to build

MacPorts noreply at macports.org
Tue Jan 27 15:50:26 PST 2009


#18236: py25-hashlib fails to build
-------------------------------+--------------------------------------------
 Reporter:  simon@…            |       Owner:  mww@…           
     Type:  defect             |      Status:  new             
 Priority:  Normal             |   Milestone:  Port Bugs       
Component:  ports              |     Version:  1.7.0           
 Keywords:                     |        Port:  py25-hashlib    
-------------------------------+--------------------------------------------

Comment(by simon@…):

 updated to Xcode 3.1.2 and tried again. looks like the exact same error,
 but i'll paste it again just in case:

 {{{
 $ sudo port clean py25-hashlib
 Password:
 --->  Cleaning py25-hashlib

 $ sudo port install py25-hashlib
 --->  Fetching py25-hashlib
 --->  Verifying checksum(s) for py25-hashlib
 --->  Extracting py25-hashlib
 --->  Configuring py25-hashlib
 --->  Building py25-hashlib
 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_py25-hashlib/work/Python-2.5.4/Modules"
 && /opt/local/bin/python2.5 setup.py --no-user-cfg build " returned error
 1
 Command output: Traceback (most recent call last):
   File "setup.py", line 21, in <module>
     library_dirs = lib_dirs)]
   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 366, 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 329, 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: ''

 Error: Status 1 encountered during processing.

 }}}

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


More information about the macports-tickets mailing list