Ticket #18236 (closed defect: duplicate)
py25-hashlib fails to build
| Reported by: | simon@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | py25-hashlib |
Description (last modified by macsforever2000@…) (diff)
$ 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.
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to mww@…
- Description modified (diff)
comment:4 Changed 4 years ago 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.
Note: See
TracTickets for help on using
tickets.


What version of Mac OS X are you running? What Xcode version?