UnrealEngine 4.26 fails to compile on Ubuntu 18.04

I’m trying to install the latest release UE4.26 on Ubuntu 18.04.5LTS.
Setup.sh and GenerateProjectFiles.sh seem to run fine.
The failure comes at the very beginning of the make.

jon@sita:~/Games/Epic/UnrealEngine$ make
bash "/home/jon/Games/Epic/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping  
Fixing inconsistent case in filenames.
Setting up Mono
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe CrashReportClient Linux Shipping
Using 'git status' to determine working set for adaptive non-unity build (/home/jon/Games/Epic/UnrealEngine).
Creating makefile for CrashReportClient (no existing makefile)
Waiting for 'git status' command to complete
Terminating git child process due to timeout
Parsing headers for CrashReportClient
  Running UnrealHeaderTool CrashReportClient "/home/jon/Games/Epic/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/jon/Games/Epic/UnrealEngine/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
Makefile:327: recipe for target 'CrashReportClient-Linux-Shipping' failed
make: *** [CrashReportClient-Linux-Shipping] Error 3

I’ve seen some posts on the forums with similar errors due to permissions. But in my case the directory is owned and read/writeable by the user jon.

Any help would be greatly appreciated :slight_smile: Thanks

I came across the same error while trying to compile UE 4.27. Both ./Setup.sh and ./GenerateProjectFiles.sh ran successfully. Yet while compiling with make parallelly (as well without -j3), I came across:

$ make
bash "/home/zenny/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Fixing inconsistent case in filenames.
Setting up Mono
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe CrashReportClient Linux Shipping
Using 'git status' to determine working set for adaptive non-unity build (/home/zenny/Downloads/UnrealEngine).
Creating makefile for CrashReportClient (no existing makefile)
Creating makefile for UnrealHeaderTool (no existing makefile)
Waiting for 'git status' command to complete
Terminating git child process due to timeout
------- Build details --------
Using toolchain located at '/home/zenny/Downloads/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu'.
Using clang (/home/zenny/Downloads/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version '11.0.1' (string), 11 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /home/zenny/Downloads/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v19_clang-11.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink  circularly dependent libraries (no FixDeps).
------------------------------
Parsing headers for CrashReportClient
  Running UnrealHeaderTool CrashReportClient "/home/zenny/Downloads/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/zenny/Downloads/UnrealEngine/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
make: *** [Makefile:387: CrashReportClient-Linux-Shipping] Error 3

Commented all CrashReportClient in Makefile and rerun make, but came across ShaderCompileWorker issue:

$ make
bash "/home/zenny/Downloads/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" ShaderCompileWorker Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe ShaderCompileWorker Linux Development
Using 'git status' to determine working set for adaptive non-unity build (/home/zenny/Downloads/UnrealEngine).
Creating makefile for ShaderCompileWorker (no existing makefile)
Waiting for 'git status' command to complete
Parsing headers for ShaderCompileWorker
  Running UnrealHeaderTool ShaderCompileWorker "/home/zenny/Downloads/UnrealEngine/Engine/Intermediate/Build/Linux/B4D82
0EA/ShaderCompileWorker/Development/ShaderCompileWorker.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/x
tbmr/HOMEPOOL/HOME/VOIDHOME.BAK/zenny/Downloads/UnrealEngine/Engine/Programs/UnrealBuildTool/Log_UHT.txt"
make: *** [Makefile:934: ShaderCompileWorker] Error 3

BTW, I am on VoidLinux running release running in kernel v 5.4.144. Thanks!