Now I'm getting:
```
patching file /home/moses/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1/__locale
Hunk #1 FAILED at 39 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file /home/moses/.cache/pacaur/unreal-engine/src/UnrealEngine/Engine/Source/ThirdParty/Linux/LibCxx/include/c++/v1/__locale.rej
```
I *think* the hash was wrong because the line endings were "\r\n" on the maintainer's machine, but git changed them to "\n".
Search Criteria
Package Details: unreal-engine 5.4.4-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: | 75 |
Popularity: | 0.23 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-09-04 18:39 (UTC) |
Dependencies (29)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-uutilsAUR, coreutils-hybridAUR, coreutils-selinuxAUR)
- 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-preview-binAUR, dotnet-runtime-binAUR, dotnet-runtime-6.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-preview-binAUR, dotnet-sdk-binAUR, dotnet-sdk-6.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-gssapiAUR, openssh-dotconfigAUR, openssh-dotconfig-binAUR, openssh-selinuxAUR, openssh-hpn-shimAUR) (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 .. 59 60 61 62 63 64 65 66 67 68 69 .. 81 Next › Last »
Majora320 commented on 2017-10-26 03:01 (UTC)
AllanDaemon commented on 2017-10-26 02:27 (UTC) (edited on 2017-10-26 02:31 (UTC) by AllanDaemon)
I can't build the package. Things that I've done:
1. Update the checksum of xlocale-crash.patch in PKGBUILD
2. The xlocale-crash.patch patch was failing. In the function prepare(), the following line fails because the target file seems to be already patched:
patch "$ue4src/ThirdParty/Linux/LibCxx/include/c++/v1/__locale" "$pkgbuild_dir/xlocale-crash.patch"
I don't know if it's because I updating it and it's not a fresh install. But this file seems to be created every time I run `makepkg -so`. Maybe they fixed it in the upstream and the patch isn't needed anymore? I commented this line on PKGBUILD and the command `makepkg -so` finish successfully.
3. Building the code (`makepkg -se`) fails when linking CrashReportClient. A full log after I compiled everything and trying to run make again is here:
https://pastebin.com/THseXvfj
But the most important parts are this:
```
$ makepkg -se
==> Making package: unreal-engine 4.18.0-1 (Thu 26 Oct 00:07:21 -02 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
bash "/home/user/build/unreal-engine/src/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build.
Waiting for 'git status' command to complete
Performing 1 actions (4 in parallel)
[1/1] Link CrashReportClient
/usr/bin/ld: /home/user/build/unreal-engine/src/UnrealEngine/Engine/Source/ThirdParty/zlib/v1.2.8//lib//Linux/x86_64-unknown-linux-gnu/libz.a(compress.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
(repeats a lot of this error on different files)
/usr/bin/ld: final link failed: Nonrepresentable section on output
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
ERROR: UBT ERROR: Failed to produce item: /home/user/build/unreal-engine/src/UnrealEngine/Engine/Binaries/Linux/CrashReportClient
Total build time: 14.07 seconds (Local executor: 0.00 seconds)
make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5
==> ERROR: A failure occurred in build().
Aborting...
```
Majora320 commented on 2017-10-25 21:58 (UTC)
@AllanDaemon @zerophase
I'm getting 6495cfd1b03aef86d0aca15d5389b4d8ee2d745e900a1956391afcbb4a14dafe (same as AllanDaemon)
AllanDaemon commented on 2017-10-25 19:51 (UTC) (edited on 2017-10-25 20:02 (UTC) by AllanDaemon)
@majora420 @zerophase
xlocale-crash.patch doesn't pass verification for me too.
SHA256 of its with the file from the latest commit:
6495cfd1b03aef86d0aca15d5389b4d8ee2d745e900a1956391afcbb4a14dafe
Changing the hash on PKGBUILD fixes and
PS: I tried this and the hash stills the one I wrote.
$ rm xlocale-crash.patch
$ git checkout -- xlocale-crash.patch
blenux commented on 2017-10-25 11:56 (UTC)
Hey all, whats the best drivers to use with a AMD GPU (RX480) for UE4?, everytime I try to compile it and load it, it freezes the desktop and need to restart the whole PC, last time I used a Nvidia GPU and it just worked etc. Thanks.
zerophase commented on 2017-10-25 09:32 (UTC)
@majora420
I'm getting for xlocale-crash.patch: d0fa5f1dd53846e84ce4a698cbdbedf647137c230b20fe1cabe3a3ffe0cf85c4
What do you have?
Majora320 commented on 2017-10-25 06:59 (UTC)
xlocale-crash.patch doesn't pass verification for me.
zerophase commented on 2017-10-25 01:19 (UTC)
I patched the clang library (included with Unreal) so locale is used instead of xlocale in __locale. It fixes the whole xlocale compile errors. But, I don't know if it's going to cause weird crashes. If anyone experiences odd crashes that don't trace back to Unreal let me know.
zerophase commented on 2017-09-18 22:40 (UTC)
Don't know if this applies to anyone else, but Unreal shrinks by about 4 gigs with clang 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:
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.