Unreal Build Accelerator fails to generate ispc headers on Linux.

Summary

Unreal Build Accelerator fails to generate ispc headers on Linux with the default setup. Either disabling ISPC or UBA makes the editor compile.

The issues seems to have appeared somewhere between 5.4.4 and 5.5

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

UI/Tools

Steps to Reproduce

  1. Follow the Linux compilation guide found at https://github.com/EpicGames/UnrealEngine/blob/ue5-main/Engine/Build/BatchFiles/Linux/README.md
  2. Observe the issues in the output log.
  3. Disable the UnrealBuildAccelerator via BuildConfiguration.xml (Build Configuration for Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community).
  4. Run make ARGS="-clean && make.
  5. Observe that the editor now compiles.
  6. Reenable UBA and disable ISPC compilation by changing bCompileISPC = true to bCompileISPC = false in Engine/Source/Programs/UnrealBuildTool/Platform/Linux/UEBuildLinux.cs.
  7. Run make ARGS="-clean && make.
  8. Observe that the editor now compiles

Expected Result

The editor compiles by default in Linux.

Observed Result

The editor doesn’t compile with the default Linux setup.

Platform(s)

Linux Editor

Additional Notes

Issues that mention this:

  1. Can't build 5.5.1 from source on Linux Mint (Ubuntu based) - #2 by GarrdThennson
  2. UE 5.5 Source Linux Compilation Errors - #2 by NuLL3rr0r
  3. Fix for ISPC Error When Building Unreal Engine 5.5 on Linux

Potentially related:

  1. ISPC Upgrading from Unreal Engine 5.3 to 5.5 no longer compiles on Windows On Arm for (x86_64) · Issue #3133 · ispc/ispc · GitHub

Clarification:
Issue appears on release@2d53fcab0066b1f16dd956b227720841cad0f6f7 (release 5.5.4), doesn’t appear on ue5-main@e6c60b26d1c85e0f21f64a1402700b1712159156

1 Like

hi @AgentOfBurgundy ,
So basically this will mess will all official Ubuntu 22.04 and CentOS 7 , and don’t forget about
Debian 12, Fedora, Pop!_OS, and Arch Linux, Rocky 8

Things are bad enough now all the documentation is wrong now
Linux Development Quickstart for Unreal Engine | Unreal Engine 5.6 Documentation | Epic Developer Community

There was a lot of trouble with the Windows UBA version, which crashed early 5.5.*

Fortunately, 5.6 Windows is stable now and the edgy state-of-art is now 5.7.
Anyway voted this up, just couple more votes and it will be in the bug queue