Error android 'ft2build.h' file not found

Hi guys,

OS linux xubuntu 14.04.5 LTS UE4.15.1



xxxxxxxxxxxxxxxxxxx:~/Download/UnrealEngine-4.15/Engine/Build/BatchFiles/Linux$ ./Build.sh UE4Game Android Development
Building UE4Game...
Creating makefile for UE4Game (ini files are newer that UBTMakefile)
NDK version: 19, GccVersion: 4.9
Compiling Native code with NDK API 'android-19'
Performing 285 actions (4 in parallel)
[1/285] clang++ PCH.Engine.h [armv7-es2]
[2/285] clang++ PCH.Core.h [armv7-es2]
[3/285] clang++ PCH.CoreUObject.h [armv7-es2]
[4/285] clang++ Module.OnlineSubsystemUtils.cpp [armv7-es2]
[5/285] clang++ OnlineSubsystem.generated.cpp [armv7-es2]
[6/285] clang++ Module.OnlineSubsystem.cpp [armv7-es2]
[7/285] clang++ Module.OnlineSubsystemGooglePlay.cpp [armv7-es2]
[8/285] clang++ PCH.ImageWrapper.h [armv7-es2]
[9/285] clang++ Module.OnlineSubsystemNull.cpp [armv7-es2]
[10/285] clang++ OnlineSubsystemUtils.generated.cpp [armv7-es2]
[11/285] clang++ Module.AndroidDeviceProfileSelector.cpp [armv7-es2]
[12/285] clang++ AndroidDeviceProfileSelector.generated.cpp [armv7-es2]
[13/285] clang++ Module.AndroidMoviePlayer.cpp [armv7-es2]
[14/285] clang++ Module.ArchVisCharacter.cpp [armv7-es2]
[15/285] clang++ UdpMessaging.generated.cpp [armv7-es2]
[16/285] clang++ Module.LightPropagationVolumeRuntime.cpp [armv7-es2]
[17/285] clang++ LightPropagationVolumeRuntime.generated.cpp [armv7-es2]
[18/285] clang++ Paper2D.generated.cpp [armv7-es2]
[19/285] clang++ Module.FacialAnimation.cpp [armv7-es2]
[20/285] clang++ FacialAnimation.generated.cpp [armv7-es2]
[21/285] clang++ Module.Paper2D.cpp [armv7-es2]
[22/285] clang++ Module.UdpMessaging.cpp [armv7-es2]
[23/285] clang++ TcpMessaging.generated.cpp [armv7-es2]
[24/285] clang++ Module.TcpMessaging.cpp [armv7-es2]
[25/285] clang++ Module.AndroidMediaFactory.cpp [armv7-es2]
[26/285] clang++ Module.AndroidMedia.cpp [armv7-es2]
[27/285] clang++ Module.CharacterAI.cpp [armv7-es2]
[28/285] clang++ ArchVisCharacter.generated.cpp [armv7-es2]
[29/285] clang++ OculusLibrary.generated.cpp [armv7-es2]
[30/285] clang++ Module.OculusLibrary.cpp [armv7-es2]
[31/285] clang++ Module.ExampleDeviceProfileSelector.cpp [armv7-es2]
[32/285] clang++ Module.GearVR.cpp [armv7-es2]
[33/285] clang++ GearVR.generated.cpp [armv7-es2]
[34/285] clang++ Module.LocationServicesBPLibrary.cpp [armv7-es2]
[35/285] clang++ LocationServicesBPLibrary.generated.cpp [armv7-es2]
[36/285] clang++ MobilePatchingUtils.generated.cpp [armv7-es2]
[37/285] clang++ Module.MobilePatchingUtils.cpp [armv7-es2]
[38/285] clang++ ProceduralMeshComponent.generated.cpp [armv7-es2]
[39/285] clang++ Module.CableComponent.cpp [armv7-es2]
[40/285] clang++ CableComponent.generated.cpp [armv7-es2]
[41/285] clang++ Module.ProceduralMeshComponent.cpp [armv7-es2]
[42/285] clang++ PhysXVehicles.generated.cpp [armv7-es2]
[43/285] clang++ Module.CustomMeshComponent.cpp [armv7-es2]
[44/285] clang++ Module.PhysXVehicles.cpp [armv7-es2]
[45/285] clang++ CustomMeshComponent.generated.cpp [armv7-es2]
[46/285] clang++ Module.Engine.26_of_37.cpp [armv7-es2]
[47/285] clang++ Module.Engine.27_of_37.cpp [armv7-es2]
[48/285] clang++ Module.Engine.21_of_37.cpp [armv7-es2]
[49/285] clang++ Module.Engine.20_of_37.cpp [armv7-es2]
[50/285] clang++ Module.Engine.22_of_37.cpp [armv7-es2]
[51/285] clang++ Module.Engine.19_of_37.cpp [armv7-es2]
[52/285] clang++ Module.Engine.18_of_37.cpp [armv7-es2]
[53/285] clang++ Module.Engine.23_of_37.cpp [armv7-es2]
[54/285] clang++ Module.Engine.17_of_37.cpp [armv7-es2]
[55/285] clang++ Module.Engine.24_of_37.cpp [armv7-es2]
[56/285] clang++ Module.Engine.16_of_37.cpp [armv7-es2]
[57/285] clang++ Module.Engine.25_of_37.cpp [armv7-es2]
[58/285] clang++ Module.Engine.15_of_37.cpp [armv7-es2]
[59/285] clang++ Module.Engine.7_of_37.cpp [armv7-es2]
[60/285] clang++ Module.Engine.6_of_37.cpp [armv7-es2]
[61/285] clang++ Module.Engine.5_of_37.cpp [armv7-es2]
[62/285] clang++ Module.Engine.4_of_37.cpp [armv7-es2]
[63/285] clang++ Module.Engine.3_of_37.cpp [armv7-es2]
[64/285] arm-linux-androideabi-ar UE4-ProceduralMeshComponent-armv7-es2.a
[65/285] clang++ Module.Engine.1_of_37.cpp [armv7-es2]
[66/285] clang++ Module.Engine.8_of_37.cpp [armv7-es2]
[67/285] clang++ Module.Engine.14_of_37.cpp [armv7-es2]
[68/285] clang++ Module.Engine.13_of_37.cpp [armv7-es2]
[69/285] clang++ Module.Engine.12_of_37.cpp [armv7-es2]
[70/285] clang++ Module.Engine.11_of_37.cpp [armv7-es2]
[71/285] clang++ Module.Engine.10_of_37.cpp [armv7-es2]
[72/285] clang++ Module.Engine.2_of_37.cpp [armv7-es2]
[73/285] clang++ Module.Engine.9_of_37.cpp [armv7-es2]
[74/285] clang++ Module.Engine.28_of_37.cpp [armv7-es2]
[75/285] arm-linux-androideabi-ar UE4-AndroidDeviceProfileSelector-armv7-es2.a
[76/285] arm-linux-androideabi-ar UE4-OnlineSubsystemUtils-armv7-es2.a
[77/285] arm-linux-androideabi-ar UE4-OnlineSubsystem-armv7-es2.a
[78/285] arm-linux-androideabi-ar UE4-UdpMessaging-armv7-es2.a
[79/285] arm-linux-androideabi-ar UE4-TcpMessaging-armv7-es2.a
[80/285] arm-linux-androideabi-ar UE4-FacialAnimation-armv7-es2.a
[81/285] arm-linux-androideabi-ar UE4-ArchVisCharacter-armv7-es2.a
[82/285] arm-linux-androideabi-ar UE4-PhysXVehicles-armv7-es2.a
[83/285] arm-linux-androideabi-ar UE4-OculusLibrary-armv7-es2.a
[84/285] arm-linux-androideabi-ar UE4-MobilePatchingUtils-armv7-es2.a
[85/285] arm-linux-androideabi-ar UE4-LocationServicesBPLibrary-armv7-es2.a
[86/285] arm-linux-androideabi-ar UE4-GearVR-armv7-es2.a
[87/285] arm-linux-androideabi-ar UE4-CustomMeshComponent-armv7-es2.a
[88/285] arm-linux-androideabi-ar UE4-CableComponent-armv7-es2.a
[89/285] arm-linux-androideabi-ar UE4-LightPropagationVolumeRuntime-armv7-es2.a
[90/285] clang++ Module.Engine.34_of_37.cpp [armv7-es2]
[91/285] clang++ Module.Engine.33_of_37.cpp [armv7-es2]
[92/285] clang++ Module.Engine.32_of_37.cpp [armv7-es2]
[93/285] clang++ Module.Engine.31_of_37.cpp [armv7-es2]
[94/285] clang++ Module.Engine.30_of_37.cpp [armv7-es2]
[95/285] clang++ Module.Engine.29_of_37.cpp [armv7-es2]
[96/285] clang++ Module.Engine.35_of_37.cpp [armv7-es2]
[97/285] arm-linux-androideabi-ar UE4-Paper2D-armv7-es2.a
[98/285] clang++ Engine.generated.4.cpp [armv7-es2]
[99/285] clang++ Engine.generated.3.cpp [armv7-es2]
[100/285] clang++ Engine.generated.2.cpp [armv7-es2]
[101/285] clang++ Engine.generated.1.cpp [armv7-es2]
[102/285] clang++ Module.Engine.37_of_37.cpp [armv7-es2]
[103/285] clang++ Module.Engine.36_of_37.cpp [armv7-es2]
[104/285] clang++ Module.Core.6_of_8.cpp [armv7-es2]
[105/285] clang++ CoreUObject.generated.cpp [armv7-es2]
[106/285] clang++ Module.Core.7_of_8.cpp [armv7-es2]
[107/285] clang++ Module.Core.8_of_8.cpp [armv7-es2]
[108/285] clang++ Module.CoreUObject.1_of_6.cpp [armv7-es2]
[109/285] clang++ Module.CoreUObject.2_of_6.cpp [armv7-es2]
[110/285] clang++ Module.CoreUObject.3_of_6.cpp [armv7-es2]
[111/285] clang++ Module.CoreUObject.4_of_6.cpp [armv7-es2]
[112/285] clang++ Module.CoreUObject.5_of_6.cpp [armv7-es2]
[113/285] clang++ Module.CoreUObject.6_of_6.cpp [armv7-es2]
[114/285] clang++ Module.Core.5_of_8.cpp [armv7-es2]
[115/285] clang++ Module.ImageWrapper.cpp [armv7-es2]
[116/285] clang++ Module.Core.1_of_8.cpp [armv7-es2]
[117/285] clang++ Module.Core.2_of_8.cpp [armv7-es2]
[118/285] clang++ Module.Core.3_of_8.cpp [armv7-es2]
[119/285] clang++ Module.Core.4_of_8.cpp [armv7-es2]
[120/285] clang++ Module.MessageLog.cpp [armv7-es2]
[121/285] clang++ Module.ScreenShotComparisonTools.cpp [armv7-es2]
[122/285] clang++ ScreenShotComparisonTools.generated.cpp [armv7-es2]
[123/285] clang++ Module.AndroidLocalNotification.cpp [armv7-es2]
[124/285] clang++ Module.AutomationController.cpp [armv7-es2]
[125/285] clang++ AutomationController.generated.cpp [armv7-es2]
[126/285] clang++ AndroidRuntimeSettings.generated.cpp [armv7-es2]
[127/285] clang++ Module.AndroidRuntimeSettings.cpp [armv7-es2]
[128/285] clang++ Module.SynthBenchmark.cpp [armv7-es2]
[129/285] clang++ MaterialShaderQualitySettings.generated.cpp [armv7-es2]
[130/285] clang++ Module.HeadMountedDisplay.cpp [armv7-es2]
[131/285] clang++ Module.UELinkerFixups.cpp [armv7-es2]
[132/285] clang++ Module.AndroidAdvertising.cpp [armv7-es2]
[133/285] clang++ BuildPatchServices.generated.cpp [armv7-es2]
[134/285] clang++ Module.BuildPatchServices.cpp [armv7-es2]
[135/285] clang++ Module.Voice.cpp [armv7-es2]
[136/285] clang++ Module.ImageCore.cpp [armv7-es2]
[137/285] clang++ UnrealEdMessages.generated.cpp [armv7-es2]
[138/285] clang++ Module.SessionMessages.cpp [armv7-es2]
[139/285] clang++ Module.AndroidAudio.cpp [armv7-es2]
[140/285] clang++ Module.OpenGLDrv.3_of_3.cpp [armv7-es2]
[141/285] clang++ Module.OpenGLDrv.2_of_3.cpp [armv7-es2]
[142/285] clang++ Module.OpenGLDrv.1_of_3.cpp [armv7-es2]
[143/285] clang++ Module.AutomationWorker.cpp [armv7-es2]
[144/285] clang++ AutomationMessages.generated.cpp [armv7-es2]
[145/285] clang++ Module.AutomationMessages.cpp [armv7-es2]
[146/285] clang++ SessionMessages.generated.cpp [armv7-es2]
[147/285] clang++ Module.UnrealEdMessages.cpp [armv7-es2]
[148/285] clang++ Module.ProfilerService.cpp [armv7-es2]
[149/285] clang++ ProfilerMessages.generated.cpp [armv7-es2]
[150/285] clang++ Module.ProfilerMessages.cpp [armv7-es2]
[151/285] clang++ Module.RealtimeProfiler.cpp [armv7-es2]
[152/285] clang++ Module.TaskGraph.cpp [armv7-es2]
[153/285] clang++ EditorStyle.generated.cpp [armv7-es2]
[154/285] clang++ Module.EditorStyle.cpp [armv7-es2]
[155/285] clang++ Module.SessionServices.cpp [armv7-es2]
[156/285] clang++ Module.MaterialShaderQualitySettings.cpp [armv7-es2]
[157/285] clang++ InputCore.generated.cpp [armv7-es2]
[158/285] clang++ Module.SlateCore.cpp [armv7-es2]
[159/285] arm-linux-androideabi-ar UE4-OnlineSubsystemNull-armv7-es2.a
[160/285] clang++ SlateCore.generated.cpp [armv7-es2]
[161/285] clang++ Module.Slate.1_of_5.cpp [armv7-es2]
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:12:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp:7:
Runtime/SlateCore/Private/Fonts/FontCacheFreeType.h(20,11) :  fatal error: 'ft2build.h' file not found
        #include "ft2build.h"
                 ^
1 error generated.
[162/285] clang++ Module.Slate.2_of_5.cpp [armv7-es2]
[163/285] clang++ Module.Slate.3_of_5.cpp [armv7-es2]
[164/285] arm-linux-androideabi-ar UE4-OnlineSubsystemGooglePlay-armv7-es2.a
[165/285] clang++ Module.InputCore.cpp [armv7-es2]
[166/285] clang++ android_native_app_glue.c [armv7-es2]
[167/285] clang++ cpu-features-patched.c [armv7-es2]
[168/285] clang++ UELinkerExceptions.cpp [armv7-es2]
[169/285] clang++ Module.VulkanRHI.cpp [armv7-es2]
[170/285] clang++ Module.UE4Game.cpp [armv7-es2]
[171/285] arm-linux-androideabi-ar UE4-ExampleDeviceProfileSelector-armv7-es2.a
[172/285] clang++ Module.Json.cpp [armv7-es2]
[173/285] clang++ Module.Projects.cpp [armv7-es2]
[174/285] arm-linux-androideabi-ar UE4-AndroidMoviePlayer-armv7-es2.a
[175/285] clang++ Module.Slate.4_of_5.cpp [armv7-es2]
[176/285] arm-linux-androideabi-ar UE4-CharacterAI-armv7-es2.a
[177/285] clang++ Module.Sockets.cpp [armv7-es2]
[178/285] clang++ Module.Networking.cpp [armv7-es2]
[179/285] clang++ Module.NullDrv.cpp [armv7-es2]
[180/285] clang++ Module.RHI.cpp [armv7-es2]
[181/285] clang++ Module.RenderCore.cpp [armv7-es2]
[182/285] clang++ Module.ShaderCore.cpp [armv7-es2]
[183/285] clang++ Module.UtilityShaders.cpp [armv7-es2]
[184/285] clang++ Module.SandboxFile.cpp [armv7-es2]
[185/285] clang++ Module.Slate.5_of_5.cpp [armv7-es2]
[186/285] clang++ Slate.generated.cpp [armv7-es2]
[187/285] clang++ Module.AssetRegistry.cpp [armv7-es2]
[188/285] clang++ Module.Messaging.cpp [armv7-es2]
[189/285] clang++ Module.SlateReflector.cpp [armv7-es2]
[190/285] clang++ SlateReflector.generated.cpp [armv7-es2]
[191/285] arm-linux-androideabi-ar UE4-AndroidMediaFactory-armv7-es2.a
[192/285] clang++ Module.AppFramework.cpp [armv7-es2]
[193/285] arm-linux-androideabi-ar UE4-AndroidMedia-armv7-es2.a
[194/285] clang++ Module.StreamingFile.cpp [armv7-es2]
[195/285] clang++ Module.HttpNetworkReplayStreaming.cpp [armv7-es2]
[196/285] clang++ Module.NullNetworkReplayStreaming.cpp [armv7-es2]
[197/285] clang++ Module.NetworkReplayStreaming.cpp [armv7-es2]
[198/285] clang++ Module.SlateNullRenderer.cpp [armv7-es2]
[199/285] clang++ Module.StreamingPauseRendering.cpp [armv7-es2]
[200/285] clang++ MoviePlayer.generated.cpp [armv7-es2]
[201/285] clang++ Module.MoviePlayer.cpp [armv7-es2]
[202/285] clang++ MovieSceneCapture.generated.cpp [armv7-es2]
[203/285] clang++ Module.MovieSceneCapture.cpp [armv7-es2]
[204/285] clang++ LevelSequence.generated.cpp [armv7-es2]
[205/285] clang++ Module.Advertising.cpp [armv7-es2]
[206/285] clang++ Module.EngineMessages.cpp [armv7-es2]
[207/285] clang++ EngineMessages.generated.cpp [armv7-es2]
[208/285] clang++ Module.EngineSettings.cpp [armv7-es2]
[209/285] clang++ EngineSettings.generated.cpp [armv7-es2]
[210/285] clang++ Niagara.generated.cpp [armv7-es2]
[211/285] clang++ Module.Niagara.cpp [armv7-es2]
[212/285] clang++ VectorVM.generated.cpp [armv7-es2]
[213/285] clang++ Module.VectorVM.cpp [armv7-es2]
[214/285] clang++ GameLiveStreaming.generated.cpp [armv7-es2]
[215/285] clang++ Module.GameLiveStreaming.cpp [armv7-es2]
[216/285] clang++ Module.LevelSequence.cpp [armv7-es2]
[217/285] clang++ AIModule.generated.1.cpp [armv7-es2]
[218/285] clang++ Module.AIModule.3_of_3.cpp [armv7-es2]
[219/285] clang++ Module.AIModule.2_of_3.cpp [armv7-es2]
[220/285] clang++ Module.AIModule.1_of_3.cpp [armv7-es2]
[221/285] clang++ GameplayTasks.generated.cpp [armv7-es2]
[222/285] clang++ Module.GameplayTasks.cpp [armv7-es2]
[223/285] clang++ GameplayDebugger.generated.cpp [armv7-es2]
[224/285] clang++ Module.GameplayDebugger.cpp [armv7-es2]
[225/285] clang++ GameplayTags.generated.cpp [armv7-es2]
[226/285] clang++ Module.GameplayTags.cpp [armv7-es2]
[227/285] clang++ AIModule.generated.2.cpp [armv7-es2]
[228/285] clang++ JsonUtilities.generated.cpp [armv7-es2]
[229/285] clang++ Module.JsonUtilities.cpp [armv7-es2]
[230/285] clang++ ActorSequence.generated.cpp [armv7-es2]
[231/285] clang++ Module.ActorSequence.cpp [armv7-es2]
[232/285] clang++ GeometryCache.generated.cpp [armv7-es2]
[233/285] clang++ Module.GeometryCache.cpp [armv7-es2]
[234/285] clang++ Module.HardwareSurvey.cpp [armv7-es2]
[235/285] clang++ PacketHandler.generated.cpp [armv7-es2]
[236/285] clang++ Module.PacketHandler.cpp [armv7-es2]
[237/285] clang++ Module.ReliabilityHandlerComponent.cpp [armv7-es2]
[238/285] clang++ Module.DatabaseSupport.cpp [armv7-es2]
[239/285] clang++ Module.Navmesh.3_of_3.cpp [armv7-es2]
[240/285] clang++ Module.Renderer.4_of_10.cpp [armv7-es2]
[241/285] clang++ Module.Renderer.5_of_10.cpp [armv7-es2]
[242/285] clang++ Module.Renderer.6_of_10.cpp [armv7-es2]
[243/285] clang++ Module.Renderer.7_of_10.cpp [armv7-es2]
[244/285] clang++ Module.Renderer.8_of_10.cpp [armv7-es2]
[245/285] clang++ Module.Renderer.9_of_10.cpp [armv7-es2]
[246/285] clang++ Module.Renderer.10_of_10.cpp [armv7-es2]
[247/285] clang++ Module.Foliage.cpp [armv7-es2]
[248/285] clang++ Foliage.generated.cpp [armv7-es2]
[249/285] clang++ Module.Landscape.1_of_3.cpp [armv7-es2]
[250/285] clang++ Module.Renderer.3_of_10.cpp [armv7-es2]
[251/285] clang++ Module.NetworkFile.cpp [armv7-es2]
[252/285] clang++ Serialization.generated.cpp [armv7-es2]
[253/285] clang++ Module.Serialization.cpp [armv7-es2]
[254/285] clang++ Module.PakFile.cpp [armv7-es2]
[255/285] clang++ MediaAssets.generated.cpp [armv7-es2]
[256/285] clang++ Module.MediaAssets.cpp [armv7-es2]
[257/285] clang++ Module.MediaUtils.cpp [armv7-es2]
[258/285] clang++ Module.Media.cpp [armv7-es2]
[259/285] clang++ HeadMountedDisplay.generated.cpp [armv7-es2]
[260/285] clang++ Module.Renderer.1_of_10.cpp [armv7-es2]
[261/285] clang++ Module.Renderer.2_of_10.cpp [armv7-es2]
[262/285] clang++ Module.Landscape.2_of_3.cpp [armv7-es2]
[263/285] clang++ Module.UMG.cpp [armv7-es2]
[264/285] clang++ UMG.generated.1.cpp [armv7-es2]
[265/285] clang++ UMG.generated.2.cpp [armv7-es2]
[266/285] clang++ Module.Internationalization.cpp [armv7-es2]
[267/285] clang++ Module.CinematicCamera.cpp [armv7-es2]
[268/285] clang++ CinematicCamera.generated.cpp [armv7-es2]
[269/285] clang++ Module.Analytics.cpp [armv7-es2]
[270/285] clang++ Module.AnalyticsET.cpp [armv7-es2]
[271/285] clang++ Module.Navmesh.1_of_3.cpp [armv7-es2]
[272/285] clang++ Module.Navmesh.2_of_3.cpp [armv7-es2]
[273/285] clang++ Module.SlateRHIRenderer.cpp [armv7-es2]
[274/285] clang++ Module.Landscape.3_of_3.cpp [armv7-es2]
[275/285] clang++ Landscape.generated.cpp [armv7-es2]
[276/285] clang++ Module.SSL.cpp [armv7-es2]
[277/285] clang++ Module.HTTP.cpp [armv7-es2]
[278/285] clang++ Module.MovieScene.cpp [armv7-es2]
[279/285] clang++ MovieScene.generated.cpp [armv7-es2]
[280/285] clang++ Module.Launch.cpp [armv7-es2]
[281/285] clang++ MovieSceneTracks.generated.cpp [armv7-es2]
[282/285] clang++ Module.MovieSceneTracks.cpp [armv7-es2]
[283/285] clang++ AnimGraphRuntime.generated.cpp [armv7-es2]
[284/285] clang++ Module.AnimGraphRuntime.cpp [armv7-es2]
ERROR: UBT ERROR: Failed to produce item: /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Binaries/Android/UE4Game-armv7-es2.so
Total build time: 1563,80 seconds (Local executor: 0,00 seconds)
xxxxxxxxxxxxxxxxxxx:~/Download/UnrealEngine-4.15/Engine/Build/BatchFiles/Linux$ ./Build.sh UE4Game Android Development
Building UE4Game...
Performing 2 actions (4 in parallel)
[1/2] clang++ Module.SlateCore.cpp [armv7-es2]
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:12:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp:7:
Runtime/SlateCore/Private/Fonts/FontCacheFreeType.h(20,11) :  fatal error: 'ft2build.h' file not found
        #include "ft2build.h"
                 ^
1 error generated.
ERROR: UBT ERROR: Failed to produce item: /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Binaries/Android/UE4Game-armv7-es2.so
Total build time: 3,39 seconds (Local executor: 0,00 seconds)
xxxxxxxxxxxxxxxxxxx:~/Download/UnrealEngine-4.15/Engine/Build/BatchFiles/Linux$


One mistake how to fix it?

up text clang 3.5 one error
down text new clang 3.8 much error



xxxxxxxxxxxxxxxxxxx:~/Download/UnrealEngine-4.15/Engine/Build/BatchFiles/Linux$ ./Build.sh UE4Game Android Development
Building UE4Game...
Performing 2 actions (4 in parallel)
[1/2] clang++ Module.SlateCore.cpp [armv7-es2]
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:2:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Animation/CurveHandle.cpp:3:
In file included from Runtime/SlateCore/Public/Animation/CurveHandle.h:5:
In file included from Runtime/Core/Public/CoreMinimal.h:26:
In file included from Runtime/Core/Public/HAL/PlatformCrt.h:12:
/usr/lib/clang/3.8/include/float.h(118,5) :  warning: '__STDC_VERSION__' is not
      defined, evaluates to 0 -Wundef]
#if __STDC_VERSION__ >= 201112L || !defined(__STRICT_ANSI__)
    ^
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:2:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Animation/CurveHandle.cpp:3:
In file included from Runtime/SlateCore/Public/Animation/CurveHandle.h:5:
In file included from Runtime/Core/Public/CoreMinimal.h:27:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:18:
In file included from Runtime/Core/Public/Android/AndroidMisc.h:9:
In file included from Runtime/Core/Public/Android/AndroidSystemIncludes.h:9:
In file included from /home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/pthread.h:32:
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(67,36) :  error: 
      use of undeclared identifier 'LONG_BIT'
    return (int)((local_set[signum/LONG_BIT] >> (signum%LONG_BIT)) & 1);
                                   ^
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(67,57) :  error: 
      use of undeclared identifier 'LONG_BIT'
    return (int)((local_set[signum/LONG_BIT] >> (signum%LONG_BIT)) & 1);
                                                        ^
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(75,22) :  error: 
      use of undeclared identifier 'LONG_BIT'
    local_set[signum/LONG_BIT] |= 1UL << (signum%LONG_BIT);
                     ^
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(75,50) :  error: 
      use of undeclared identifier 'LONG_BIT'
    local_set[signum/LONG_BIT] |= 1UL << (signum%LONG_BIT);
                                                 ^
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(84,22) :  error: 
      use of undeclared identifier 'LONG_BIT'
    local_set[signum/LONG_BIT] &= ~(1UL << (signum%LONG_BIT));
                     ^
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/signal.h(84,52) :  error: 
      use of undeclared identifier 'LONG_BIT'
    local_set[signum/LONG_BIT] &= ~(1UL << (signum%LONG_BIT));
                                                   ^
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:2:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Animation/CurveHandle.cpp:3:
In file included from Runtime/SlateCore/Public/Animation/CurveHandle.h:5:
In file included from Runtime/Core/Public/CoreMinimal.h:27:
In file included from Runtime/Core/Public/HAL/PlatformMisc.h:18:
In file included from Runtime/Core/Public/Android/AndroidMisc.h:9:
In file included from Runtime/Core/Public/Android/AndroidSystemIncludes.h:11:
In file included from /home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/fcntl.h:34:
/home/ilyafuu/NVPACK/android-ndk-r12b/platforms/android-19/arch-arm/usr/include/unistd.h(175,10) :  error: 
      use of undeclared identifier 'PAGE_SIZE'
  return PAGE_SIZE;
         ^
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Intermediate/Build/Android/UE4Game/Development/SlateCore/Module.SlateCore.cpp:12:
In file included from /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp:7:
Runtime/SlateCore/Private/Fonts/FontCacheFreeType.h(20,11) :  fatal error: 
      'ft2build.h' file not found
        #include "ft2build.h"
                 ^
1 warning and 8 errors generated.
ERROR: UBT ERROR: Failed to produce item: /home/ilyafuu/Download/UnrealEngine-4.15/Engine/Binaries/Android/UE4Game-armv7-es2.so
Total build time: 3,29 seconds (Local executor: 0,00 seconds)


UE4 standard clang 3.5 ?

Not sure about Linux but at least for me this type of error on Mac/OSX was from an instability of system third party libraries. Re-running Setup.sh corrected it for me.

Setup.sh all excellent success

Great glad that worked!