Advertisement
Guest User

Compile Module.UnrealHeaderTool.cpp fails

a guest
Oct 22nd, 2016
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1. Building ThirdParty libraries
  2.  
  3. If you don't see SUCCESS message in the end, then building did not finish properly.
  4. In that case, take a look into /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Build/BatchFiles/Linux/BuildThirdParty.log for details.
  5.  
  6. ==> BuildHLSLCC
  7.  
  8. ********** SUCCESS ****************
  9.  
  10. Setting up Unreal Engine 4 project files...
  11.  
  12. + xbuild Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:quiet /nologo /p:TargetFrameworkVersion=v4.5 /p:Configuration=Development
  13. TVOS/UEDeployTVOS.cs(44,11): warning CS0219: The variable `LaunchXib' is assigned but its value is never used
  14. Android/UEDeployAndroid.cs(1773,14): warning CS0219: The variable `DestFilename' is assigned but its value is never used
  15. Android/AndroidAARHandler.cs(174,12): warning CS0219: The variable `DepScope' is assigned but its value is never used
  16. Android/AndroidAARHandler.cs(249,12): warning CS0219: The variable `DepScope' is assigned but its value is never used
  17. Android/AndroidAARHandler.cs(326,26): warning CS0219: The variable `FileNames' is assigned but its value is never used
  18. Windows/WindowsDeploy.cs(51,12): warning CS0219: The variable `ProjectSourceFolder' is assigned but its value is never used
  19. Configuration/UEBuildModule.cs(444,27): warning CS0219: The variable `VisitedModules' is assigned but its value is never used
  20. Configuration/UEBuildTarget.cs(1375,20): warning CS0219: The variable `BuildPlatform' is assigned but its value is never used
  21. Configuration/UEBuildTarget.cs(1482,12): warning CS0219: The variable `BaseEngineBuildDataFolder' is assigned but its value is never used
  22. Configuration/UEBuildTarget.cs(1638,20): warning CS0219: The variable `BuildPlatform' is assigned but its value is never used
  23. Configuration/UEBuildTarget.cs(1958,21): warning CS0219: The variable `BuildPlatform' is assigned but its value is never used
  24. Configuration/UEBuildTarget.cs(2188,21): warning CS0219: The variable `BuildPlatform' is assigned but its value is never used
  25. Configuration/UEBuildTarget.cs(3597,20): warning CS0219: The variable `BuildPlatform' is assigned but its value is never used
  26. System/ActionGraph.cs(371,21): warning CS0219: The variable `UnlinkedActionsWithFailedHotreload' is assigned but its value is never used
  27. System/CodeLiteProject.cs(40,11): warning CS0219: The variable `ProjectPath' is assigned but its value is never used
  28. System/UProjectInfo.cs(164,11): warning CS0219: The variable `EngineSourceDirectory' is assigned but its value is never used
  29. System/XcodeProject.cs(1090,56): warning CS0219: The variable `MacExecutableName' is assigned but its value is never used
  30. Configuration/UEBuildModule.cs(131,26): warning CS0414: The private field `UnrealBuildTool.UEBuildModule.IsRedistributableOverride' is assigned but its value is never used
  31. System/UProjectInfo.cs(110,26): warning CS0414: The private field `UnrealBuildTool.UProjectInfo.EngineSourceDirectory' is assigned but its value is never used
  32. System/XGE.cs(39,24): warning CS0414: The private field `UnrealBuildTool.XGE.XGEDurationRegex' is assigned but its value is never used
  33. + mono Binaries/DotNET/UnrealBuildTool.exe -makefile -kdevelopfile -qmakefile -cmakefile -codelitefile
  34. Generating data for project indexing... 100%
  35. Generating data for project indexing... 100%
  36. Generating data for project indexing... 100%
  37. Generating data for project indexing... 100%
  38. Generating data for project indexing... 100%
  39. Writing project files... 100%
  40. + set +x
  41. building
  42. make flags: SHELL=/nix/store/vjm2a2zviphmxiz7j1ghl2dcw6f401bl-bash-4.3-p46/bin/bash
  43. bash "/tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
  44. Building CrashReportClient...
  45. Using clang version '3.8.1' (string), 3 (major), 8 (minor), 1 (patch)
  46. Creating makefile for CrashReportClient (no existing makefile)
  47. Performing full C++ include scan (no include cache file)
  48. Building UnrealHeaderTool...
  49. Using clang version '3.8.1' (string), 3 (major), 8 (minor), 1 (patch)
  50. Creating makefile for UnrealHeaderTool (no existing makefile)
  51. Performing full C++ include scan (no include cache file)
  52. Performing 22 actions (6 in parallel)
  53. [4/22] Compile Module.CoreUObject.2_of_5.cpp
  54. [1/22] Compile CorePrivatePCH.h
  55. [3/22] Compile Module.Projects.cpp
  56. [2/22] Compile Module.Json.cpp
  57. [5/22] Compile Module.CoreUObject.1_of_5.cpp
  58. [6/22] Compile Module.CoreUObject.4_of_5.cpp
  59. [7/22] Compile Module.Core.8_of_8.cpp
  60. [8/22] Compile Module.Core.7_of_8.cpp
  61. [9/22] Compile Module.Core.6_of_8.cpp
  62. [10/22] Compile Module.Core.5_of_8.cpp
  63. [11/22] Compile Module.Core.4_of_8.cpp
  64. [12/22] Compile Module.Core.3_of_8.cpp
  65. In file included from /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp:21:
  66. /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformMisc.cpp:104:3: error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result]
  67. fscanf(SysFsFile, "%d", &SystemLineSize);
  68. ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  69. In file included from /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp:23:
  70. /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1141:2: error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result]
  71. getcwd(CurrentDir, sizeof(CurrentDir));
  72. ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Source/Runtime/Core/Private/Linux/LinuxPlatformProcess.cpp:1395:2: error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result]
  74. fscanf(FilePtr, "%d %s %c %d", &DummyNumber, Buf, &DummyChar, &ParentPID);
  75. ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  76. 3 errors generated.
  77. [13/22] Compile Module.Core.2_of_8.cpp
  78. [14/22] Compile Module.Core.1_of_8.cpp
  79. [15/22] Compile Module.CoreUObject.5_of_5.cpp
  80. [16/22] Compile Module.CoreUObject.3_of_5.cpp
  81. [17/22] Compile Module.UnrealHeaderTool.cpp
  82. ERROR: UBT ERROR: Failed to produce item: /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so
  83. Total build time: 96.55 seconds
  84. UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /tmp/nix-build-ue4-4.13.1.drv-0/UnrealEngine-4.13.1-release/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest).
  85. make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement