Make crashreport client fails on Arch

Trying to build the initial project fails on Arch. Everything builds, but CrashReportClient

The error message I receive is:

Parsing headers for CrashReportClient
  Running UnrealHeaderTool CrashReportClient "/opt/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/CrashReportClient/Development/UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error"
Refusing to run with the root privileges.
Error: Failed to generate code for CrashReportClient - error code: CrashOrAssert (3)
UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /opt/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/CrashReportClient/Development/UnrealHeaderTool.manifest).
Makefile:263: recipe for target 'CrashReportClient' failed
make: *** [CrashReportClient] Error 3

Hey -

It appears that the issue you’re having is due to trying to install the editor under root privileges. If you install under a different user profile with necessary privileges. You can check this post for more information on using root privileges: Code cannot be executed with root privileges under Linux. Why? - Platform & Builds - Epic Developer Community Forums


Alright, so I just need to let my user run make without root privileges?

Rather than just running make I would suggest that you install the entire engine using a different profile. As mentioned in the post I linked, if you need to use root then you can edit the Engine\Source\Runtime\Core\Private\Linux\LinuxPlatformMemory.cpp file and recompile.