[Python-Dev] in latest Py3k site.py: configparser.NoSectionError: No section: 'posix_prefix'

2011-05-20 Thread Stefan Behnel

Hi,

since May 19, I get the exception below in the latest py3k site.py when 
trying to run a distutils build with it (building Cython). The changelog 
since the previous (working) CPython build is here:


https://sage.math.washington.edu:8091/hudson/job/py3k-hg/374/

The failing build is here:

https://sage.math.washington.edu:8091/hudson/job/cython-devel-build-py3k/1313/console

This is on 64bit Linux. I tried with a clean checkout, no difference. Is 
this problem obvious to someone, is there anything that needs adaptation on 
our side (I hope not), or should I file a bug report?


Thanks,

Stefan



$ python setup.py bdist --formats=gztar --cython-profile
Traceback (most recent call last):
  File /.../python/lib/python3.3/configparser.py, line 842, in items
d.update(self._sections[section])
KeyError: 'posix_prefix'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File /.../python/lib/python3.3/site.py, line 537, in module
main()
  File /.../python/lib/python3.3/site.py, line 522, in main
known_paths = addusersitepackages(known_paths)
  File /.../python/lib/python3.3/site.py, line 263, in addusersitepackages
user_site = getusersitepackages()
  File /.../python/lib/python3.3/site.py, line 238, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
  File /.../python/lib/python3.3/site.py, line 228, in getuserbase
USER_BASE = get_config_var('userbase')
  File /.../python/lib/python3.3/sysconfig.py, line 576, in get_config_var
return get_config_vars().get(name)
  File /.../python/lib/python3.3/sysconfig.py, line 472, in get_config_vars
_init_posix(_CONFIG_VARS)
  File /.../python/lib/python3.3/sysconfig.py, line 324, in _init_posix
makefile = get_makefile_filename()
  File /.../python/lib/python3.3/sysconfig.py, line 318, in 
get_makefile_filename

return os.path.join(get_path('stdlib'), config_dir_name, 'Makefile')
  File /.../python/lib/python3.3/sysconfig.py, line 436, in get_path
return get_paths(scheme, vars, expand)[name]
  File /.../python/lib/python3.3/sysconfig.py, line 426, in get_paths
return _expand_vars(scheme, vars)
  File /.../python/lib/python3.3/sysconfig.py, line 142, in _expand_vars
for key, value in _SCHEMES.items(scheme):
  File /.../python/lib/python3.3/configparser.py, line 845, in items
raise NoSectionError(section)
configparser.NoSectionError: No section: 'posix_prefix'


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] in latest Py3k site.py: configparser.NoSectionError: No section: 'posix_prefix'

2011-05-20 Thread Ned Deily
In article ir6e0i$hn6$1...@dough.gmane.org,
 Stefan Behnel stefan...@behnel.de wrote:
 since May 19, I get the exception below in the latest py3k site.py when 
 trying to run a distutils build with it (building Cython). The changelog 
 since the previous (working) CPython build is here:
 
 https://sage.math.washington.edu:8091/hudson/job/py3k-hg/374/
 
 The failing build is here:
 
 https://sage.math.washington.edu:8091/hudson/job/cython-devel-build-py3k/1313/
 console
 
 This is on 64bit Linux. I tried with a clean checkout, no difference. Is 
 this problem obvious to someone, is there anything that needs adaptation on 
 our side (I hope not), or should I file a bug report?

It's a bug introduced by the packaging (Distutils2) feature.  Thanks for 
finding it first.

http://bugs.python.org/issue12131

-- 
 Ned Deily,
 n...@acm.org

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com