Package Details: unreal-engine 5.4.1-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 (Neko-san)
Last Packager: Neko-san
Votes: 73
Popularity: 0.051474
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-05-05 08:52 (UTC)

Required by (1)

Sources (5)

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 .. 61 62 63 64 65 66 67 68 69 70 71 .. 79 Next › Last »

dariost commented on 2017-07-18 20:06 (UTC)

Cannot build 4.16.2-2, gives this error: patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs Hunk #1 succeeded at 395 (offset 8 lines). patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealLightmass/Private/LightmassCore/Misc/LMStats.h patching file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs Hunk #1 FAILED at 404. Hunk #2 FAILED at 593. 2 out of 2 hunks FAILED -- saving rejects to file /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs.rej /home/dariost/unreal-engine/src/UnrealEngine/Engine/Source/Programs/UnrealBuildTool/Linux/LinuxToolChain.cs.rej contains: --- LinuxToolChain.cs.orig 2017-07-17 14:53:24.847599080 -0400 +++ LinuxToolChain.cs 2017-07-17 14:53:33.137529047 -0400 @@ -404,6 +404,8 @@ Result += " -Wno-invalid-offsetof"; // we use this feature to allow static FNames. Result += " -Wno-gnu-string-literal-operator-template"; + // disable PIE which is on by default in Arch since July 2017 + Result += " -fno-pie"; if (CompileEnvironment.bEnableShadowVariableWarnings) { @@ -593,6 +595,9 @@ Result += string.Format(" -Wl,--unresolved-symbols=ignore-in-shared-libs"); } + // disable PIE which is on by default in Arch since July 2017 + Result += " -nopie"; + // RPATH for third party libs Result += " -Wl,-rpath=${ORIGIN}"; Result += " -Wl,-rpath-link=${ORIGIN}";

acerix commented on 2017-07-17 16:58 (UTC) (edited on 2017-07-17 19:07 (UTC) by acerix)

It turns out hardening-wrapper is now deprecated because the clang package in Arch has been modified to use SSP and PIE by default. https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/llvm&id=1d5568f96e56efb2186b3ae081488e1e5a509397 https://www.reddit.com/r/archlinux/comments/6n5tkp/arch_now_enables_pie_and_ssp_by_default_in_gcc/ I don't know what changes the engine needs for it to compile with PIE, so I added "no-pie" flags to the compile/linker which got it building.

kro007 commented on 2017-07-17 07:23 (UTC)

@zerophase hardening-wrapper is not installed on my computer. " Have any more information on your system ? " Arch x64 fully update ... many 32bits lib from multilib repo installed (for steam) what info do you need ?

Kerrex commented on 2017-07-17 07:08 (UTC)

I confirm that hardening-wrapper is uninstalled here

zerophase commented on 2017-07-16 21:56 (UTC)

@acerix I'm getting the issue too, and don't have hardening-wrapper installed.

zerophase commented on 2017-07-16 21:29 (UTC)

I didn't have any issues with that when I compiled 4.16.2. Have any more information on your system? Are you sure you have enough space to compile Unreal? Other than that it looks like it could involves a shared library trying to use a static library. If it's an Arch specific issue it might have something to do with the update to makepkg a few days ago. I'd definitely report the issue to Epic maybe they could provide more help.

kro007 commented on 2017-07-16 18:57 (UTC)

Hello, I have exactly the same error as Kerrex some help is welcome