Error: Failed to build UnrealBuildTool in Manjaro (Unreal Engine 5.0.2)

I’m using it right now.

You may need to adapt the commands, like modifying $BASE_PATH to the correct path pointing to .csproj.

You just need to build the project, then CMake will do the rest when you tell it to make.