[New-bugs-announce] [issue32290] bolen-dmg-3.6: compilation failed with OSError: [Errno 23] Too many open files in system
STINNER Victor
report at bugs.python.org
Tue Dec 12 10:40:45 EST 2017
New submission from STINNER Victor <victor.stinner at gmail.com>:
http://buildbot.python.org/all/#/builders/49/builds/67
...
http://buildbot.python.org/all/#/builders/49/builds/67
...
Installing collected packages: sphinxcontrib-websupport, setuptools, snowballstemmer, docutils, imagesize, urllib3, chardet, certifi, idna, requests, pytz, babel, alabaster, MarkupSafe, Jinja2, six, Pygments, Sphinx, blurb
Found existing installation: setuptools 28.8.0
Uninstalling setuptools-28.8.0:
Successfully uninstalled setuptools-28.8.0
Running setup.py install for MarkupSafe: started
Running setup.py install for MarkupSafe: finished with status 'done'
Successfully installed Jinja2-2.10 MarkupSafe-1.0 Pygments-2.2.0 Sphinx-1.6.5 alabaster-0.7.10 babel-2.5.1 blurb-1.0.5 certifi-2017.11.5 chardet-3.0.4 docutils-0.14 idna-2.6 imagesize-0.7.1 pytz-2017.3 requests-2.18.4 setuptools-38.2.4 six-1.11.0 snowballstemmer-1.2.1 sphinxcontrib-websupport-1.0.1 urllib3-1.22
The venv has been created in the ./venv directory
Exception occurred:
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/util/osutil.py", line 230, in getcwd
OSError: [Errno 23] Too many open files in system
Traceback (most recent call last):
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/cmdline.py", line 306, in main
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/application.py", line 339, in build
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 331, in build_update
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 344, in build
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 584, in update
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 603, in _read_serial
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/environment/__init__.py", line 735, in read_doc
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/application.py", line 489, in emit
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/events.py", line 79, in emit
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/environment/collectors/dependencies.py", line 43, in process_doc
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/util/osutil.py", line 230, in getcwd
OSError: [Errno 23] Too many open files in system
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./venv/bin/sphinx-build", line 11, in <module>
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/__init__.py", line 71, in main
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/__init__.py", line 113, in build_main
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/cmdline.py", line 309, in main
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/cmdline.py", line 105, in handle_exception
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Doc/venv/lib/python3.6/site-packages/sphinx/util/__init__.py", line 219, in save_traceback
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tempfile.py", line 335, in mkstemp
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tempfile.py", line 130, in _sanitize_params
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tempfile.py", line 296, in gettempdir
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tempfile.py", line 231, in _get_default_tempdir
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '.']
make: *** [build] Error 1
Traceback (most recent call last):
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -D latex_elements.papersize= . build/html
Running Sphinx v1.6.5
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 465 source files that are out of date
updating environment: 465 added, 0 changed, 0 removed
reading sources... [ 0%] about
reading sources... [ 0%] bugs
...
main()
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Mac/BuildScript/build-installer.py", line 1620, in main
buildPythonDocs()
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Mac/BuildScript/build-installer.py", line 1093, in buildPythonDocs
runCommand('make html PYTHON=venv/bin/python')
File "/Users/db3l/buildarea.dmg/bolen-dmg-3.6/build/Mac/BuildScript/build-installer.py", line 531, in runCommand
raise RuntimeError("command failed: %s"%(commandline,))
RuntimeError: command failed: make html PYTHON=venv/bin/python
program finished with exit code 1
elapsedTime=1719.516712
----------
components: macOS
messages: 308141
nosy: ned.deily, ronaldoussoren, vstinner
priority: normal
severity: normal
status: open
title: bolen-dmg-3.6: compilation failed with OSError: [Errno 23] Too many open files in system
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32290>
_______________________________________
More information about the New-bugs-announce
mailing list