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

Dependencies (29)

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 .. 12 13 14 15 16 17 18 19 20 21 22 .. 81 Next › Last »

juancarlospaco commented on 2022-11-23 17:13 (UTC)

pkgrel=18 More errors:

==> Starting package()...
--2022-11-23 13:52:30--  https://raw.githubusercontent.com/EliverLara/candy-icons/master/LICENSE
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
Saving to: ‘LICENSE’
LICENSE                                                    100%[========================================================================================================================================>]  34,33K  --.-KB/s    in 0,002s  
2022-11-23 13:52:31 (20,2 MB/s) - ‘LICENSE’ saved [35149/35149]


install: cannot create regular file '/home/juan/code/unreal-engine/pkg/unreal-engine/usr/bin/': Not a directory
==> ERROR: A failure occurred in package(). Aborting...
$

It is after wget'ing the LICENSE.

Neko-san commented on 2022-11-23 10:45 (UTC) (edited on 2022-11-24 09:59 (UTC) by Neko-san)

@juancarlospaco I wrote line 135 differently to prevent that error and reported the logic bug in bash upstream | Edit: it seems it's just how bash handles that line, rather than a bug

That aside,I see that you're having a similar issue as @coolitic with the file path being incorrect... I think I see where the logic is going wrong with it now; I hadn't considered a certain possibility before and I've taken a step to resolve the issue

What was happening was that ${srcdir} was being called twice even though it should not have been at all; this might just be how bash handles loop code, so I re-wrote how it's handled

juancarlospaco commented on 2022-11-22 21:13 (UTC) (edited on 2022-11-22 23:31 (UTC) by juancarlospaco)

pkgrel 17

Also error mv: cannot stat '/home/juan/code/unreal-engine/src/unreal-engine//home/juan/code/unreal-engine/src/unreal-engine/*': No such file or directory.

I am using git and makepkg on bash only, no AUR helpers.

Neko-san commented on 2022-11-22 18:34 (UTC) (edited on 2022-11-22 18:37 (UTC) by Neko-san)

@juancarlospaco What version is line 10 for you? Line 135 is considered valid in bash but I have seen an odd issue like this before, so I need to confirm

juancarlospaco commented on 2022-11-22 18:27 (UTC)

Some errors PKGBUILD: line 135: [: false: integer expression expected., it is the boolean conditional in the if.

Neko-san commented on 2022-11-22 17:38 (UTC) (edited on 2022-11-22 17:40 (UTC) by Neko-san)

${_install_dir} is explicitly defined in the PKGBUILD here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=unreal-engine&id=c866141788f5c52cd32ddfaea3e8f5f5ca57b3ae#n48

As you can clearly see in the package() function later, I never call this variable more than once, nor do I call any absolute path twice in the way you're experiencing. Again, the code's logic is sound; if you don't believe me, either ask someone else who knows bash and/or use https://shellcheck.net

I'm not usually one to adamantly defend my work when criticized, but I know what I do and don't do in the script, so I can't help you with an issue that isn't clearly defined in code. As such, you can try filing an Arch Linux bug (https://bugs.archlinux.org) and find out if it's actually a problem with makepkg, but there's absolutely nothing I can do for you if you can't prove there's a problem in the written logic of this file.

coolitic commented on 2022-11-22 13:10 (UTC) (edited on 2022-11-22 13:11 (UTC) by coolitic)

I can confirm that I personally am not using an AUR helper...

The reason I mentioned ${_install_dir} is because it looks like the script is adding the absolute path twice, and it's always used together w/ ${pkgdir}, which is why I asked if it may have been the culprit.

Neko-san commented on 2022-11-22 05:09 (UTC) (edited on 2022-11-22 05:10 (UTC) by Neko-san)

Once again: /home/joshua/.cache/yay/unreal-engine/src/unreal-engine//home/joshua/.cache/yay/unreal-engine/src/unreal-engine/*

This path does not exist because whatever your system is doing is adding more to than it should to the actual path; furthermore, don't use an AUR helper with this package because they have a history of not working correctly with it for some reason.

Also, to answer your question, there used to be a ccache patch but it was only applicable for UE4; someone from community will have to volunteer to make a new one before I can include it.

kerm commented on 2022-11-22 04:55 (UTC)

Hmm another error...

mv: cannot stat '/home/joshua/.cache/yay/unreal-engine/src/unreal-engine//home/joshua/.cache/yay/unreal-engine/src/unreal-engine/*': No such file or directory

This is becoming quite tedious, is their a way that the built files can be cached... having to re-run the update completely takes hours only to error again

coolitic commented on 2022-11-22 03:09 (UTC)

I am doubtful that there is something wrong w/ my system-configuration regarding that, considering that I have installed other packages in the same aur folder on my external drive that utilize the $pkgdir variable, and they don't seem to have any strange folder layouts under the pkg folder.

But I guess I'll have to look for solutions on my own, all things considered.