CMake error while build paraview from source on Windows

I am trying to build ParaView from source on windows with catalyst.
ParaView Version : 5.13.0

set catalyst_DIR=C:\Tools\Catalyst\master
cmake --fresh -G Ninja "C:\Tools\Paraview\src" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="C:\Tools\Paraview\pv_master_microsoftMPI" -DPARAVIEW_USE_QT=OFF -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DPARAVIEW_USE_FORTRAN=OFF -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DPARAVIEW_BUILD_SHARED_LIBS=OFF -DPARAVIEW_ENABLE_CATALYST=ON -DVTK_SMP_IMPLEMENTATION_TYPE=STDThread 2>&1 | tee cmake_log.txt

I am using ninja to compile this

I get the following cmake error :

CMake Error: Unable to read from file '../../../../../Praview/build/bin/Lib/site-packages/vtkmodules/vtkIOImage.py': Can't FindFirstFileW
CMake Error: Problem creating tar: C:/Tools/Paraview/build/lib/site-packages/_vtk.zip

However if I search the file vtkIOImage.py in the build directory, I am able to see it in the path.

I am getting a similar error on building master only that the file its not able to read is different

CMake Error: Unable to read from file 'vtkmodules/vtkFilterSources.py': Can't FindFirstFileW
CMake Error: Problem creating tar: C:/Tools/Paraview/build/lib/site-packages/_vtk.zip

Also to be noted is that in the above error message it reads “Praview”

I suspect this could be fixed with the new functionality I just added: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11872

This MR adds a target that can be depended upon for anything that needs “all” of the Python wrapping to be complete. I suspect the _vtk.zip custom command could use a dependency on this target.

Cc: @dgobbi

That looks to be a path typo on your side (as the build tree lives under it, ParaView itself has no say in its spelling).

Thanks @ben.boeckel
I pulled the latest VTK and tried to compile. I got a similar error

CMake Error: Unable to read from file 'vtkmodules/vtkFilterSources.py': Can't FindFirstFileW
CMake Error: Problem creating tar: C:/Tools/Paraview/build/lib/site-packages/_vtk.zip 

Do I need to set any additional options during ParaView cmake.