Unable to build Unreal Engine on ubuntu 18.04

I’ve got 24 cores, it is a AMD Ryzen 9 3900XT 12-Core Processor with hypertreading enabled, so I configured BuildConfiguration.xml like this:

<?xml version=“1.0” encoding=“utf-8”?>
<Configuration xmlns=“https://www.unrealengine.com/BuildConfiguration”>
<ParallelExecutor>
<MaxProcessorCount>2</MaxProcessorCount>
</ParallelExecutor>
</Configuration>

But no luck

:/opt/Unreal/UnrealEngine$ make
bash “/opt/Unreal/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 (/opt/Unreal/UnrealEngine).
Creating makefile for CrashReportClient (no existing makefile)
Creating makefile for UnrealHeaderTool (no existing makefile)
------- Build details --------
Using toolchain located at ‘/opt/Unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu’.
Using clang (/opt/Unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++) version ‘10.0.1’ (string), 10 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /opt/Unreal/UnrealEngine/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/llvm-ar
Using fast way to relink circularly dependent libraries (no FixDeps).

Performing 38 actions (24 in parallel)
[6/38] Compile Module.UnrealHeaderTool.cpp
[2/38] Compile PCH.CoreUObject.h
[3/38] Compile Module.TraceLog.cpp
[5/38] Compile SharedPCH.Core.ShadowErrors.h
[1/38] Compile PCH.Core.h
[4/38] Compile BuildSettings.cpp
In file included from /opt/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/TraceLog/Module.TraceLog.cpp:2:
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Runtime/TraceLog/Private/Trace/BlockPool.cpp:3:
In file included from Runtime/TraceLog/Public/Trace/Config.h:5:
In file included from /opt/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/UnrealHeaderTool/Module.UnrealHeaderTool.cpp:2:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Programs/UnrealHeaderTool/Private/BaseParser.cpp:3:
In file included from Programs/UnrealHeaderTool/Private/BaseParser.h:5:
In file included from Runtime/Core/Public/CoreMinimal.h:9:
In file included from Runtime/Core/Public/CoreTypes.h:9:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/SharedPCH.Core.ShadowErrors.h:60:
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Runtime/Core/Public/CoreSharedPCH.h:6:
In file included from Runtime/Core/Public/CoreTypes.h:9:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/CoreUObject/PCH.CoreUObject.h:63:
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Runtime/CoreUObject/Private/CoreUObjectPrivatePCH.h:6:
In file included from Runtime/Core/Public/CoreMinimal.h:9:
In file included from Runtime/Core/Public/CoreTypes.h:9:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/Unreal/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/PCH.Core.h:70:
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Runtime/Core/Private/CorePrivatePCH.h:6:
In file included from Runtime/Core/Public/CoreTypes.h:9:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/Unreal/UnrealEngine/Engine/Source/Runtime/BuildSettings/Private/BuildSettings.cpp:3:
In file included from Runtime/BuildSettings/Public/BuildSettings.h:5:
In file included from Runtime/Core/Public/CoreTypes.h:9:
In file included from Runtime/Core/Public/HAL/Platform.h:139:
In file included from Runtime/Core/Public/Linux/LinuxPlatform.h:9:
In file included from Runtime/Core/Public/Unix/UnixPlatform.h:10:
/usr/include/signal.h:32:10: fatal error: ‘bits/types/sig_atomic_t.h’ file not found
#include <bits/types/sig_atomic_t.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
1 error generated.
1 error generated.
1 error generated.
1 error generated.
1 error generated.
Makefile:322: recipe for target ‘CrashReportClient-Linux-Shipping’ failed
make: *** [CrashReportClient-Linux-Shipping] Error 6

Same error

I have seen people using ubuntu, one of the major linux distributios DistroWatch.com: Put the fun back into computing. Use Linux, BSD.

So, I think that I am missing a dependency that Setup.sh does not satisfy, but I don’t know how to find out wich one