I have this compilation error (for UE4 and 5):
****** [3/10] Compile UE4Editor Linux
Reading local file list from /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Saved/BuildGraph/Compile UnrealHeaderTool Linux/Tag-Compile UnrealHeaderTool Linux.xml
Reading local file list from /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Saved/BuildGraph/Update Version Files/Tag-Update Version Files.xml
Reading shared manifest from /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Saved/BuildGraph/Compile UnrealHeaderTool Linux/Manifest.xml
Running: mono "/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Binaries/DotNET/UnrealBuildTool.exe" UE4Editor Linux DebugGame -NoUBTMakefiles -nobuilduht -precompile -allmodules -Manifest=/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Intermediate/Build/Manifest.xml -NoHotReload -log="/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Editor-Linux-DebugGame.txt"
Using 'git status' to determine working set for adaptive non-unity build (/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine).
Parsing headers for UE4Editor
Running UnrealHeaderTool UE4Editor "/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/DebugGame/UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UHT-UE4Editor-Linux-DebugGame.txt"
Took 5,047105s to run mono, ExitCode=3
UnrealBuildTool failed. See log for more details. (/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Editor-Linux-DebugGame.txt)
AutomationTool exiting with ExitCode=3 (Error_UnknownCommand)
RunUAT ERROR: AutomationTool was unable to run successfully.
What am I doing wrong?
Pinned Comments
Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the
777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)
Will update to 5.0 when it is released.