@Neko-san for UE5 I used your PKGBUILD, seems the problem is in something else...So, in your build there is no such error?
Search Criteria
Package Details: unreal-engine 5.5.0-0
Package Actions
Git Clone URL: | https://aur.archlinux.org/unreal-engine.git (read-only, click to copy) |
---|---|
Package Base: | unreal-engine |
Description: | A 3D game engine by Epic Games which can be used non-commercially for free. |
Upstream URL: | https://www.unrealengine.com/ |
Keywords: | 3D engine game ue5 Unreal |
Licenses: | GPL3, custom:UnrealEngine |
Submitter: | acerix |
Maintainer: | Shatur (Neko-san) |
Last Packager: | Neko-san |
Votes: | 76 |
Popularity: | 1.12 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
Dependencies (29)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- dos2unix (dos2unix-gitAUR)
- dotnet-runtime (dotnet-runtime-2.2AUR, dotnet-runtime-3.0AUR, dotnet-runtime-2.1AUR, dotnet-runtime-5.0-binAUR, dotnet-runtime-7.0-binAUR, dotnet-runtime-6.0-binAUR, dotnet-runtime-preview-binAUR, dotnet-runtime-binAUR, dotnet-runtime-8.0-binAUR)
- dotnet-sdk (dotnet-sdk-2.2AUR, dotnet-sdk-2.2-vs2017AUR, dotnet-sdk-3.0AUR, dotnet-sdk-2.1AUR, dotnet-sdk-5.0-binAUR, dotnet-sdk-6.0.110-binAUR, dotnet-sdk-7.0-binAUR, dotnet-sdk-8.0.300-binAUR, dotnet-sdk-6.0-binAUR, dotnet-sdk-preview-binAUR, dotnet-sdk-binAUR, dotnet-sdk-8.0-binAUR)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR)
- icu63AUR
- lld (llvm-rocm-gitAUR, llvm-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR, python311AUR, python310AUR)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR)
- steam
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- xdg-user-dirs
- git (git-gitAUR, git-glAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- grep (grep-gitAUR, busybox-coreutilsAUR, grep-compatAUR) (make)
- openssh (openssh-gitAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR, openssh-gssapiAUR) (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- clionAUR (optional) – IDE for projects
- cmake (cmake-gitAUR) (optional) – build system for projects
- codeliteAUR (codeliteAUR, codelite-unstableAUR, codelite-binAUR, codelite-gitAUR) (optional) – IDE for projects
- fake-ms-fontsAUR (optional) – Font support for "demo/free/sample/example/tutorial" projects
- kdevelop (kdevelop-gitAUR) (optional) – IDE for projects
- pacman-contrib (pacman-contrib-gitAUR) (optional) – for the paccache cleaning hook
- polly (llvm-rocm-gitAUR, llvm-gitAUR) (optional) – for potentially increased performance
- qt5-base (qt5-base-gitAUR, qt5-base-headlessAUR) (optional) – qmake build system for projects
- qtcreator (qtcreator-gitAUR, qtcreator-prereleaseAUR) (optional) – IDE for projects
- ttf-ms-fontsAUR (ttf-win7-fontsAUR, ttf-ms-win8AUR, ttf-ms-win8-arabicAUR, ttf-ms-win8-hebrewAUR, ttf-ms-win8-seaAUR, ttf-ms-win8-indicAUR, ttf-ms-win8-japaneseAUR, ttf-ms-win8-koreanAUR, ttf-ms-win8-zh_cnAUR, ttf-ms-win8-zh_twAUR, ttf-ms-win8-thaiAUR, ttf-ms-win8-otherAUR, ttf-ms-win10AUR, ttf-ms-win10-cdnAUR, fake-ms-fontsAUR, ttf-ms-win10-autoAUR, ttf-ms-win11AUR, ttf-ms-win11-autoAUR) (optional) – Font support for "demo/free/sample/example/tutorial" projects
Required by (1)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 22 23 24 25 26 27 28 29 30 31 32 .. 81 Next › Last »
CtHx commented on 2022-04-29 19:28 (UTC)
Neko-san commented on 2022-04-29 17:59 (UTC)
@CtHx o_o
Use the PKGBUILD I already provided below. There's significant differences between UE4 and 5 and just changing the version at the top is not how that works.
CtHx commented on 2022-04-29 14:07 (UTC) (edited on 2022-04-29 14:26 (UTC) by CtHx)
@Neko-san I did only small modifications (changed to the latest version: 4.27.2 and 5.0.1, for 5x version added DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 in prepare() section). Fixing .SRCINFO didn't solve my problem. For UE5 I have similar errror:
****** [3/10] Compile UnrealEditor 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: /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool UnrealEditor 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-UnrealEditor-Linux-DebugGame.txt"
Log file: /home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UnrealEditor-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 UnrealEditor
Running UnrealHeaderTool UnrealEditor "/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealEditor/DebugGame/UnrealEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UHT-UnrealEditor-Linux-DebugGame.txt"
Took 20.088337s to run UnrealBuildTool, ExitCode=3
UnrealBuildTool failed. See log for more details. (/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UnrealEditor-Linux-DebugGame.txt)
AutomationTool executed for 0h 6m 9s
AutomationTool exiting with ExitCode=3 (Error_UnknownCommand)
RunUAT ERROR: AutomationTool was unable to run successfully. Exited with code: 3
UBT-UnrealEditor-Linux-DebugGame.txt:
...
UnrealHeaderTool needs to run because no generated code directory was found for module CoreUObject
Parsing headers for UnrealEditor
Running UnrealHeaderTool UnrealEditor "/mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealEditor/DebugGame/UnrealEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -abslog="/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UHT-UnrealEditor-Linux-DebugGame.txt"
CompilationResultException: Error: CrashOrAssert
at UnrealBuildTool.ExternalExecution.ExecuteHeaderToolIfNecessary(BuildConfiguration BuildConfiguration, FileReference ProjectFile, TargetMakefile Makefile, String TargetName, ISourceFileWorkingSet WorkingSet) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/System/ExternalExecution.cs:line 1275
at UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, TargetDescriptor TargetDescriptor) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildTarget.cs:line 1773
at UnrealBuildTool.BuildMode.CreateMakefile(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs:line 742
at UnrealBuildTool.BuildMode.Build(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, Boolean bSkipPreBuildTargets) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs:line 267
at UnrealBuildTool.BuildMode.Execute(CommandLineArguments Arguments) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/Modes/BuildMode.cs:line 237
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in /mnt/sdb/xz1/builds/unreal-engine/src/unreal-engine/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.cs:line 593
WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
Neko-san commented on 2022-04-28 16:39 (UTC) (edited on 2022-04-28 17:05 (UTC) by Neko-san)
@CtHx one of the command used for the "running mono" line (one of the dash arguments probably) is considered invalid. Did you modify the PKGBUILD at all?
Also, be sure to delete the hidden .SRCINFO
file if you haven't and generate a new one prior to building: makepkg --printsrcinfo >> .SRCINFO
CtHx commented on 2022-04-28 15:35 (UTC) (edited on 2022-04-28 16:02 (UTC) by CtHx)
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?
ChrisLane commented on 2022-04-22 09:12 (UTC)
5.0.1 was released. Can we get an update please?
william341 commented on 2022-04-17 10:32 (UTC)
@joshtau @Neko-san You can work around the ICU issue by setting DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
.
OdinVex commented on 2022-04-17 10:21 (UTC)
@chovy, 5.0 is a buggy pile, seriously wrecks almost all v4 projects and v5 has issues on its own. Might be best to wait for a 5.1 or 5.2.
Neko-san commented on 2022-04-17 07:25 (UTC) (edited on 2022-04-17 07:27 (UTC) by Neko-san)
@joshtau icu
recently had an update, so this is probably why the script is complaining; I wouldn't personally be able to give an answer for why this particular issue occurs though :/
The only advice I can give for this, until someone finds a more concrete solution or Epic supports the newer versions, is to downgrade and hold the icu package(s) prior to building
joshtau commented on 2022-04-17 07:14 (UTC)
Thanks nekosan, I can compile this manually but using the script throws this error:
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
Not sure why, as icu and friends are installed.
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.