I’ve clone source from github after ./Setup.sh, ./GenerateProjectFiles.sh and when ‘make’ it error:
$ make
bash "/d/git/UnrealEngine"/Engine/Build/BatchFiles/Linux/Build.sh CrashReportClient Linux Shipping
Building CrashReportClient...
Using clang version '3.5.2' (string), 3 (major), 5 (minor), 2 (patch)
Creating makefile for CrashReportClient (no existing makefile)
Performing full C++ include scan (no include cache file)
Building UnrealHeaderTool...
Using clang version '3.5.2' (string), 3 (major), 5 (minor), 2 (patch)
Creating makefile for UnrealHeaderTool (no existing makefile)
Performing 22 actions (4 in parallel)
[2/22] Compile Module.Json.cpp
[3/22] Compile Module.Projects.cpp
[4/22] Compile Module.CoreUObject.2_of_5.cpp
[1/22] Compile CorePrivatePCH.h
[5/22] Compile Module.Core.8_of_8.cpp
[6/22] Compile Module.Core.7_of_8.cpp
[7/22] Compile Module.Core.6_of_8.cpp
[8/22] Compile Module.Core.5_of_8.cpp
[9/22] Compile Module.Core.4_of_8.cpp
[10/22] Compile Module.Core.3_of_8.cpp
[11/22] Compile Module.Core.2_of_8.cpp
[12/22] Compile Module.Core.1_of_8.cpp
[13/22] Compile Module.CoreUObject.1_of_5.cpp
[14/22] Compile Module.CoreUObject.4_of_5.cpp
[15/22] Compile Module.CoreUObject.5_of_5.cpp
[16/22] Compile Module.CoreUObject.3_of_5.cpp
[17/22] Link libUnrealHeaderTool-Core.so
[18/22] Compile Module.UnrealHeaderTool.cpp
[19/22] Link libUnrealHeaderTool-Json.so
[20/22] Link libUnrealHeaderTool-Projects.so
[21/22] Link libUnrealHeaderTool-CoreUObject.so
[22/22] Link UnrealHeaderTool
Total build time: 100.11 seconds
Parsing headers for CrashReportClient
Running UnrealHeaderTool CrashReportClient "/d/git/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -NoEnginePlugins
Assertion failed: IsValidIndex(Index) [File:Runtime/Core/Public/Containers/UnrealString.h] [Line: 204]
String index out of bounds: Index 1 from a string with a length of 1
Using jemalloc.
LogLinux:Error: appError called: Assertion failed: Assertion failed: IsValidIndex(Index) [File:Runtime/Core/Public/Containers/UnrealString.h] [Line: 204]
String index out of bounds: Index 1 from a string with a length of 1
LogLinux: === Critical error: ===
LogLinux: Assertion failed: Assertion failed: IsValidIndex(Index) [File:Runtime/Core/Public/Containers/UnrealString.h] [Line: 204]
String index out of bounds: Index 1 from a string with a length of 1
LogGenericPlatformMisc: FPlatformMisc::RequestExit(1)
Error: Failed to generate code for CrashReportClient - error code: CrashOrAssert (3)
UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /d/git/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest).
make: *** [Makefile:257: CrashReportClient-Linux-Shipping] Error 3
I use Arch linux, Unreal sourcecode version 4.13 (from branch ‘release’)