Package Details: unreal-engine 5.5.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
Last Packager: Neko-san
Votes: 76
Popularity: 0.052791
First Submitted: 2016-05-01 18:37 (UTC)
Last Updated: 2024-11-16 03:10 (UTC)

Required by (1)

Sources (6)

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 .. 14 15 16 17 18 19 20 21 22 23 24 .. 82 Next › Last »

coolitic commented on 2022-11-21 23:36 (UTC) (edited on 2022-11-21 23:46 (UTC) by coolitic)

Similar thing happened: chmod: cannot access '/run/media/username/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/Engine/Binaries/ThirdParty/Mono/Linux/bin/xbuild': No such file or directory

And again, this is a folder path that should not exist and is where all the files are going: /run/media/username/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/run/media/username/SE800/sources/aur/unreal-engine/src/unreal-engine/

Paths are being set incorrectly somewhere. Also, next to the run folder under pkg/unreal-engine/opt/unreal-engine/ is an Engine folder, if that helps.

coolitic commented on 2022-11-21 17:17 (UTC) (edited on 2022-11-21 17:18 (UTC) by coolitic)

One thing that's annoying is that if something fails in package() and you run makepkg again, you have to rebuild everything from scratch (one could just move files back manually, but that's not ideal). Perhaps it would be a good idea to have moving the build files as the last thing that package() does? That way, if anything else fails, we won't lose precious build files and have to recompile.

Neko-san commented on 2022-11-21 08:42 (UTC)

Fixed

kerm commented on 2022-11-21 08:38 (UTC)

Getting the following error:

install: cannot stat 'GenerateProjectFiles.sh': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: unreal-engine

Neko-san commented on 2022-11-20 20:33 (UTC)

@cooltic I did make a slight mistake with something in the .sh bash script but that should(?) be unrelated to the issue you're having

I'm about to update that in a minute, but that script is supposed to be edited towards the end of package() function in the PKGBUILD, so if you're still trying to avoid a rebuild, that's the reason why it's probably not picking out a correct location

coolitic commented on 2022-11-20 20:02 (UTC) (edited on 2022-11-20 20:02 (UTC) by coolitic)

I had another error where it couldn't find one of the .sh files, forgot which one, but I am sure this folder should not exist w/ this structure: /run/media/username/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/run/media/username/SE800/sources/aur/unreal-engine/src/unreal-engine/

Seems like it's incorrectly using an absolute path or something.

fhajji commented on 2022-11-19 22:42 (UTC) (edited on 2022-11-19 22:42 (UTC) by fhajji)

Thank you for your hard work @Neko-san. Currently running Engine/Binaries/Linux/UnrealEditor just fine from the build directory until everything is fixed.

Neko-san commented on 2022-11-19 21:49 (UTC)

Got it; fixed

coolitic commented on 2022-11-19 21:37 (UTC)

Also, the else block on line 127 always gives this error, requiring me to either skip prepare() or reclone the package on any failures:

fatal: invalid refspec 'refs/tags/@{upstream}:refs/tags/@{upstream}'
==> ERROR: A failure occurred in prepare().
    Aborting...

Neko-san commented on 2022-11-19 18:44 (UTC)

Ia always hated that mv behaves that way and I forget that it throws a fit in this exact circumstance every time

I'm pushing a fix for this right now; this time I'm looping for directories and moving them more carefully to avoid that problem