make chpldoc
Gives this error during compilation
ImportError: dlopen(/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
Referenced from: /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/lib-dynload/_io.so
Expected in: flat namespace
in /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/lib-dynload/_io.so
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "install/darwin/py2.7/virtualenv", line 11, in <module>
load_entry_point('virtualenv==12.0.5', 'console_scripts', 'virtualenv')()
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 825, in main
symlink=options.symlink)
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 961, in install_wheel
'PIP_NO_INDEX': '1'
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/buddha/github...irtualenv/bin/python -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
make[2]: *** [/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv] Error 1
make[1]: *** [/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-build] Error 2
make: [third-party-chpldoc-venv] Error 2 (ignored)
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[1]: Nothing to be done for `chpldoc'.
cd man && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[2]: Nothing to be done for `chpldoc'.
If you ignore this because you're in a hurry and try to compile something with a math directive, you may get
writing output... [100%] modules/src/NumSuch
Warning, treated as error:
/var/folders/g5/4zwyfk513hd94tjs1fm5mdq00000gn/T/chpldoc-buddha-78935.deleteme/source/modules/src/NumSuch.rst:20: WARNING: using "math" markup without a Sphinx math extension active, please use one of the math extensions described at http://sphinx-doc.org/ext/math.html
error: building html output from chpldoc sphinx project
chpl --version
chpl Version 1.16.0 pre-release (2ba7d873d9)
Copyright (c) 2004-2017, Cray Inc. (See LICENSE file for more details)
What's your python version? This stackoverflow post seems to indicate that is a python version issue with 2.7
python --version
Python 2.7.13 :: Continuum Analytics, Inc.
Maybe try 2.7.12? The post made it sound like a recurring issue :/
In any case, the problem seems to be with the python stuff chpldoc relies on, so something about your build environment - either python or your version of virtualenv
I'll try updating and let you know
I believe using conda with virtualenv is the issue (chpldoc relies on a virtualenv). There were some long-standing incompatibility issues between conda and virtualenv, but they have been resolved with the latest virtualenv, if installed via conda.
Unfortunately, our build-system installs virtualenv with easy_install, so there are likely some build changes required to support anaconda...
Just reporting in, I'm using my system Python, and it's 2.7. Not sure about next steps. Bruce said I should tell an adult about that...
Small update, at the end of my .bash_profile I had miniconda:
# added by Miniconda2 4.3.14 installer
export PATH="/Users/buddha/miniconda2/bin:$PATH"
Under that, I get
python --version
Python 2.7.13 :: Continuum Analytics, Inc.
Without it
```python --version
Python 2.7.10
then
macbuddha:chapel buddha$ make chpldoc
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/buddha/github/chapel/third-party/llvm none
make[2]: Nothing to be done for `none'.
adt/
AST/
backend/
codegen/
ifa/
ipe/
main/
optimizations/
parser/
passes/
resolution/
util/
./
cd chpl-venv && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc-venv
export PYTHONPATH=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7:$PYTHONPATH &&
/usr/local/bin/easy_install --install-dir=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7 virtualenv==12.0.5
Searching for virtualenv==12.0.5
Best match: virtualenv 12.0.5
Processing virtualenv-12.0.5-py2.7.egg
virtualenv 12.0.5 is already the active version in easy-install.pth
Installing virtualenv script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Installing virtualenv-2.7 script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Using /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg
Processing dependencies for virtualenv==12.0.5
Finished processing dependencies for virtualenv==12.0.5
install/darwin/py2.7/virtualenv --python=/usr/bin/python /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv
Running virtualenv with interpreter /usr/bin/python
New python executable in /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/python
Installing setuptools, pip...
Complete output from command /Users/buddha/github...irtualenv/bin/python -c "import sys, pip; sys...d"] + sys.argv[1:]))" setuptools pip:
Traceback (most recent call last):
File "
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py", line 13, in
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/utils/__init__.py", line 14, in
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py", line 6, in
import io
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in
import _io
ImportError: dlopen(/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder
Referenced from: /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/lib-dynload/_io.so
Expected in: flat namespace
...Installing setuptools, pip...done.
Traceback (most recent call last):
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 2352, in
main()
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 825, in main
symlink=options.symlink)
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 993, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 961, in install_wheel
'PIP_NO_INDEX': '1'
File "/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg/virtualenv.py", line 903, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/buddha/github...irtualenv/bin/python -c "import sys, pip; sys...d"] + sys.argv[1:]))" setuptools pip failed with error code 1
make[2]: * [/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv] Error 1
make[1]: * [/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-build] Error 2
make: [third-party-chpldoc-venv] Error 2 (ignored)
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[1]: Nothing to be done for chpldoc'.
cd man && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[2]: Nothing to be done forchpldoc'.
Blame Bruce for this one:
macbuddha:chapel buddha$ python --version
Python 2.7.9 :: Continuum Analytics, Inc.
macbuddha:chapel buddha$ make chpldoc
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/buddha/github/chapel/third-party/llvm none
make[2]: Nothing to be done for `none'.
***** adt/ *****
***** AST/ *****
***** backend/ *****
***** codegen/ *****
***** ifa/ *****
***** ipe/ *****
***** main/ *****
***** optimizations/ *****
***** parser/ *****
***** passes/ *****
***** resolution/ *****
***** util/ *****
***** ./ *****
cd chpl-venv && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc-venv
export PYTHONPATH=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7:$PYTHONPATH && \
/Users/buddha/miniconda2/bin/easy_install --install-dir=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7 virtualenv==12.0.5
Searching for virtualenv==12.0.5
Best match: virtualenv 12.0.5
Processing virtualenv-12.0.5-py2.7.egg
virtualenv 12.0.5 is already the active version in easy-install.pth
Installing virtualenv script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Installing virtualenv-2.7 script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Using /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg
Processing dependencies for virtualenv==12.0.5
Finished processing dependencies for virtualenv==12.0.5
install/darwin/py2.7/virtualenv --python=/Users/buddha/miniconda2/bin/python /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv
Already using interpreter /Users/buddha/miniconda2/bin/python
New python executable in /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/python
Installing setuptools, pip...done.
export PATH=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin:$PATH && \
export VIRTUAL_ENV=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv && \
python /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip install \
-U --force-reinstall -r chpldoc-requirements.txt && \
install/darwin/py2.7/virtualenv --relocatable /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv
You are using pip version 6.0.6, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting Jinja2==2.8 (from -r chpldoc-requirements.txt (line 1))
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |################################| 266kB 9.6MB/s
Collecting MarkupSafe==0.23 (from -r chpldoc-requirements.txt (line 2))
Downloading MarkupSafe-0.23.tar.gz
Collecting Pygments<3,>=2 (from -r chpldoc-requirements.txt (line 3))
Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |################################| 843kB 6.4MB/s
Collecting Sphinx==1.3.3 (from -r chpldoc-requirements.txt (line 4))
Downloading Sphinx-1.3.3-py2.py3-none-any.whl (1.5MB)
100% |################################| 1.5MB 4.5MB/s
Collecting docutils==0.12 (from -r chpldoc-requirements.txt (line 5))
Downloading docutils-0.12.tar.gz (1.6MB)
100% |################################| 1.6MB 3.4MB/s
Collecting argparse==1.3.0 (from -r chpldoc-requirements.txt (line 6))
Downloading argparse-1.3.0-py2.py3-none-any.whl
Collecting sphinx-rtd-theme==0.1.9 (from -r chpldoc-requirements.txt (line 7))
Downloading sphinx_rtd_theme-0.1.9-py2-none-any.whl (693kB)
100% |################################| 696kB 6.6MB/s
Collecting sphinxcontrib-chapeldomain>=0.0.10 (from -r chpldoc-requirements.txt (line 8))
Downloading sphinxcontrib-chapeldomain-0.0.14.tar.gz
Collecting babel!=2.0,>=1.3 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading Babel-2.5.0-py2.py3-none-any.whl (6.8MB)
100% |################################| 6.8MB 898kB/s
Collecting snowballstemmer>=1.1 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB)
100% |################################| 65kB 2.6MB/s
Collecting six>=1.4 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading alabaster-0.7.10-py2.py3-none-any.whl
Collecting pytz>=0a (from babel!=2.0,>=1.3->Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
100% |################################| 487kB 5.7MB/s
Installing collected packages: pytz, alabaster, six, snowballstemmer, babel, sphinxcontrib-chapeldomain, sphinx-rtd-theme, argparse, docutils, Sphinx, Pygments, MarkupSafe, Jinja2
Running setup.py install for sphinxcontrib-chapeldomain
Skipping installation of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/site-packages/sphinxcontrib/__init__.py (namespace package)
Installing /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/site-packages/sphinxcontrib_chapeldomain-0.0.14-py2.7-nspkg.pth
Running setup.py install for docutils
changing mode of build/scripts-2.7/rst2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2s5.py from 644 to 755
changing mode of build/scripts-2.7/rst2latex.py from 644 to 755
changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755
changing mode of build/scripts-2.7/rst2man.py from 644 to 755
changing mode of build/scripts-2.7/rst2xml.py from 644 to 755
changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755
changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2html.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2latex.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2man.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt_prepstyles.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2pseudoxml.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2s5.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xetex.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xml.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rstpep2html.py to 755
Running setup.py install for MarkupSafe
building 'markupsafe._speedups' extension
gcc -fno-strict-aliasing -I/Users/buddha/miniconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/buddha/miniconda2/include/python2.7 -c markupsafe/_speedups.c -o build/temp.macosx-10.5-x86_64-2.7/markupsafe/_speedups.o
gcc -bundle -undefined dynamic_lookup -L/Users/buddha/miniconda2/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/markupsafe/_speedups.o -L/Users/buddha/miniconda2/lib -o build/lib.macosx-10.5-x86_64-2.7/markupsafe/_speedups.so
Successfully installed Jinja2-2.8 MarkupSafe-0.23 Pygments-2.2.0 Sphinx-1.3.3 alabaster-0.7.10 argparse-1.3.0 babel-2.5.0 docutils-0.12 pytz-2017.2 six-1.10.0 snowballstemmer-1.2.1 sphinx-rtd-theme-0.1.9 sphinxcontrib-chapeldomain-0.0.14
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/easy_install relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/easy_install-2.7 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip2 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip2.7 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pybabel relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pygmentize relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2html.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2latex.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2man.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt_prepstyles.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2pseudoxml.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2s5.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xetex.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xml.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rstpep2html.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-apidoc relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-autogen relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-build relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-quickstart relative
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[1]: Nothing to be done for `chpldoc'.
cd man && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[2]: Nothing to be done for `chpldoc'.
Blame him for this one, too. Upgraded to most current Conda
macbuddha:chapel buddha$ python --version
Python 2.7.9 :: Continuum Analytics, Inc.
macbuddha:chapel buddha$ make chpldoc
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/buddha/github/chapel/third-party/llvm none
make[2]: Nothing to be done for `none'.
***** adt/ *****
***** AST/ *****
***** backend/ *****
***** codegen/ *****
***** ifa/ *****
***** ipe/ *****
***** main/ *****
***** optimizations/ *****
***** parser/ *****
***** passes/ *****
***** resolution/ *****
***** util/ *****
***** ./ *****
cd chpl-venv && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc-venv
export PYTHONPATH=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7:$PYTHONPATH && \
/Users/buddha/miniconda2/bin/easy_install --install-dir=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7 virtualenv==12.0.5
Searching for virtualenv==12.0.5
Best match: virtualenv 12.0.5
Processing virtualenv-12.0.5-py2.7.egg
virtualenv 12.0.5 is already the active version in easy-install.pth
Installing virtualenv script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Installing virtualenv-2.7 script to /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7
Using /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/virtualenv-12.0.5-py2.7.egg
Processing dependencies for virtualenv==12.0.5
Finished processing dependencies for virtualenv==12.0.5
install/darwin/py2.7/virtualenv --python=/Users/buddha/miniconda2/bin/python /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv
Already using interpreter /Users/buddha/miniconda2/bin/python
New python executable in /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/python
Installing setuptools, pip...done.
export PATH=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin:$PATH && \
export VIRTUAL_ENV=/Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv && \
python /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip install \
-U --force-reinstall -r chpldoc-requirements.txt && \
install/darwin/py2.7/virtualenv --relocatable /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv
You are using pip version 6.0.6, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting Jinja2==2.8 (from -r chpldoc-requirements.txt (line 1))
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |################################| 266kB 9.6MB/s
Collecting MarkupSafe==0.23 (from -r chpldoc-requirements.txt (line 2))
Downloading MarkupSafe-0.23.tar.gz
Collecting Pygments<3,>=2 (from -r chpldoc-requirements.txt (line 3))
Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
100% |################################| 843kB 6.4MB/s
Collecting Sphinx==1.3.3 (from -r chpldoc-requirements.txt (line 4))
Downloading Sphinx-1.3.3-py2.py3-none-any.whl (1.5MB)
100% |################################| 1.5MB 4.5MB/s
Collecting docutils==0.12 (from -r chpldoc-requirements.txt (line 5))
Downloading docutils-0.12.tar.gz (1.6MB)
100% |################################| 1.6MB 3.4MB/s
Collecting argparse==1.3.0 (from -r chpldoc-requirements.txt (line 6))
Downloading argparse-1.3.0-py2.py3-none-any.whl
Collecting sphinx-rtd-theme==0.1.9 (from -r chpldoc-requirements.txt (line 7))
Downloading sphinx_rtd_theme-0.1.9-py2-none-any.whl (693kB)
100% |################################| 696kB 6.6MB/s
Collecting sphinxcontrib-chapeldomain>=0.0.10 (from -r chpldoc-requirements.txt (line 8))
Downloading sphinxcontrib-chapeldomain-0.0.14.tar.gz
Collecting babel!=2.0,>=1.3 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading Babel-2.5.0-py2.py3-none-any.whl (6.8MB)
100% |################################| 6.8MB 898kB/s
Collecting snowballstemmer>=1.1 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB)
100% |################################| 65kB 2.6MB/s
Collecting six>=1.4 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting alabaster<0.8,>=0.7 (from Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading alabaster-0.7.10-py2.py3-none-any.whl
Collecting pytz>=0a (from babel!=2.0,>=1.3->Sphinx==1.3.3->-r chpldoc-requirements.txt (line 4))
Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)
100% |################################| 487kB 5.7MB/s
Installing collected packages: pytz, alabaster, six, snowballstemmer, babel, sphinxcontrib-chapeldomain, sphinx-rtd-theme, argparse, docutils, Sphinx, Pygments, MarkupSafe, Jinja2
Running setup.py install for sphinxcontrib-chapeldomain
Skipping installation of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/site-packages/sphinxcontrib/__init__.py (namespace package)
Installing /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/lib/python2.7/site-packages/sphinxcontrib_chapeldomain-0.0.14-py2.7-nspkg.pth
Running setup.py install for docutils
changing mode of build/scripts-2.7/rst2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2s5.py from 644 to 755
changing mode of build/scripts-2.7/rst2latex.py from 644 to 755
changing mode of build/scripts-2.7/rst2xetex.py from 644 to 755
changing mode of build/scripts-2.7/rst2man.py from 644 to 755
changing mode of build/scripts-2.7/rst2xml.py from 644 to 755
changing mode of build/scripts-2.7/rst2pseudoxml.py from 644 to 755
changing mode of build/scripts-2.7/rstpep2html.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt.py from 644 to 755
changing mode of build/scripts-2.7/rst2odt_prepstyles.py from 644 to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2html.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2latex.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2man.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt_prepstyles.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2pseudoxml.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2s5.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xetex.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xml.py to 755
changing mode of /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rstpep2html.py to 755
Running setup.py install for MarkupSafe
building 'markupsafe._speedups' extension
gcc -fno-strict-aliasing -I/Users/buddha/miniconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/buddha/miniconda2/include/python2.7 -c markupsafe/_speedups.c -o build/temp.macosx-10.5-x86_64-2.7/markupsafe/_speedups.o
gcc -bundle -undefined dynamic_lookup -L/Users/buddha/miniconda2/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/markupsafe/_speedups.o -L/Users/buddha/miniconda2/lib -o build/lib.macosx-10.5-x86_64-2.7/markupsafe/_speedups.so
Successfully installed Jinja2-2.8 MarkupSafe-0.23 Pygments-2.2.0 Sphinx-1.3.3 alabaster-0.7.10 argparse-1.3.0 babel-2.5.0 docutils-0.12 pytz-2017.2 six-1.10.0 snowballstemmer-1.2.1 sphinx-rtd-theme-0.1.9 sphinxcontrib-chapeldomain-0.0.14
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/easy_install relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/easy_install-2.7 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip2 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pip2.7 relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pybabel relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/pygmentize relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2html.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2latex.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2man.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2odt_prepstyles.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2pseudoxml.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2s5.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xetex.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rst2xml.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/rstpep2html.py relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-apidoc relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-autogen relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-build relative
Making script /Users/buddha/github/chapel/third-party/chpl-venv/install/darwin/py2.7/chpl-virtualenv/bin/sphinx-quickstart relative
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[1]: Nothing to be done for `chpldoc'.
cd man && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[2]: Nothing to be done for `chpldoc'.
macbuddha:chapel buddha$
macbuddha:chapel buddha$
macbuddha:chapel buddha$ conda upgrade python
/Users/buddha/miniconda2/lib/python2.7/site-packages/cffi/model.py:532: UserWarning: 'point_conversion_form_t' has no values explicitly defined; guessing that it is equivalent to 'unsigned int'
% self._get_c_name())
Fetching package metadata .......
Solving package specifications: ..........
Package plan for installation in environment /Users/buddha/miniconda2:
The following packages will be downloaded:
package | build
---------------------------|-----------------
openssl-1.0.2l | 0 3.0 MB
asn1crypto-0.22.0 | py27_0 145 KB
pyparsing-2.2.0 | py27_0 93 KB
packaging-16.8 | py27_0 29 KB
cryptography-1.8.1 | py27_0 468 KB
pyopenssl-17.0.0 | py27_0 73 KB
conda-4.3.25 | py27_0 495 KB
------------------------------------------------------------
Total: 4.3 MB
The following NEW packages will be INSTALLED:
asn1crypto: 0.22.0-py27_0
packaging: 16.8-py27_0
pyparsing: 2.2.0-py27_0
The following packages will be UPDATED:
conda: 4.2.13-py27_0 --> 4.3.25-py27_0
cryptography: 0.5.4-py27_0 --> 1.8.1-py27_0
openssl: 1.0.1k-1 --> 1.0.2l-0
pyopenssl: 0.15.1-py27_2 --> 17.0.0-py27_0
python: 2.7.9-1 --> 2.7.13-0
Proceed ([y]/n)? y
Fetching packages ...
openssl-1.0.2l 100% |######################################################################################################| Time: 0:00:00 11.05 MB/s
asn1crypto-0.2 100% |######################################################################################################| Time: 0:00:00 721.28 kB/s
pyparsing-2.2. 100% |######################################################################################################| Time: 0:00:00 2.23 MB/s
packaging-16.8 100% |######################################################################################################| Time: 0:00:00 1.43 MB/s
cryptography-1 100% |######################################################################################################| Time: 0:00:00 917.94 kB/s
pyopenssl-17.0 100% |######################################################################################################| Time: 0:00:00 1.67 MB/s
conda-4.3.25-p 100% |######################################################################################################| Time: 0:00:00 5.14 MB/s
Extracting packages ...
[ COMPLETE ]|#########################################################################################################################| 100%
Unlinking packages ...
[ COMPLETE ]|#########################################################################################################################| 100%
Linking packages ...
[ COMPLETE ]|#########################################################################################################################| 100%
macbuddha:chapel buddha$ python --version
Python 2.7.13 :: Continuum Analytics, Inc.
macbuddha:chapel buddha$ ls
ACKNOWLEDGEMENTS.md LICENSE PERFORMANCE.md bin configured-prefix make test
CHANGES.md LICENSE.chapel README.devel build doc man third-party
CONTRIBUTORS.md LICENSE.devel README.files chplconfig examples modules tools
COPYRIGHT Makefile README.rst compiler highlight runtime util
GOALS.md Makefile.devel STATUS.devel configure lib spec
macbuddha:chapel buddha$ make chpldoc
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/buddha/github/chapel/third-party/llvm none
make[2]: Nothing to be done for `none'.
***** adt/ *****
***** AST/ *****
***** backend/ *****
***** codegen/ *****
***** ifa/ *****
***** ipe/ *****
***** main/ *****
***** optimizations/ *****
***** parser/ *****
***** passes/ *****
***** resolution/ *****
***** util/ *****
***** ./ *****
make[1]: Nothing to be done for `chpldoc-venv'.
cd compiler && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[1]: Nothing to be done for `chpldoc'.
cd man && /Applications/Xcode.app/Contents/Developer/usr/bin/make chpldoc
make[2]: Nothing to be done for `chpldoc'.
Now compiles under
python --version
Python 2.7.10
I had to remove this line from my .bash_profile to avoid miniconda
# added by Miniconda2 4.3.14 installer
export PATH="/Users/buddha/miniconda2/bin:$PATH
However, I get an error running it, which should be a new ticket.
Most helpful comment
Blame Bruce for this one: