Package Details: unreal-engine 5.4.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 (Neko-san)
Last Packager: Neko-san
Votes: 73
Popularity: 0.077389
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-04-24 02:23 (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 .. 56 57 58 59 60 61 62 63 64 65 66 .. 79 Next › Last »

zerophase commented on 2017-10-26 18:00 (UTC)

@xDShot makepkg doesn't support shallow clones. If they put that feature in the package would be able to do the shallow clones.

libgradev commented on 2017-10-26 16:34 (UTC)

@zerophase Still failing on the sha256 (xlocale-crash.patch) here - cleaned pacaur cache.

xDShot commented on 2017-10-26 08:32 (UTC) (edited on 2017-10-26 08:38 (UTC) by xDShot)

@zerophase Is there a way to download sources on certain commit instead of cloning WHOLE repo with deep history? I tried to clone with depth=1 before processing makepkg as makepkg clones all commits.

zerophase commented on 2017-10-26 06:24 (UTC)

@xDShot delete the repo and redownload it. Looks like you have a shallow clone somehow.

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".