Build of UE4Editor on Ubuntu 18.04 fails

I’ve tried reducing the number of compile jobs now with setting MaxProcessorCount to 4 in Engine/Saved/UnrealBuildTool/BuildConfiguration.xml.
But error occurs again. I’ve tried with 1 processor too, but then the error occurred even earlier. Gonna try with disabled hyperthreading but doubt that’ll change anything since I’ve tried it with 1.