This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients Decorater, brett.cannon, jkloth, mark.dickinson, ncoghlan, paul.moore, python-dev, steve.dower, tim.golden, vstinner, yan12125, zach.ware
Date 2016-09-09.08:38:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It looks as though this change might have broken the compile on OS X. On my OS X 10.9 machine, building from a clean Git checkout of the master branch fails; the tail of the failed build looks like this:

./python.exe -E -S -m sysconfig --generate-posix-vars ;\
	if test $? -ne 0 ; then \
		echo "generate-posix-vars failed" ; \
		rm -f ./pybuilddir.txt ; \
		exit 1 ; \
Fatal Python error: Py_Initialize: unable to load the file system codec
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 962, in _find_and_load
  File "<frozen importlib._bootstrap>", line 951, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 668, in exec_module
  File "<frozen importlib._bootstrap_external>", line 782, in get_code
  File "<frozen importlib._bootstrap_external>", line 842, in _cache_bytecode
  File "<frozen importlib._bootstrap_external>", line 867, in set_data
  File "<frozen importlib._bootstrap_external>", line 117, in _write_atomic
ValueError: negative file descriptor
/bin/sh: line 1: 35829 Abort trap: 6           ./python.exe -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [pybuilddir.txt] Error 1

Full build output attached.
Date User Action Args
2016-09-09 08:38:40mark.dickinsonsetrecipients: + mark.dickinson, brett.cannon, paul.moore, ncoghlan, vstinner, tim.golden, jkloth, python-dev, zach.ware, steve.dower, yan12125, Decorater
2016-09-09 08:38:37mark.dickinsonsetmessageid: <>
2016-09-09 08:38:37mark.dickinsonlinkissue27781 messages
2016-09-09 08:38:37mark.dickinsoncreate