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
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: | 0.44 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 82 Next › Last »
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
@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
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.
Thank you for your hard work @Neko-san. Currently running Engine/Binaries/Linux/UnrealEditor just fine from the build directory until everything is fixed.
Got it; fixed
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...
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
Recompiled, got this:
mv: cannot move 'LocalBuilds/Engine/Linux/FeaturePacks' to '/run/media/milan/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/FeaturePacks': Directory not empty
mv: cannot move 'LocalBuilds/Engine/Linux/Samples' to '/run/media/milan/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/Samples': Directory not empty
mv: cannot move 'LocalBuilds/Engine/Linux/Templates' to '/run/media/milan/SE800/sources/aur/unreal-engine/pkg/unreal-engine/opt/unreal-engine/Templates': Directory not empty
LocalBuilds/Engine/Linux/
used to be generated by the UE build system for containing the compiled binaries...
If it's not there, I don't know what it is we're supposed to be packaging in 5.1, so this is kind of serious (unless you moved the build somewhere)
Try running: find src/unreal-engine -type f -iname 'UnrealEditor'
Whole thing is empty unreal-engine/pkg/unreal-engine/opt/unreal-engine/Engine/
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.