Problems building dev docker image
I am trying to build the paraview-superbuild development image using ' docker build -t pv-release-egl-py2-devel .' and all goes well until it goes to install pybind11, and throws a nasty traceback as follows:
[ 77%] Install pybind11 for pip
Traceback (most recent call last):
File "/home/pv-user/pvsb/build/superbuild/pybind11/src/setup.py", line 135, in remove_output
yield
File "/home/pv-user/pvsb/build/superbuild/pybind11/src/setup.py", line 150, in <module>
subprocess.check_call(cmd, **cmake_opts)
File "/home/pv-user/pvsb/build/install/lib/python3.9/subprocess.py", line 368, in check_call
retcode = call(*popenargs, **kwargs)
File "/home/pv-user/pvsb/build/install/lib/python3.9/subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "/home/pv-user/pvsb/build/install/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/pv-user/pvsb/build/install/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pv-user/pvsb/build/superbuild/pybind11/src/setup.py", line 155, in <module>
exec(code, {"SDist": SDist})
File "/home/pv-user/pvsb/build/install/lib/python3.9/contextlib.py", line 135, in __exit__
self.gen.throw(type, value, traceback)
File "/home/pv-user/pvsb/build/superbuild/pybind11/src/setup.py", line 138, in remove_output
shutil.rmtree(src)
File "/home/pv-user/pvsb/build/install/lib/python3.9/shutil.py", line 709, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/home/pv-user/pvsb/build/install/lib/python3.9/shutil.py", line 707, in rmtree
orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: 'pybind11/include'
superbuild/CMakeFiles/pybind11.dir/build.make:105: recipe for target 'superbuild/pybind11/stamp/pybind11-pybind11-pip-install' failed
make[2]: *** [superbuild/pybind11/stamp/pybind11-pybind11-pip-install] Error 1
make[1]: *** [superbuild/CMakeFiles/pybind11.dir/all] Error 2
CMakeFiles/Makefile2:7903: recipe for target 'superbuild/CMakeFiles/pybind11.dir/all' failed
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/bash -c ${CMAKE_EXECUTABLE} --build .' returned a non-zero code: 2
Any thoughts on how to get around this issue? I am trying to build this on our HPC on an existing GPU node. Michael
Edited by Ben Boeckel