Package Details: unreal-engine 5.5.0-0

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
Last Packager: Neko-san
Votes: 76
Popularity: 0.32
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-11-16 03:10 (UTC)

Dependencies (29)

Required by (1)

Sources (6)

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:

sudo groupadd unrealengine-users
sudo usermod -aG unrealengine-users (your-username)
sudo chown -R root:unrealengine-users /opt/unreal-engine
sudo chmod -R 775 /opt/unreal-engine

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.

Latest Comments

« First ‹ Previous 1 .. 68 69 70 71 72 73 74 75 76 77 78 .. 82 Next › Last »

labotsirc commented on 2016-12-31 21:46 (UTC) (edited on 2016-12-31 21:52 (UTC) by labotsirc)

@zerophase ok i will try. No i haven't changed PKGBUILD either. By the way, i had the same problem when cloning the repo directly from github.

zerophase commented on 2016-12-31 21:42 (UTC) (edited on 2016-12-31 21:44 (UTC) by zerophase)

@labtsirc Clang 3.9.1 works for me. Are you editing the PKGBUILD at all? I have noticed the package always fails the first time for me, and on running makepkg -sri a second time it compiles successfully. try changing make to make -j1, and see if that does anything. I believe that should overwrite your makepkg config for how many cores to use.

labotsirc commented on 2016-12-31 21:40 (UTC) (edited on 2016-12-31 21:45 (UTC) by labotsirc)

@zerophase No i just have the default Arch package. Downgrading to clang35 should work as it does not complain about unused return values.

zerophase commented on 2016-12-31 21:28 (UTC)

@labotsirc Nope, I don't get anything like that while compiling. I think I might have gotten a few warnings in the past, but everything still ran. Did you customize Clang away from the Arch defaults?

labotsirc commented on 2016-12-31 18:34 (UTC)

@zerophase I did what you suggested but I get the same error. I clearly see a compilation error: LinuxPlatformMisc.cpp:106:3: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] fscanf(SysFsFile, "%d", &SystemLineSize); I have installed UE4 in the past, but I have always had to fix those compilations errors by hand, editing each source file. Is veryone also forced to do this in order to compile?

zerophase commented on 2016-12-29 02:48 (UTC)

@cirk2 I can add git in as a makedepend. That package change is fine to add, without bumping up the release number? I just don't want to make everyone who has successfully installed get notifications about an updated version over this, considering the time it takes to install.

cirk2 commented on 2016-12-28 04:50 (UTC)

Just a thing I noticed whil trying to build it in a chroot: Git is a makedepend, but currently not listed.

zerophase commented on 2016-12-25 17:07 (UTC)

@labotsirc you're running out of memory. Download with curl and install with makepkg.

labotsirc commented on 2016-12-25 04:32 (UTC)

@zerophase, I keep getting this error when yaourt tries to compile after downloading all the sources. Its possible to fix it by editing the source files and capturing the output result of those functions into variables, but i dont think that is how we are supposed to install it, what i am missing? ==> Starting build()... bash "/home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping Building CrashReportClient... Using clang version '3.9.0' (string), 3 (major), 9 (minor), 0 (patch) Creating makefile for CrashReportClient (no existing makefile) Performing full C++ include scan (no include cache file) Building UnrealHeaderTool... Using clang version '3.9.0' (string), 3 (major), 9 (minor), 0 (patch) Creating makefile for UnrealHeaderTool (no existing makefile) Performing full C++ include scan (no include cache file) Using bundled libc++ standard C++ library. Performing 21 actions (5 in parallel) [1/21] Compile CorePrivatePCH.h [2/21] Compile Module.Json.cpp [3/21] Compile Module.Projects.cpp [4/21] Compile Module.CoreUObject.5_of_5.cpp [5/21] Compile Module.CoreUObject.4_of_5.cpp [6/21] Compile Module.Core.6_of_7.cpp [7/21] Compile Module.Core.5_of_7.cpp [8/21] Compile Module.Core.4_of_7.cpp [9/21] Compile Module.Core.3_of_7.cpp In file included from /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_7.cpp:15: /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformMisc.cpp:106:3: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] fscanf(SysFsFile, "%d", &SystemLineSize); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_7.cpp:17: /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1141:2: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] getcwd(CurrentDir, sizeof(CurrentDir)); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1395:2: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] fscanf(FilePtr, "%d %s %c %d", &DummyNumber, Buf, &DummyChar, &ParentPID); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. [10/21] Compile Module.Core.2_of_7.cpp [11/21] Compile Module.Core.1_of_7.cpp [12/21] Compile Module.Core.7_of_7.cpp [13/21] Compile Module.CoreUObject.1_of_5.cpp [14/21] Compile Module.CoreUObject.2_of_5.cpp [15/21] Compile Module.CoreUObject.3_of_5.cpp [16/21] Compile Module.UnrealHeaderTool.cpp ERROR: UBT ERROR: Failed to produce item: /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so Total build time: 88.99 seconds Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/cristobal/.yaourt-tmp/yaourt-tmp-cristobal/aur-unreal-engine/src/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)). make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build unreal-engine. ==> Restart building unreal-engine ? [y/N] ==> --------------------------------------

zerophase commented on 2016-12-14 21:58 (UTC)

@suzumiya Are you trying to build the engine in ram? How much ram and swap space do you have? You might be running out of memory. I have 32 gigs, and don't have enough to build with yaourt. Try downloading the package, and build on disk with mskepkg -Sri.