Package Details: unreal-engine-4 4.27.2-11

Git Clone URL: https://aur.archlinux.org/unreal-engine-4.git (read-only, click to copy)
Package Base: unreal-engine-4
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 game-engine ue4 unreal
Licenses: custom:UnrealEngine
Submitter: Neko-san
Maintainer: Neko-san
Last Packager: Neko-san
Votes: 3
Popularity: 0.004176
First Submitted: 2022-06-30 18:25 (UTC)
Last Updated: 2023-03-01 02:16 (UTC)

Required by (0)

Sources (5)

Pinned Comments

Neko-san commented on 2022-10-15 20:50 (UTC) (edited on 2022-10-15 20:54 (UTC) by Neko-san)

I updated it to not use the Arch Clang compiler by default; I thought I had this opt-out but I didn't - the reason being that for UE4, there's actually a hard-coded reference to look for a Windows compiler (thanks Epic...) and using the Arch compiler has been the solution on the AUR for UE4 for a long time

That said, if it fails to compile by default now (at least if strictly using makepkg), the fault is entirely on Epic for not properly having the Unreal Build Tool (UBT) not handle the Linux build properly - proper support for this was implemented in UE5, so they should honestly backport that to UE4's codebase

I left a user toggle-able switch in the PKGBUILD if anyone wants to try the Arch Clang compiler patch again, for whatever reason

If anyone manages to figure out how to this otherwise, let me know and I'll add the fix

Latest Comments

1 2 3 Next › Last »

ardishco commented on 2023-05-27 21:50 (UTC)

Alright. Fair enough. I'll try some other methods. Can you use this PKGBUILD to compile Unreal 4.27? Does it return the same error? Since you mentioned it is also not accessible for you either, I would guess that it does not but I wanted to make sure there isn't something I was missing here.

Also, to add onto that: Epic has Tim the asshat Sweeney, he does not care about Linux.

Neko-san commented on 2023-05-24 03:25 (UTC) (edited on 2023-05-24 03:25 (UTC) by Neko-san)

@ardishco I never call that URL, so it's being called by the build script itself; I don't even know what that URL was supposed to lead to, so I can't even attempt to patch it if I don't know if there's even an updated URL to begin with.

403 doesn't mean there's no data on the other end, by the way; it means that the direct URL request is denied because they want some kind of browser authentication. It's strange this is even happening considering this is the only way to get UE4 for Linux and Epic knows this.

ardishco commented on 2023-05-23 20:08 (UTC)

It seems like the link for the dependency list is broken, It needs an update.

When trying to compile, cloning works but it's failing in build().

The error: Failed to download 'http://cdn.unrealengine.com/dependencies/UnrealEngine-18298425/0107275f6001142a756fd31da3aef73c3cf3e703': The remote server returned an error: (403) Forbidden. (WebException)

This link needs to be updated.

jtljac commented on 2023-02-24 03:31 (UTC)

It's cloning successfully now, however it's failing in build(), here's the error

  [1230/1231] Compile AnimEncoding_VariableKeyLerp.ispc
  [1231/1231] Compile SQLiteEmbedded.c
Took 1377.697445s to run mono, ExitCode=6
UnrealBuildTool failed. See log for more details. (/home/user/Library/Logs/Unreal Engine/LocalBuildLogs/UBT-UE4Game-Linux-DebugGame.txt)
AutomationTool exiting with ExitCode=6 (6)
RunUAT ERROR: AutomationTool was unable to run successfully.

and the log: https://controlc.com/c0d21ed7

Neko-san commented on 2023-02-23 01:29 (UTC) (edited on 2023-02-23 01:31 (UTC) by Neko-san)

Branch 4.27 and 4.27-plus would be more suited for an AUR -git package, which would require a separate page per the AUR guidelines

Thought I did try cloning 4.27.2 directly before though but I guess I must have thought of doing it but didn't actually act on it somehow; I'm correcting this right now

jtljac commented on 2023-02-22 22:48 (UTC) (edited on 2023-02-22 22:49 (UTC) by jtljac)

Still failing to clone Looks like it can't find any branch or tag called 4.27-release.

There is a tag 4.27.2-release, which can be cloned with:

git clone --depth=1 --branch ${pkgver}-release git@github.com:EpicGames/UnrealEngine "${pkgname}"

Alternatively, there is a branch 4.27 (or 4.27-plus, which seems to still be getting updates), which can be cloned with:

git clone --depth=1 --branch="${base_pkgver}" git@github.com:EpicGames/UnrealEngine "${pkgname}"

Neko-san commented on 2023-02-22 03:26 (UTC)

I revised the cloning method to take a slightly different approach and I bumped the pkgrel for you

jtljac commented on 2023-02-22 01:18 (UTC) (edited on 2023-02-22 01:19 (UTC) by jtljac)

The tag cloning is failing with the error "Too many arguments" on the git clone in prepare I believe the git command should be git clone --depth=1 --branch ${pkgver}-release git@github.com:EpicGames/UnrealEngine "${pkgname}".

Also, you should increment the pkgrel, as I am having to manually delete my AUR tool's cache to download the updated PKGBUILD.

Neko-san commented on 2023-02-21 23:56 (UTC)

Let me know if that works for you; I updated the PKGBUILD

Neko-san commented on 2023-02-21 23:35 (UTC)

I'll look into the clone issue