I have the same problem. Mesa AMDGPU Kernel driver here
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: | 0.43 |
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-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR)
- 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-8.0-binAUR, dotnet-runtime-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-8.0-binAUR, dotnet-sdk-binAUR)
- findutils (findutils-gitAUR, busybox-coreutilsAUR, findutils-selinuxAUR)
- icu63AUR
- lld (llvm-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR, python311AUR, python310AUR)
- sdl2 (sdl2-compat-gitAUR, sdl2-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, openssh-dnatAUR) (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 (codelite-binAUR, codelite-unstableAUR, codeliteAUR, 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-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, fake-ms-fontsAUR, ttf-ms-win10-autoAUR, ttf-ms-win11-autoAUR, ttf-ms-win10-cdnAUR, ttf-ms-win11AUR) (optional) – Font support for "demo/free/sample/example/tutorial" projects
Required by (1)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 63 64 65 66 67 68 69 70 71 72 73 .. 82 Next › Last »
LinuxDonald commented on 2017-07-22 10:10 (UTC)
kro007 commented on 2017-07-18 22:21 (UTC)
Hi,
@acerix Thanks, successfully build.
Unfortunately, it's doesn't run... i get an error
*** Error in `./UE4Editor': free(): invalid pointer: 0x00007f8b456ea560 ***
Looks like it doesn't run on AMDGPU driver.
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.
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.