Hi We're getting build errors after updating to 16.7.5. Didn't had time yet to investigate and look deeper in it: ===> Building for py37-virtualenv-16.7.5 running build_sphinx creating /wrkdirs/usr/ports/devel/py-virtualenv/work-py37/virtualenv-16.7.5/build creating /wrkdirs/usr/ports/devel/py-virtualenv/work-py37/virtualenv-16.7.5/build/sphinx creating /wrkdirs/usr/ports/devel/py-virtualenv/work-py37/virtualenv-16.7.5/build/sphinx/doctrees creating /wrkdirs/usr/ports/devel/py-virtualenv/work-py37/virtualenv-16.7.5/build/sphinx/html Running Sphinx v1.6.5 Exception occurred: File "conf.py", line 9, in <module> ModuleNotFoundError: No module named 'virtualenv' The full traceback has been saved in /tmp/sphinx-err-opiekhkz.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! *** Error code 1 Stop.
@Thank you for the report Pascal. Can you please include: - The full build log as an attachment - pkg version -v output as an attachment - What OPTIONS were enabled/disabled for the virtualenv build See Also: Report on mailing list: https://lists.freebsd.org/pipermail/svn-ports-all/2019-September/228302.html
My /tmp/sphinx-err-*.log file was output as follows: # Sphinx version: 1.6.5 # Python version: 3.6.9 (CPython) # Docutils version: 0.15.2 release # Jinja2 version: 2.10.1 # Last messages: # Loaded extensions: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/sphinx/setup_command.py", line 191, in run warningiserror=self.warning_is_error) File "/usr/local/lib/python3.6/site-packages/sphinx/application.py", line 168, in __init__ confoverrides or {}, self.tags) File "/usr/local/lib/python3.6/site-packages/sphinx/config.py", line 150, in __init__ execfile_(filename, config) File "/usr/local/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "conf.py", line 43, in <module> File "conf.py", line 33, in generate_draft_news File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output **kwargs).stdout File "/usr/local/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: File "/usr/local/lib/python3.6/subprocess.py", line 729, in __init__ restore_signals, start_new_session) File "/usr/local/lib/python3.6/subprocess.py", line 1364, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'towncrier': 'towncrier'
(In reply to Tatsuki Makino from comment #2) towncrier port landed 20 minutes ago in ports r512402 presumably to fix this issue
(In reply to Kubilay Kocak from comment #3) Thank you very much :)
Attempted fix committed (but this issue ID not referenced in commit message) in ports r512421 Matthew (CC'd) reports build failing with Python 2.7 after this change
Me too. After the patch, on a HEAD amd64 box I get: [..snip..] running build_sphinx creating /usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx creating /usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx/doctrees creating /usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx/html Running Sphinx v1.6.5 Exception occurred: File "conf.py", line 7, in <module> ImportError: No module named pathlib The full traceback has been saved in /tmp/sphinx-err-AluUXD.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-virtualenv *** Error code 1 The conf.py ImportError is 'pathlib' now, not 'virtualenv' anymore. The full traceback is /tmp/sphinx-err-AluUXD.log # Sphinx version: 1.6.5 # Python version: 2.7.16 (CPython) # Docutils version: 0.15.2 release # Jinja2 version: 2.10.1 # Last messages: # Loaded extensions: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/sphinx/setup_command.py", line 191, in run warningiserror=self.warning_is_error) File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line 168, in __init__ confoverrides or {}, self.tags) File "/usr/local/lib/python2.7/site-packages/sphinx/config.py", line 150, in __init__ execfile_(filename, config) File "/usr/local/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/usr/local/lib/python2.7/site-packages/six.py", line 709, in exec_ exec("""exec _code_ in _globs_, _locs_""") File "<string>", line 1, in <module> File "conf.py", line 7, in <module> ImportError: No module named pathlib
(In reply to Rainer Hurling from comment #6) Builds now with since r512469. Many thanks!
I can confirm this works for me now too Thanks, Matthew