In Blender 3.1 we can't run the source_archive_complete because the
cmake program is trying to download the packages from svn trunk. However
3.2 (aka master) already changed the version of some of the source
packages.
For example the OpenXR-SDK. It should be looking for OpenXR-SDK-1.0.17.tar.gz in:
https://svn.blender.org/svnroot/bf-blender/tags/blender-3.1-release/lib/packages/
But instead it tries to look for it in:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/packages/
Which can't be found since it was replaced with OpenXR-SDK-1.0.22.tar.gz.
---
The current patch is not working because get_blender_version() is
failing when called from here. CMAKE_SOURCE_DIR is wrong in this case.
`CMake Error: File blender/build_files/build_environment/source/blender/blenkernel/BKE_blender_version.h does not exist.`