UPDATE: By some miracle I finally got UE4 v4.26.1 to successfully build in Ubuntu 18.04.
I’ll try my best to convey what I did because I am still not exactly sure what it was that fixed it. I think it might have been the process I followed, so maybe context is key.
**Context**
I noticed during my last build (related to my previous post) the OS was telling me that I was running low on disk space. I checked and I still had 64 GB free. I looked at top and saw that there was ~20 GB of swap being used (I didn't partition a swap space when I setup this system). I guess Ubuntu carves out space on its own. I used gparted to expand my SSD space by another 40 GB. Obviously this required that I reboot, which might have been helpful to release any file locks. I have 32 GB RAM but not all of it was being used during the build (~12 GB used). Michael Sartain asked about RAM a couple of times and I think that was important. When I went to build UE4 the last time, the only makefile that was generated was for UE4Editor. All previous attempts built CrashReportClient, CrashReportClientEditor, ShaderCompileWorker, UnrealLightMass, UnrealFrontEnd, and then UE4Editor (in that order consecutively). I am thinking maybe that by building the UE4Editor on its own, gave me enough free disk space/memory to not get those **clang++: error: clang frontend command failed due to signal (use -v to see invocation)** errors on random modules.
Anyways, here are the simple commands I entered after my long journey in desparation.
from within the root UnrealEngine git folder:
`$ git pull`
`$ git clean -d -fx -i`
`$ ./Setup.sh`
`$ ./GenerateProjectFiles.sh`
`$ make -j$((`nproc`-1))
`$ make ShaderCompileWorder` (this wasn't available when I tried to start UE4Editor)
Good luck to anyone that experiences the temporary suffering this has caused/causing :).