Errors trying to build opencv4.2 on ubuntu20.04

try to add:

-D BUILD_opencv_vtk=OFF
-D WITH_VTK=OFF

if you can live without the vtk module
(which seems to have faulty dependencies on your system)