@xDShot delete the repo and redownload it. Looks like you have a shallow clone somehow.
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 |
Last Packager: | Neko-san |
Votes: | 76 |
Popularity: | 0.050622 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
Dependencies (29)
- coreutils (coreutils-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-uutils-symlinkAUR)
- 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, findutils-selinuxAUR)
- icu63AUR (icu-shimAUR)
- lld (llvm-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- python (python37AUR, python311AUR, python310AUR)
- sdl2AUR (sdl2-compat-gitAUR, sdl2-gitAUR, sdl2-compat)
- steam
- vulkan-icd-loader (vulkan-icd-loader-gitAUR)
- xdg-user-dirs
- git (git-gitAUR, git-glAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR) (make)
- grep (grep-gitAUR, grep-compatAUR) (make)
- openssh (openssh-gitAUR, openssh-dnatAUR, openssh-gssapiAUR, openssh-hpn-shimAUR, openssh-selinuxAUR) (make)
- sed (sed-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- clionAUR (optional) – IDE for projects
- cmake (cmake-gitAUR, cmake3AUR) (optional) – build system for projects
- codeliteAUR (codeliteAUR, codelite-unstableAUR, codelite-gitAUR, codelite-binAUR) (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-prereleaseAUR, qtcreator-patchesAUR) (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 .. 59 60 61 62 63 64 65 66 67 68 69 .. 82 Next › Last »
zerophase commented on 2017-10-26 06:24 (UTC)
xDShot commented on 2017-10-26 04:55 (UTC)
==> Making package: unreal-engine 4.18.0-1 (Thu Oct 26 07:56:36 MSK 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating UnrealEngine git repo...
Fetching origin
-> Found UE4Editor.desktop
-> Found ignore-return-value-error.patch
-> Found disable-pie.patch
-> Found only-generate-makefile.patch
-> Found xlocale-crash.patch
==> Validating source files with sha256sums...
UnrealEngine ... Skipped
UE4Editor.desktop ... Passed
ignore-return-value-error.patch ... Passed
disable-pie.patch ... Passed
only-generate-makefile.patch ... Passed
xlocale-crash.patch ... Passed
==> Extracting sources...
-> Creating working copy of UnrealEngine git repo...
warning: no common commits
remote: Counting objects: 78603, done.
remote: Compressing objects: 100% (59726/59726), done.
remote: Total 78603 (delta 16903), reused 78603 (delta 16903)
Receiving objects: 100% (78603/78603), 159.53 MiB | 17.83 MiB/s, done.
Resolving deltas: 100% (16903/16903), done.
error: Could not read 9f6ccf492f73aa0fa7baef630f3fcf2c5524febd
warning: reject refs/tags/4.18.0-release because shallow roots are not allowed to be updated
warning: no common commits
fatal: BUG: prepare_tempfile_object called for active object
==> ERROR: Failure while updating working copy of UnrealEngine git repo
Aborting...
How to fix?
zerophase commented on 2017-10-26 03:56 (UTC)
It should be working now.
zerophase commented on 2017-10-26 03:31 (UTC)
Ok, I think I know the issue. It's the __locale patch had the line endings changed when committed to git.
Majora320 commented on 2017-10-26 03:21 (UTC)
@zerophase I tried deleting everything, cloning from here, and running `makepkg -sri` and got the same error.
zerophase commented on 2017-10-26 03:13 (UTC)
@Majora320 try clearing the pacaur cache.
Majora320 commented on 2017-10-26 03:01 (UTC)
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".
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)
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.