Error with packaging for Linux on Windows.

Hi, I’m running UE 5.1 source and trying to package for dedicated linux server. I installed the toolchain from here Linux Development Requirements for Unreal Engine | Unreal Engine 5.1 Documentation and compiled both the engine and project. However, I’m getting a build error:

#84 0x00007ffd5ba2a9f8 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5a9f8)
clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 13.0.1 (GitHub - llvm/llvm-project: The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org. 75e33f71c2dae584b13a7d1186ae0a038ba98838)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: C:\UnrealToolchains\v20_clang-13.0.1-centos7\x86_64-unknown-linux-gnu\bin
clang++: note: diagnostic msg:
**
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\zacha\AppData\Local\Temp\Module-83192f.cpp
clang++: note: diagnostic msg: C:\Users\zacha\AppData\Local\Temp\Module-83192f.sh
clang++: note: diagnostic msg:
**
[614/615] WriteMetadata VandaBayServer.target cancelled
[615/615] Link (lld) VandaBayServer cancelled
CompilationResultException: Error: OtherCompilationError
at UnrealBuildTool.ActionGraph.ExecuteActions(BuildConfiguration BuildConfiguration, List1 ActionsToExecute, List1 TargetDescriptors, ILogger Logger) in U:\Vanda Bay UE5.1.1\UE_5.1 Source\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 387
at UnrealBuildTool.BuildMode.Build(TargetMakefile[] Makefiles, List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger) in U:\Vanda Bay UE5.1.1\UE_5.1 Source\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 628
at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments, ILogger Logger) in U:\Vanda Bay UE5.1.1\UE_5.1 Source\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 242
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in U:\Vanda Bay UE5.1.1\UE_5.1 Source\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 648
WriteFileIfChanged() wrote 0 changed files of 2630 requested writes.

Any help would be greatly appreciated!