Guest User

Untitled

a guest
Oct 1st, 2023
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.69 KB | None | 0 0
  1. ~/onnxruntime $ ./build.sh --config RelWithDebInfo --build_shared_lib --parallel
  2. 2023-10-01 09:40:30,588 build [DEBUG] - Command line arguments:
  3. --build_dir /data/data/com.termux/files/home/onnxruntime/build/Linux --config RelWithDebInfo --build_shared_lib --parallel
  4. Namespace(build_dir='/data/data/com.termux/files/home/onnxruntime/build/Linux', config=['RelWithDebInfo'], update=False, build=False, clean=False, parallel=0, nvcc_threads=-1, test=False, skip_tests=False, compile_no_warning_as_error=False, enable_nvtx_profile=False, enable_memory_profile=False, enable_training=False, enable_training_apis=False, enable_training_ops=False, enable_nccl=False, mpi_home=None, nccl_home=None, use_mpi=False, enable_onnx_tests=False, path_to_protoc_exe=None, fuzz_testing=False, enable_symbolic_shape_infer_tests=False, gen_doc=None, gen_api_doc=False, use_cuda=False, cuda_version=None, cuda_home=None, cudnn_home=None, enable_cuda_line_info=False, enable_pybind=False, build_wheel=False, wheel_name_suffix=None, numpy_version=None, skip_keras_test=False, build_csharp=False, build_nuget=False, msbuild_extra_options=None, build_java=False, build_nodejs=False, build_objc=False, build_shared_lib=True, build_apple_framework=False, cmake_extra_defines=None, target=None, x86=False, arm=False, arm64=False, arm64ec=False, msvc_toolset=None, windows_sdk_version=None, android=False, android_abi='arm64-v8a', android_api=27, android_sdk_path='', android_ndk_path='', android_cpp_shared=False, android_run_emulator=False, use_gdk=False, gdk_edition='.', gdk_platform='Scarlett', ios=False, ios_sysroot='', ios_toolchain_file='', xcode_code_signing_team_id='', xcode_code_signing_identity='', cmake_generator=None, osx_arch='x86_64', apple_deploy_target=None, disable_memleak_checker=False, build_wasm=False, build_wasm_static_lib=False, emsdk_version='3.1.44', enable_wasm_simd=False, enable_wasm_threads=False, disable_wasm_exception_catching=False, enable_wasm_api_exception_catching=False, enable_wasm_exception_throwing_override=True, wasm_run_tests_in_browser=False, enable_wasm_profiling=False, enable_wasm_debug_info=False, wasm_malloc=None, emscripten_settings=None, use_extensions=False, extensions_overridden_path=None, cmake_path='cmake', ctest_path='ctest', skip_submodule_sync=False, use_mimalloc=False, use_dnnl=False, dnnl_gpu_runtime='', dnnl_opencl_root='', use_openvino=None, use_coreml=False, use_webnn=False, use_snpe=False, snpe_root=None, use_nnapi=False, nnapi_min_api=None, use_jsep=False, use_qnn=False, qnn_home=None, use_rknpu=False, use_preinstalled_eigen=False, eigen_path=None, enable_msinternal=False, llvm_path=None, use_vitisai=False, use_tvm=False, tvm_cuda_runtime=False, use_tvm_hash=False, use_tensorrt=False, use_tensorrt_builtin_parser=True, use_tensorrt_oss_parser=False, tensorrt_home=None, test_all_timeout='10800', use_migraphx=False, migraphx_home=None, use_full_protobuf=False, llvm_config='', skip_onnx_tests=False, skip_winml_tests=False, skip_nodejs_tests=False, enable_msvc_static_runtime=False, enable_language_interop_ops=False, use_dml=False, dml_path='', use_winml=False, winml_root_namespace_override=None, dml_external_project=False, use_telemetry=False, enable_wcos=False, enable_lto=False, enable_transformers_tool_test=False, use_acl=None, acl_home=None, acl_libs=None, use_armnn=False, armnn_relu=False, armnn_bn=False, armnn_home=None, armnn_libs=None, build_micro_benchmarks=False, minimal_build=None, include_ops_by_config=None, enable_reduced_operator_type_support=False, disable_contrib_ops=False, disable_ml_ops=False, disable_rtti=False, disable_types=[], disable_exceptions=False, rocm_version=None, use_rocm=False, rocm_home=None, code_coverage=False, enable_lazy_tensor=False, ms_experimental=False, enable_external_custom_op_schemas=False, external_graph_transformer_path=None, enable_cuda_profiling=False, use_cann=False, cann_home=None, enable_rocm_profiling=False, use_xnnpack=False, use_azure=False, use_cache=False, use_triton_kernel=False, use_lock_free_queue=False, allow_running_as_root=False)
  5. 2023-10-01 09:40:30,596 build [DEBUG] - Defaulting to running update, build [and test for native builds].
  6. 2023-10-01 09:40:30,596 build [INFO] - Build started
  7. Synchronizing submodule url for 'cmake/external/emsdk'
  8. Synchronizing submodule url for 'cmake/external/libprotobuf-mutator'
  9. Synchronizing submodule url for 'cmake/external/onnx'
  10. Synchronizing submodule url for 'cmake/external/onnx/third_party/benchmark'
  11. Synchronizing submodule url for 'cmake/external/onnx/third_party/pybind11'
  12. 2023-10-01 09:40:31,786 build [INFO] - Generating CMake build tree
  13. CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
  14. The OLD behavior for policy CMP0104 will be removed from a future version
  15. of CMake.
  16.  
  17. The cmake-policies(7) manual explains that the OLD behaviors of all
  18. policies are deprecated and that a policy should be set to OLD only under
  19. specific short-term circumstances. Projects should be ported to the NEW
  20. behavior and not rely on setting a policy to OLD.
  21.  
  22.  
  23. CMake Warning (dev) at CMakeLists.txt:55 (include):
  24. Policy CMP0145 is not set: The Dart and FindDart modules are removed. Run
  25. "cmake --help-policy CMP0145" for policy details. Use the cmake_policy
  26. command to set the policy and suppress this warning.
  27.  
  28. This warning is for project developers. Use -Wno-dev to suppress it.
  29.  
  30. CMake Warning (dev) at /data/data/com.termux/files/usr/share/cmake-3.27/Modules/Dart.cmake:47 (message):
  31. Policy CMP0145 is not set: The Dart and FindDart modules are removed. Run
  32. "cmake --help-policy CMP0145" for policy details. Use the cmake_policy
  33. command to set the policy and suppress this warning.
  34. Call Stack (most recent call first):
  35. CMakeLists.txt:55 (include)
  36. This warning is for project developers. Use -Wno-dev to suppress it.
  37.  
  38. CMake Warning (dev) at /data/data/com.termux/files/usr/share/cmake-3.27/Modules/Dart.cmake:57 (find_package):
  39. Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
  40. variables. Run "cmake --help-policy CMP0144" for policy details. Use the
  41. cmake_policy command to set the policy and suppress this warning.
  42.  
  43. CMake variable DART_ROOT is set to:
  44.  
  45. DART_ROOT-NOTFOUND
  46.  
  47. For compatibility, find_package is ignoring the variable, but code in a
  48. .cmake module might still use it.
  49. Call Stack (most recent call first):
  50. CMakeLists.txt:55 (include)
  51. This warning is for project developers. Use -Wno-dev to suppress it.
  52.  
  53. Building ONNX Runtime for aarch64
  54. Patch found: /data/data/com.termux/files/usr/bin/patch
  55. Loading Dependencies URLs ...
  56. Loading Dependencies ...
  57. -- Abseil source dir:
  58. -- Populating date
  59. -- Configuring done (0.0s)
  60. -- Generating done (0.0s)
  61. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/date-subbuild
  62. [100%] Built target date-populate
  63. -- Populating google_nsync
  64. -- Configuring done (0.0s)
  65. -- Generating done (0.0s)
  66. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/google_nsync-subbuild
  67. [100%] Built target google_nsync-populate
  68. CMake Deprecation Warning at /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/google_nsync-src/CMakeLists.txt:1 (cmake_minimum_required):
  69. Compatibility with CMake < 3.5 will be removed from a future version of
  70. CMake.
  71.  
  72. Update the VERSION argument <min> value or use a ...<max> suffix to tell
  73. CMake that the project does not need compatibility with older versions.
  74.  
  75.  
  76. -- Populating safeint
  77. -- Configuring done (0.0s)
  78. -- Generating done (0.0s)
  79. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/safeint-subbuild
  80. [100%] Built target safeint-populate
  81. -- Populating utf8_range
  82. -- Configuring done (0.1s)
  83. -- Generating done (0.0s)
  84. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/utf8_range-subbuild
  85. [100%] Built target utf8_range-populate
  86. -- Populating protobuf
  87. -- Configuring done (0.0s)
  88. -- Generating done (0.0s)
  89. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/protobuf-subbuild
  90. [100%] Built target protobuf-populate
  91. --
  92. -- 3.21.12.0
  93. -- Populating nlohmann_json
  94. -- Configuring done (0.0s)
  95. -- Generating done (0.0s)
  96. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/nlohmann_json-subbuild
  97. [100%] Built target nlohmann_json-populate
  98. CMake Deprecation Warning at /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/nlohmann_json-src/CMakeLists.txt:1 (cmake_minimum_required):
  99. Compatibility with CMake < 3.5 will be removed from a future version of
  100. CMake.
  101.  
  102. Update the VERSION argument <min> value or use a ...<max> suffix to tell
  103. CMake that the project does not need compatibility with older versions.
  104.  
  105.  
  106. -- Using the single-header code from /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/nlohmann_json-src/single_include/
  107. -- Populating mp11
  108. -- Configuring done (0.0s)
  109. -- Generating done (0.0s)
  110. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/mp11-subbuild
  111. [100%] Built target mp11-populate
  112. -- Populating gsl
  113. -- Configuring done (0.0s)
  114. -- Generating done (0.0s)
  115. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/gsl-subbuild
  116. [100%] Built target gsl-populate
  117. -- Populating flatbuffers
  118. -- Configuring done (0.0s)
  119. -- Generating done (0.0s)
  120. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/flatbuffers-subbuild
  121. [100%] Built target flatbuffers-populate
  122. CMake Deprecation Warning at /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/flatbuffers-src/CMakeLists.txt:1 (cmake_minimum_required):
  123. Compatibility with CMake < 3.5 will be removed from a future version of
  124. CMake.
  125.  
  126. Update the VERSION argument <min> value or use a ...<max> suffix to tell
  127. CMake that the project does not need compatibility with older versions.
  128.  
  129.  
  130. -- Populating pytorch_cpuinfo
  131. -- Configuring done (0.0s)
  132. -- Generating done (0.0s)
  133. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/pytorch_cpuinfo-subbuild
  134. [100%] Built target pytorch_cpuinfo-populate
  135. -- Populating googletest
  136. -- Configuring done (0.0s)
  137. -- Generating done (0.0s)
  138. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/googletest-subbuild
  139. [100%] Built target googletest-populate
  140. -- Populating eigen
  141. -- Configuring done (0.0s)
  142. -- Generating done (0.0s)
  143. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/eigen-subbuild
  144. [100%] Built target eigen-populate
  145. -- Populating onnx
  146. -- Configuring done (0.0s)
  147. -- Generating done (0.0s)
  148. -- Build files have been written to: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-subbuild
  149. [100%] Built target onnx-populate
  150. CMake Deprecation Warning at /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-src/CMakeLists.txt:2 (cmake_minimum_required):
  151. Compatibility with CMake < 3.5 will be removed from a future version of
  152. CMake.
  153.  
  154. Update the VERSION argument <min> value or use a ...<max> suffix to tell
  155. CMake that the project does not need compatibility with older versions.
  156.  
  157.  
  158. CMake Warning (dev) at /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-src/CMakeLists.txt:112 (find_package):
  159. Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  160. are removed. Run "cmake --help-policy CMP0148" for policy details. Use
  161. the cmake_policy command to set the policy and suppress this warning.
  162.  
  163. This warning is for project developers. Use -Wno-dev to suppress it.
  164.  
  165. Generated: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-build/onnx/onnx-ml.proto
  166. Generated: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-build/onnx/onnx-operators-ml.proto
  167. Generated: /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/_deps/onnx-build/onnx/onnx-data.proto
  168. --
  169. -- ******** Summary ********
  170. -- CMake version : 3.27.6
  171. -- CMake command : /data/data/com.termux/files/usr/bin/cmake
  172. -- System : Android
  173. -- C++ compiler : /data/data/com.termux/files/usr/bin/c++
  174. -- C++ compiler version : 16.0.6
  175. -- CXX flags : -ffunction-sections -fdata-sections -DCPUINFO_SUPPORTED -Wnon-virtual-dtor
  176. -- Build type : RelWithDebInfo
  177. -- Compile definitions : ORT_ENABLE_STREAM;EIGEN_MPL2_ONLY;_GNU_SOURCE;__STDC_FORMAT_MACROS
  178. -- CMAKE_PREFIX_PATH : /data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/installed
  179. -- CMAKE_INSTALL_PREFIX : /usr/local
  180. -- CMAKE_MODULE_PATH : /data/data/com.termux/files/home/onnxruntime/cmake/external
  181. --
  182. -- ONNX version : 1.15.0rc1
  183. -- ONNX NAMESPACE : onnx
  184. -- ONNX_USE_LITE_PROTO : ON
  185. -- USE_PROTOBUF_SHARED_LIBS : OFF
  186. -- Protobuf_USE_STATIC_LIBS : ON
  187. -- ONNX_DISABLE_EXCEPTIONS : OFF
  188. -- ONNX_DISABLE_STATIC_REGISTRATION : OFF
  189. -- ONNX_WERROR : OFF
  190. -- ONNX_BUILD_TESTS : OFF
  191. -- ONNX_BUILD_BENCHMARKS : OFF
  192. --
  193. -- Protobuf compiler :
  194. -- Protobuf includes :
  195. -- Protobuf libraries :
  196. -- BUILD_ONNX_PYTHON : OFF
  197. Finished fetching external dependencies
  198. NVCC_ERROR =
  199. NVCC_OUT = No such file or directory
  200. CMake Error: File /data/data/com.termux/files/home/onnxruntime/requirements.txt.in does not exist.
  201. CMake Error at CMakeLists.txt:1365 (configure_file):
  202. configure_file Problem configuring file
  203.  
  204.  
  205. CMake Warning at CMakeLists.txt:1568 (message):
  206. MPI and NCCL disabled on Win build.
  207.  
  208.  
  209. -- Configuring incomplete, errors occurred!
  210. Traceback (most recent call last):
  211. File "/data/data/com.termux/files/home/onnxruntime/tools/ci_build/build.py", line 2695, in <module>
  212. sys.exit(main())
  213. ^^^^^^
  214. File "/data/data/com.termux/files/home/onnxruntime/tools/ci_build/build.py", line 2553, in main
  215. generate_build_tree(
  216. File "/data/data/com.termux/files/home/onnxruntime/tools/ci_build/build.py", line 1429, in generate_build_tree
  217. run_subprocess(
  218. File "/data/data/com.termux/files/home/onnxruntime/tools/ci_build/build.py", line 800, in run_subprocess
  219. return run(*args, cwd=cwd, capture_stdout=capture_stdout, shell=shell, env=my_env)
  220. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  221. File "/data/data/com.termux/files/home/onnxruntime/tools/python/util/run.py", line 49, in run
  222. completed_process = subprocess.run(
  223. ^^^^^^^^^^^^^^^
  224. File "/data/data/com.termux/files/usr/lib/python3.11/subprocess.py", line 571, in run
  225. raise CalledProcessError(retcode, process.args,
  226. subprocess.CalledProcessError: Command '['/data/data/com.termux/files/usr/bin/cmake', '/data/data/com.termux/files/home/onnxruntime/cmake', '-Donnxruntime_RUN_ONNX_TESTS=OFF', '-Donnxruntime_GENERATE_TEST_REPORTS=ON', '-DPython_EXECUTABLE=/data/data/com.termux/files/usr/bin/python3', '-DPYTHON_EXECUTABLE=/data/data/com.termux/files/usr/bin/python3', '-Donnxruntime_USE_MIMALLOC=OFF', '-Donnxruntime_ENABLE_PYTHON=OFF', '-Donnxruntime_BUILD_CSHARP=OFF', '-Donnxruntime_BUILD_JAVA=OFF', '-Donnxruntime_BUILD_NODEJS=OFF', '-Donnxruntime_BUILD_OBJC=OFF', '-Donnxruntime_BUILD_SHARED_LIB=ON', '-Donnxruntime_BUILD_APPLE_FRAMEWORK=OFF', '-Donnxruntime_USE_DNNL=OFF', '-Donnxruntime_USE_NNAPI_BUILTIN=OFF', '-Donnxruntime_USE_RKNPU=OFF', '-Donnxruntime_USE_LLVM=OFF', '-Donnxruntime_ENABLE_MICROSOFT_INTERNAL=OFF', '-Donnxruntime_USE_VITISAI=OFF', '-Donnxruntime_USE_TENSORRT=OFF', '-Donnxruntime_USE_TENSORRT_BUILTIN_PARSER=ON', '-Donnxruntime_USE_TVM=OFF', '-Donnxruntime_TVM_CUDA_RUNTIME=OFF', '-Donnxruntime_TVM_USE_HASH=OFF', '-Donnxruntime_USE_MIGRAPHX=OFF', '-Donnxruntime_DISABLE_CONTRIB_OPS=OFF', '-Donnxruntime_DISABLE_ML_OPS=OFF', '-Donnxruntime_DISABLE_RTTI=OFF', '-Donnxruntime_DISABLE_EXCEPTIONS=OFF', '-Donnxruntime_MINIMAL_BUILD=OFF', '-Donnxruntime_EXTENDED_MINIMAL_BUILD=OFF', '-Donnxruntime_MINIMAL_BUILD_CUSTOM_OPS=OFF', '-Donnxruntime_REDUCED_OPS_BUILD=OFF', '-Donnxruntime_ENABLE_LANGUAGE_INTEROP_OPS=OFF', '-Donnxruntime_USE_DML=OFF', '-Donnxruntime_USE_WINML=OFF', '-Donnxruntime_BUILD_MS_EXPERIMENTAL_OPS=OFF', '-Donnxruntime_USE_TELEMETRY=OFF', '-Donnxruntime_ENABLE_LTO=OFF', '-Donnxruntime_USE_ACL=OFF', '-Donnxruntime_USE_ACL_1902=OFF', '-Donnxruntime_USE_ACL_1905=OFF', '-Donnxruntime_USE_ACL_1908=OFF', '-Donnxruntime_USE_ACL_2002=OFF', '-Donnxruntime_USE_ARMNN=OFF', '-Donnxruntime_ARMNN_RELU_USE_CPU=ON', '-Donnxruntime_ARMNN_BN_USE_CPU=ON', '-Donnxruntime_USE_JSEP=OFF', '-Donnxruntime_ENABLE_NVTX_PROFILE=OFF', '-Donnxruntime_ENABLE_TRAINING=OFF', '-Donnxruntime_ENABLE_TRAINING_OPS=OFF', '-Donnxruntime_ENABLE_TRAINING_APIS=OFF', '-Donnxruntime_ENABLE_CPU_FP16_OPS=OFF', '-Donnxruntime_USE_NCCL=OFF', '-Donnxruntime_BUILD_BENCHMARKS=OFF', '-Donnxruntime_USE_ROCM=OFF', '-DOnnxruntime_GCOV_COVERAGE=OFF', '-Donnxruntime_USE_MPI=OFF', '-Donnxruntime_ENABLE_MEMORY_PROFILE=OFF', '-Donnxruntime_ENABLE_CUDA_LINE_NUMBER_INFO=OFF', '-Donnxruntime_BUILD_WEBASSEMBLY_STATIC_LIB=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_CATCHING=ON', '-Donnxruntime_ENABLE_WEBASSEMBLY_API_EXCEPTION_CATCHING=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_EXCEPTION_THROWING=ON', '-Donnxruntime_WEBASSEMBLY_RUN_TESTS_IN_BROWSER=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_THREADS=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_DEBUG_INFO=OFF', '-Donnxruntime_ENABLE_WEBASSEMBLY_PROFILING=OFF', '-Donnxruntime_ENABLE_LAZY_TENSOR=OFF', '-Donnxruntime_ENABLE_EXTERNAL_CUSTOM_OP_SCHEMAS=OFF', '-Donnxruntime_ENABLE_CUDA_PROFILING=OFF', '-Donnxruntime_ENABLE_ROCM_PROFILING=OFF', '-Donnxruntime_USE_XNNPACK=OFF', '-Donnxruntime_USE_WEBNN=OFF', '-Donnxruntime_USE_CANN=OFF', '-Donnxruntime_USE_TRITON_KERNEL=OFF', '-Donnxruntime_DISABLE_FLOAT8_TYPES=OFF', '-Donnxruntime_DISABLE_SPARSE_TENSORS=OFF', '-Donnxruntime_DISABLE_OPTIONAL_TYPE=OFF', '-DCMAKE_TLS_VERIFY=ON', '-DFETCHCONTENT_QUIET=OFF', '-Donnxruntime_ENABLE_MEMLEAK_CHECKER=OFF', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_PREFIX_PATH=/data/data/com.termux/files/home/onnxruntime/build/Linux/RelWithDebInfo/installed']' returned non-zero exit status 1.
Advertisement
Add Comment
Please, Sign In to add comment