I can't install opencv and opencv-contrib

I installed ubuntu 18.04 used jetpack 4.2 on jetson tx2 but Unable to install opencv while installing ubuntu. I tryed install opencv and opencv-contrib using this sh. file (./buildOpenCV.sh) ----> GitHub - zhudaoruyi/buildOpenCVTX2: Build and install OpenCV for the NVIDIA Jetson TX2
this is my console output:
Ubuntu Pastebin

CMakeErrorLog.txt:
https://paste.ubuntu.com/p/BJFHN6SqHn/

Could you check if “/usr/lib/aarch64-linux-gnu/libGL.so” exists or not? Is it a dummy one?