Doing Linux server builds of 4.24.0 is currently failing for me with the following error:
That’s caused by an explicit check in Engine/Source/ThirdParty/FreeType2/FreeType2.Build.cs that throws an exception to stop FreeType2 being included with Unix server builds, and there’s a corresponding check in HarfBuzz.Build.cs that does the same thing for that library.
As a workaround, I tried commenting out those exceptions (lines FreeType2.Build.cs:145 and HarfBuzz.Build.cs:114). That allows the build to proceed, but it fails later due to conflicting definitions of WITH_FREETYPE and WITH_HARFBUZZ in Engine\Plugins\Experimental\Text3D\Intermediate\Build\Linux\B4D820EA\UE4Server\Shipping\Text3D\Definitions.Text3D.h.
I don’t know why FreeType2 and HarfBuzz are being avoided in Linux server builds so I’m not sure what the correct fix would be.
I’ve reported the build error as case #00144760.