visit: `build_visit` failure on RZ related to `pygments`
build_visit
invocation on the develop branch as of 02/01 morning (after https://github.com/visit-dav/visit/commit/20b72c0a5243fb29b6c3209d8e1616fa4801cfc7):
./build_visit --makeflags -j24 --mesagl --mpich --no-gdal --required --optional --qt6
Cmd line error:
Building VisIt (~50 minutes)
Building VisIt in visit/build . . .
Configuring VisIt . . .
Building VisIt . . . (~50 minutes)
Building the VisIt manuals failed. Continuing
All indications are that VisIt was successfully built.
Packaging VisIt ... (~10 minutes)
VisIt package failed. Giving up
Unable to build or install VisIt. Bailing out.
Error in build process. See build_visit_log for more information. If the error is unclear, please include build_visit_log and contact the VisIt project via https://visit-help.llnl.gov. You may need to compress the build_visit_log using a program like gzip so it will fit within the size limits for attachments.
Log file full path: /usr/workspace/justin/visit_builds/develop-w-tpls/build_visit_log
From the log:
gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
Traceback (most recent call last):
File "/usr/workspace/justin/visit_builds/develop-w-tpls/third_party/python/3.9.18/linux-x86_64_gcc-10.3/bin/sphinx-build", line 5, in <module>
from sphinx.cmd.build import main
File "/usr/workspace/justin/visit_builds/develop-w-tpls/third_party/python/3.9.18/linux-x86_64_gcc-10.3/lib/python3.9/site-packages/sphinx/cmd/build.py", line 20, in <module>
from sphinx.application import Sphinx
File "/usr/workspace/justin/visit_builds/develop-w-tpls/third_party/python/3.9.18/linux-x86_64_gcc-10.3/lib/python3.9/site-packages/sphinx/application.py", line 21, in <module>
from pygments.lexer import Lexer
ModuleNotFoundError: No module named 'pygments'
make[4]: *** [doc/CMakeFiles/manuals.dir/build.make:70: doc/CMakeFiles/manuals] Error 1
make[3]: *** [CMakeFiles/Makefile2:88735: doc/CMakeFiles/manuals.dir/all] Error 2
make[2]: *** [CMakeFiles/Makefile2:88742: doc/CMakeFiles/manuals.dir/rule] Error 2
gmake[1]: *** [Makefile:187: doc/CMakeFiles/manuals.dir/rule] Error 2
CMake Error at /usr/workspace/justin/visit_builds/develop-w-tpls/visit/build/doc/cmake_install.cmake:51 (file):
file INSTALL cannot find
"/usr/workspace/justin/visit_builds/develop-w-tpls/visit/build/resources/help/en_US/manual":
No such file or directory.
Call Stack (most recent call first):
/usr/workspace/justin/visit_builds/develop-w-tpls/visit/build/cmake_install.cmake:2692 (include)
CPack Error: Error when generating package: visit
make: *** [Makefile:71: package] Error 1
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 18 (18 by maintainers)
FYI, I did manage to confirm that installing setuptools 67.8.0 as part of bv_python fixes the installation problems with Pygments, sphinxcontrib-applehelp and sphincontrib-htmlhelp.
we can move wheel there as well. without them both we don’t have a solid setup to install other modules
@biagas
We should install setuptools at the start, right around where we install wheel
https://github.com/visit-dav/visit/blob/17511b9f1974551dfddbc94268b4bf71d9442334/src/tools/dev/scripts/bv_support/bv_python.sh#L1585
I saw a setuptools version 58 in the python site-packages, But that isn’t new enough for Pygments. Pillow’s requirement is newer, 67.8, so I will try that one.
Me too. I thought it was because I had an issue in numpy install and restarted the install in the middle of python world magic.