Install_deps.sh is interrupted because OSL failed to build

Hi.
On Kubuntu 20.04.
Here the output when “./install_deps.sh --with-all”

Forced OpenShadingLanguage building, as requested…

Building OpenShadingLanguage-1.10.9
Ensuring /opt/lib exists and is writable by us
– The CXX compiler identification is GNU 9.2.1
– The C compiler identification is GNU 9.2.1
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Building OSL 1.10.9
– CMake version is 3.16.3
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_policy):
The OLD behavior for policy CMP0046 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

– Project build dir = /home/yafu/src/blender-deps/OpenShadingLanguage-1.10.9/build
– Project install dir = /opt/lib/osl-1.10.9
– platform = linux64
– CMAKE_CXX_COMPILER is /usr/bin/c++
– CMAKE_CXX_COMPILER_ID is GNU
– Building for C++11
– Compiling with SIMD level sse2
– Setting Namespace to: OSL_v1_10
– Using OpenImageIO 1.8.13
– LLVM version = 6.0.1
– Using Boost Wave for preprocessing
– No Qt5 – skipping components that need Qt5.
– Found BISON: /usr/bin/bison (found version “3.5.1”)
– Found FLEX: /usr/bin/flex (found version “2.6.4”)
– Create oslversion.h from oslversion.h.in
– All docdeep docs = /home/yafu/src/blender-deps/OpenShadingLanguage-1.10.9/build/src/doc/OSLQuery.md.html;/home/yafu/src/blender-deps/OpenShadingLanguage-1.10.9/build/src/doc/docdeep.md.html
– Configuring done
– Generating done
– Build files have been written to: /home/yafu/src/blender-deps/OpenShadingLanguage-1.10.9/build
[ 4%] Generating osllex.cpp
[ 4%] Generating osllex.cpp
Scanning dependencies of target generated_docs
Scanning dependencies of target CopyFiles
[ 5%] Generating osogram.cpp
[ 4%] Generating osolex.cpp
[ 4%] Generating oslgram.cpp
Scanning dependencies of target oslnoise
[ 7%] docdeep OSLQuery
[ 8%] Generating testsuite/runtest.py
/bin/sh: 1: python: not found
make[2]: *** [src/doc/CMakeFiles/generated_docs.dir/build.make:60: src/doc/OSLQuery.md.html] Error 127
make[2]: *** Deleting file ‘src/doc/OSLQuery.md.html’
make[1]: *** [CMakeFiles/Makefile2:480: src/doc/CMakeFiles/generated_docs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

I’m not sure about “python: not found” message. Just in case:

$ whereis python
python: /usr/bin/python3.8-config /usr/bin/python3.7m-config /usr/bin/python2.7-config /usr/bin/python3.8 /usr/bin/python3.7 /usr/bin/python2.7 /usr/bin/python3.7m /usr/bin/python3.7-config /usr/lib/python3.8 /usr/lib/python3.6 /usr/lib/python3.7 /usr/lib/python2.7 /etc/python3.8 /etc/python3.6 /etc/python3.7 /etc/python2.7 /usr/local/lib/python3.8 /usr/local/lib/python3.7 /usr/local/lib/python2.7 /usr/include/python3.8 /usr/include/python3.7 /usr/include/python2.7 /usr/include/python3.7m /usr/share/python