Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build]: Terminal becomes unresponsive when TESTS && FUNCTIONAL_TESTS are ON. #23021

Closed
2 tasks done
LucaTamSapienza opened this issue Feb 22, 2024 · 13 comments · Fixed by #23022
Closed
2 tasks done

[Build]: Terminal becomes unresponsive when TESTS && FUNCTIONAL_TESTS are ON. #23021

LucaTamSapienza opened this issue Feb 22, 2024 · 13 comments · Fixed by #23022
Labels
category: build OpenVINO cmake script / infra Stale support_request

Comments

@LucaTamSapienza
Copy link
Contributor

OpenVINO Version

Master branch

Operating System

macOS Systems for Apple Silicon

Hardware Architecture

ARM (64 bits)

Target Platform

Model Name: MacBook Pro
      Model Identifier: Mac14,9
      Model Number: MPHE3T/A
      Chip: Apple M2 Pro
      Total Number of Cores: 10 (6 performance and 4 efficiency)
      Memory: 16 GB
      System Firmware Version: 10151.41.12
      OS Loader Version: 8422.141.2.700.1

Build issue description

I am trying to compile the project with -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON, but when there are 22 tasks remaining (always 22), the process halts without providing any output. The terminal simply becomes unresponsive. This issue occurs only when I enable both TESTS and FUNCTIONAL TESTS.
It seems like the terminal is still working in the background but not progressing. The computer doesn't freeze or show any error; the terminal just stays stuck. However, if I build the system normally by activating only  DENABLE_SYSTEM_PUGIXML=ON -DENABLE_SYSTEM_SNAPPY=ON -DENABLE_SYSTEM_PROTOBUF=ON , it compiles successfully.

Build scrip or step-by-step to reproduce

cmake -G "Ninja Multi-Config" -DENABLE_TESTS=ON -DENABLE_FUNCTIONAL_TESTS=ON ..
cmake --build . --parallel 

however, if i try to enable TESTS but disable FUNCTIONAL_TESTS cmake gives me an error

CMake Error at cmake/developer_package/add_target_helpers.cmake:112 (add_dependencies):
  The dependency target "func_test_utils" of target "ov_proxy_plugin_tests"
  does not exist.
Call Stack (most recent call first):
  cmake/developer_package/add_target_helpers.cmake:157 (ov_add_target)
  src/plugins/proxy/tests/CMakeLists.txt:30 (ov_add_test_target)

At the end of the compilation process (TESTS=OFF && FUNCTIONAL_TESTS=OFF), I receive the respective warnings. Even though I don't think they are the issue.

/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

!!
self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

!!
self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/command/sdist.py:126: SetuptoolsDeprecationWarning: `build_py` command does not inherit from setuptools' `build_py`.
!!

      ********************************************************************************
      Custom 'build_py' does not implement 'get_data_files_without_manifest'.
      Please extend command classes from setuptools instead of distutils.

      See https://peps.python.org/pep-0632/ for details.
      ********************************************************************************

!!
self._add_data_files(self._safe_data_files(build_py))
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

      ********************************************************************************
      Please avoid running ``setup.py`` directly.
      Instead, use pypa/build, pypa/installer or other
      standards-based tools.

      See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
      ********************************************************************************

!!
self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_core_metadata.py:225: SetuptoolsDeprecationWarning: Ambiguity during "extra" normalization for dependencies.
!!

      ********************************************************************************
      'mxnet' and 'mxnet' normalize to the same value:

          'mxnet'

      In future versions, setuptools might halt the build process.

      See https://peps.python.org/pep-0685/ for details.
      ********************************************************************************

!!
_write_provides_extra(file, processed_extras, extra, unsafe_extra)
/Users/lucatam/Documents/OpenSourceProject/openvino/tools/openvino_dev/setup.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

      ********************************************************************************
      Requirements should be satisfied by a PEP 517 installer.
      If you are using pip, you can try `pip install --use-pep517`.
      ********************************************************************************

!!
dist.fetch_build_eggs(dist.setup_requires)

Relevant log output

-- OpenVINO version is 2024.1.0 (Build 14550)
CMake Warning at cmake/developer_package/clang_format/clang_format.cmake:17 (message):
  Supported clang-format version is 9! Provided version 17
Call Stack (most recent call first):
  cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:299 (include)
  CMakeLists.txt:38 (find_package)


CMake Warning at cmake/developer_package/ncc_naming_style/ncc_naming_style.cmake:91 (message):
  clang-12 libclang-12-dev are not found (required for ncc naming style
  check)
Call Stack (most recent call first):
  cmake/developer_package/OpenVINODeveloperScriptsConfig.cmake:300 (include)
  CMakeLists.txt:38 (find_package)


-- OpenVINO Runtime enabled features: 
-- 
--     CI_BUILD_NUMBER: 2024.1.0-14550-6f18242f389-pytorch/dot
--     CPACK_GENERATOR = TGZ
--     ENABLE_LTO = OFF
--     OS_FOLDER = OFF
--     USE_BUILD_TYPE_SUBFOLDER = OFF
--     CMAKE_COMPILE_WARNING_AS_ERROR = OFF
--     ENABLE_QSPECTRE = OFF
--     ENABLE_INTEGRITYCHECK = OFF
--     ENABLE_SANITIZER = OFF
--     ENABLE_UB_SANITIZER = OFF
--     ENABLE_THREAD_SANITIZER = OFF
--     ENABLE_COVERAGE = OFF
--     ENABLE_SSE42 = OFF
--     ENABLE_AVX2 = OFF
--     ENABLE_AVX512F = OFF
--     BUILD_SHARED_LIBS = ON
--     ENABLE_LIBRARY_VERSIONING = ON
--     ENABLE_FASTER_BUILD = OFF
--     ENABLE_CPPLINT = ON
--     ENABLE_CPPLINT_REPORT = OFF
--     ENABLE_CLANG_FORMAT = OFF
--     ENABLE_NCC_STYLE = OFF
--     ENABLE_UNSAFE_LOCATIONS = OFF
--     ENABLE_FUZZING = OFF
--     ENABLE_PROXY = ON
--     ENABLE_INTEL_CPU = ON
--     ENABLE_ARM_COMPUTE_CMAKE = OFF
--     ENABLE_TESTS = ON
--     ENABLE_INTEL_GPU = OFF
--     ENABLE_ONEDNN_FOR_GPU = OFF
--     ENABLE_DEBUG_CAPS = OFF
--     ENABLE_GPU_DEBUG_CAPS = OFF
--     ENABLE_CPU_DEBUG_CAPS = OFF
--     ENABLE_SNIPPETS_DEBUG_CAPS = OFF
--     ENABLE_PROFILING_ITT = OFF
--     ENABLE_PROFILING_FILTER = ALL
--     ENABLE_PROFILING_FIRST_INFERENCE = ON
--     SELECTIVE_BUILD = OFF
--     ENABLE_DOCS = OFF
--     ENABLE_PKGCONFIG_GEN = OFF
--     THREADING = TBB
--     ENABLE_TBBBIND_2_5 = OFF
--     ENABLE_TBB_RELEASE_ONLY = OFF
--     ENABLE_MULTI = ON
--     ENABLE_AUTO = ON
--     ENABLE_AUTO_BATCH = ON
--     ENABLE_HETERO = ON
--     ENABLE_TEMPLATE = ON
--     ENABLE_PLUGINS_XML = OFF
--     ENABLE_FUNCTIONAL_TESTS = ON
--     ENABLE_SAMPLES = ON
--     ENABLE_OV_ONNX_FRONTEND = ON
--     ENABLE_OV_PADDLE_FRONTEND = ON
--     ENABLE_OV_IR_FRONTEND = ON
--     ENABLE_OV_PYTORCH_FRONTEND = ON
--     ENABLE_OV_IR_FRONTEND = ON
--     ENABLE_OV_TF_FRONTEND = ON
--     ENABLE_OV_TF_LITE_FRONTEND = ON
--     ENABLE_SNAPPY_COMPRESSION = ON
--     ENABLE_STRICT_DEPENDENCIES = ON
--     ENABLE_SYSTEM_TBB = OFF
--     ENABLE_SYSTEM_PUGIXML = ON
--     ENABLE_SYSTEM_FLATBUFFERS = ON
--     ENABLE_SYSTEM_OPENCL = OFF
--     ENABLE_SYSTEM_PROTOBUF = ON
--     ENABLE_SYSTEM_SNAPPY = ON
--     ENABLE_PYTHON_PACKAGING = OFF
--     ENABLE_JS = ON
--     ENABLE_OPENVINO_DEBUG = OFF
-- 
-- CMAKE_VERSION ......................... 3.28.3
-- OpenVINO_SOURCE_DIR ................... /Users/lucatam/Documents/OpenSourceProject/openvino
-- OpenVINO_BINARY_DIR ................... /Users/lucatam/Documents/OpenSourceProject/openvino/build
-- CMAKE_GENERATOR ....................... Ninja Multi-Config
-- CPACK_GENERATOR ....................... TGZ
-- CMAKE_C_COMPILER_ID ................... AppleClang
-- CMAKE_CXX_COMPILER_ID ................. AppleClang
-- CMAKE_CXX_STANDARD .................... 11
-- CMAKE_CONFIGURATION_TYPES ............. Debug Release RelWithDebInfo
-- CMAKE_DEFAULT_BUILD_TYPE .............. Release
-- Found Python3: /Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/bin/python3.9 (found version "3.9.18") found components: Interpreter 
CMake Warning (dev) at thirdparty/onnx/onnx/CMakeLists.txt:112 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Generated: /Users/lucatam/Documents/OpenSourceProject/openvino/build/thirdparty/onnx/onnx/onnx/onnx_openvino_onnx-ml.proto
Generated: /Users/lucatam/Documents/OpenSourceProject/openvino/build/thirdparty/onnx/onnx/onnx/onnx-operators_openvino_onnx-ml.proto
Generated: /Users/lucatam/Documents/OpenSourceProject/openvino/build/thirdparty/onnx/onnx/onnx/onnx-data_openvino_onnx.proto
-- 
-- ******** Summary ********
--   CMake version                     : 3.28.3
--   CMake command                     : /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake
--   System                            : Darwin
--   C++ compiler                      : /Library/Developer/CommandLineTools/usr/bin/c++
--   C++ compiler version              : 15.0.0.15000100
--   CXX flags                         : -Wsuggest-override  -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wno-suggest-override -Wnon-virtual-dtor
--   Build type                        : Release
--   Compile definitions               : OV_BUILD_POSTFIX="$<$<CONFIG:Debug>:d>$<$<CONFIG:Release>:>";IE_BUILD_POSTFIX="$<$<CONFIG:Debug>:d>$<$<CONFIG:Release>:>";OV_NATIVE_PARENT_PROJECT_ROOT_DIR="openvino";__STDC_FORMAT_MACROS
--   CMAKE_PREFIX_PATH                 : 
--   CMAKE_INSTALL_PREFIX              : /usr/local
--   CMAKE_MODULE_PATH                 : 
-- 
--   ONNX version                      : 1.15.0
--   ONNX NAMESPACE                    : openvino_onnx
--   ONNX_USE_LITE_PROTO               : ON
--   USE_PROTOBUF_SHARED_LIBS          : OFF
--   Protobuf_USE_STATIC_LIBS          : ON
--   ONNX_DISABLE_EXCEPTIONS           : OFF
--   ONNX_DISABLE_STATIC_REGISTRATION  : OFF
--   ONNX_WERROR                       : OFF
--   ONNX_BUILD_TESTS                  : OFF
--   ONNX_BUILD_BENCHMARKS             : OFF
--   ONNX_BUILD_SHARED_LIBS            : 
--   BUILD_SHARED_LIBS                 : OFF
-- 
--   Protobuf compiler                 : 
--   Protobuf includes                 : 
--   Protobuf libraries                : 
--   BUILD_ONNX_PYTHON                 : OFF
-- Using the multi-header code from /Users/lucatam/Documents/OpenSourceProject/openvino/thirdparty/json/nlohmann_json/include/
-- TBB (2021.2.4) is found at /Users/lucatam/Documents/OpenSourceProject/openvino/temp/tbb/lib/cmake/TBB
-- ONNX frontend test enabled
-- Adding unit test for backend IE_CPU
-- Adding unit test for backend INTERPRETER
-- DNNL_TARGET_ARCH: AARCH64
-- DNNL_LIBRARY_NAME: openvino_onednn_cpu
-- Configure to build /Users/lucatam/Documents/OpenSourceProject/openvino/src/plugins/intel_cpu/thirdparty/ComputeLibrary
CMake Warning at src/plugins/intel_cpu/thirdparty/onednn/cmake/ACL.cmake:39 (message):
  Build may fail: Could not determine ACL version (minimum required is
  23.02.1)
Call Stack (most recent call first):
  src/plugins/intel_cpu/thirdparty/onednn/CMakeLists.txt:129 (include)


-- Arm Compute Library: arm_compute::arm_compute;arm_compute::half
-- Arm Compute Library headers: $<TARGET_PROPERTY:arm_compute::arm_compute,INTERFACE_INCLUDE_DIRECTORIES>;$<TARGET_PROPERTY:arm_compute::half,INTERFACE_INCLUDE_DIRECTORIES>
-- Could NOT find Doxyrest (missing: DOXYREST_EXECUTABLE) 
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE) 
-- Enabled workload: INFERENCE
-- Enabled primitives: CONVOLUTION;DECONVOLUTION;CONCAT;LRN;INNER_PRODUCT;MATMUL;POOLING;REDUCTION;REORDER;RNN;SOFTMAX
-- Enabled primitive CPU ISA: ALL
-- Enabled primitive GPU ISA: ALL
-- Enabled GeMM kernels ISA: ALL
-- Primitive cache is enabled
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.3/share/cmake/Modules/FetchContent.cmake:1331 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  src/bindings/js/node/CMakeLists.txt:32 (FetchContent_Declare)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.28.3/share/cmake/Modules/FetchContent.cmake:1331 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  src/bindings/js/node/CMakeLists.txt:39 (FetchContent_Declare)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Python3: /Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/bin/python3.9 (found version "3.9.18") found components: Interpreter Development.Module 
-- Python3 executable: /Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/bin/python3.9
-- Python3 version: 3.9.18
-- Python3 interpreter ID: Python
-- Python3 SOABI: cpython-39-darwin
-- PYTHON_MODULE_EXTENSION: .cpython-39-darwin.so
-- Python3 include dirs: /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9
-- Python3 libraries: 
-- pybind11 v2.11.0 
-- Register template to be built in build-modules/template
-- Reference preprocessing: OpenCV tests are enabled
-- Register template_extension to be built in build-modules/template_extension
-- pybind11 v2.11.0 
-- Configuring done (5.0s)
-- Generating done (1.4s)
-- Build files have been written to: /Users/lucatam/Documents/OpenSourceProject/openvino/build
(opvenv) lucatam@192 build % cmake --build . --config Release --parallel 6
[7/103] Linking CXX shared library /Users/lucatam/Document...n/arm64/Release/libopenvino_paddle_frontend.2024.1.0.dyli
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_util.a'
[18/103] Linking CXX shared library /Users/lucatam/Documen...ourceProject/openvino/bin/arm64/Release/ov_node_addon.nod
ld: warning: -undefined suppress is deprecated
[27/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/sync_benchmark
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[28/103] Linking CXX executable /Users/lucatam/Documents/O...rceProject/openvino/bin/arm64/Release/throughput_benchmar
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[30/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/benchmark_app
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libgflags_nothreads.a'
[31/103] Linking CXX executable /Users/lucatam/Documents/O...ect/openvino/bin/arm64/Release/classification_sample_asyn
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libgflags_nothreads.a'
[35/103] Linking CXX executable /Users/lucatam/Documents/O...rceProject/openvino/bin/arm64/Release/hello_classificatio
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[36/103] Linking CXX executable /Users/lucatam/Documents/O...ourceProject/openvino/bin/arm64/Release/hello_query_devic
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[37/103] Linking CXX executable /Users/lucatam/Documents/O...openvino/bin/arm64/Release/hello_nv12_input_classificatio
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[38/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/hello_reshape_ss
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[39/103] Linking CXX executable /Users/lucatam/Documents/O...ceProject/openvino/bin/arm64/Release/model_creation_sampl
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[40/103] Linking CXX executable /Users/lucatam/Documents/O...eProject/openvino/bin/arm64/Release/hello_classification_
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[41/103] Linking C executable /Users/lucatam/Documents/Ope...envino/bin/arm64/Release/hello_nv12_input_classification_
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[43/103] Linking CXX executable /Users/lucatam/Documents/O...eProject/openvino/bin/arm64/Release/ov_integration_snippe
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[44/103] Linking C executable /Users/lucatam/Documents/Ope...roject/openvino/bin/arm64/Release/ov_integration_snippet_
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[49/103] Linking CXX executable /Users/lucatam/Documents/O...rceProject/openvino/bin/arm64/Release/ov_ir_frontend_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[50/103] Linking CXX executable /Users/lucatam/Documents/O...eProject/openvino/bin/arm64/Release/ov_snippets_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[51/103] Linking CXX executable /Users/lucatam/Documents/O...ect/openvino/bin/arm64/Release/ov_lp_transformations_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgmock.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[52/103] Linking CXX executable /Users/lucatam/Documents/O...ourceProject/openvino/bin/arm64/Release/ov_auto_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[53/103] Linking CXX executable /Users/lucatam/Documents/O...roject/openvino/bin/arm64/Release/ov_auto_batch_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[54/103] Linking CXX executable /Users/lucatam/Documents/O...rceProject/openvino/bin/arm64/Release/ov_hetero_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[55/103] Linking CXX executable /Users/lucatam/Documents/O...roject/openvino/bin/arm64/Release/ov_auto_batch_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[56/103] Linking CXX executable /Users/lucatam/Documents/O...ourceProject/openvino/bin/arm64/Release/ov_auto_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[57/103] Linking CXX executable /Users/lucatam/Documents/O...roject/openvino/bin/arm64/Release/ov_transformations_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libfunc_test_utils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgmock.a'
[58/103] Linking CXX executable /Users/lucatam/Documents/O...rceProject/openvino/bin/arm64/Release/ov_hetero_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[59/103] Linking CXX executable /Users/lucatam/Documents/O...ceProject/openvino/bin/arm64/Release/ov_proxy_plugin_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[60/103] Linking CXX executable /Users/lucatam/Documents/O...Project/openvino/bin/arm64/Release/ov_inference_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[61/103] Linking CXX executable /Users/lucatam/Documents/O...t/openvino/bin/arm64/Release/ov_inference_functional_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgmock.a'
[62/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/ov_capi_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_util.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', 'lib/Release/libgtest_main.a'
[63/103] Linking CXX shared module /Users/lucatam/Document...on/openvino/test_utils/test_utils_api.cpython-39-darwin.s
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[64/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/ov_util_tests
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[65/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/ov_cpu_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_snippets.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[66/103] Linking CXX executable /Users/lucatam/Documents/O...roject/openvino/bin/arm64/Release/ov_api_conformance_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[67/103] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/ov_cpu_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_runtime_s.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_shape_inference.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_snippets_models.a', 'lib/Release/libgmock.a', 'lib/Release/libgtest.a', 'lib/Release/libgtest_main.a'
[68/103] Linking CXX executable /Users/lucatam/Documents/O...Project/openvino/bin/arm64/Release/ov_op_conformance_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[69/103] Linking CXX executable /Users/lucatam/Documents/O...eProject/openvino/bin/arm64/Release/ov_template_func_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[70/103] Linking CXX executable /Users/lucatam/Documents/O...ourceProject/openvino/bin/arm64/Release/ov_core_unit_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_reference.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_shape_inference.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_util.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[72/103] Linking CXX shared library /Users/lucatam/Documen.../arm64/Release/libopenvino_pytorch_frontend.2024.1.0.dyli
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_util.a'
[76/103] Linking CXX executable /Users/lucatam/Documents/O...urceProject/openvino/bin/arm64/Release/ov_subgraphs_dumpe
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[77/103] Linking CXX executable /Users/lucatam/Documents/O...oject/openvino/bin/arm64/Release/ov_subgraphs_dumper_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[78/103] Linking CXX executable /Users/lucatam/Documents/O...ject/openvino/bin/arm64/Release/ov_tensorflow_common_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[79/103] Linking CXX executable /Users/lucatam/Documents/O...envino/bin/arm64/Release/ov_tensorflow_lite_frontend_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[80/103] Linking CXX executable /Users/lucatam/Documents/O...ct/openvino/bin/arm64/Release/ov_tensorflow_frontend_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[81/103] Linking CXX executable /Users/lucatam/Documents/O...eProject/openvino/bin/arm64/Release/ov_onnx_frontend_test
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'



oadkopoakd      
aks
opdkp
paoks
dopka
d




zsh: killed     cmake --build . --config Release --parallel 6
(opvenv) lucatam@192 build %

Issue submission checklist

  • I'm reporting an issue. It's not a question.
  • I checked the problem with the documentation, FAQ, open issues, Stack Overflow, etc., and have not found a solution.
@LucaTamSapienza
Copy link
Contributor Author

I have updated the fork and pulled the latest changes, I have tried it again (TESTS && FUNCTIONAL_TESTS ON) but the issue persists.

[713/737] Building Python wheel openvino-2024.1.0-14558-cp39-cp39-macosx_13_6_arm64.whl
DEPRECATION: --build-option and --global-option are deprecated. pip 24.2 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11859
WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option.
Processing /Users/lucatam/Documents/OpenSourceProject/openvino/src/bindings/python/wheel
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: openvino
  Building wheel for openvino (setup.py): started
  Building wheel for openvino (setup.py): finished with status 'done'
  Created wheel for openvino: filename=openvino-2024.1.0-14558-cp39-cp39-macosx_13_6_arm64.whl size=18345200 sha256=440d638123dc07c62070118796c1e8eccd9ae80738eb270d465d7a527b68f241
  Stored in directory: /private/var/folders/4_/qrv8z_2x7_v617zydqv6_6yh0000gn/T/pip-ephem-wheel-cache-zdcxcv2e/wheels/e6/06/46/68d1627a246107bea2ab7d28b6c9467d1f2260cedd0f23fe87
Successfully built openvino
[715/737] Building Python wheel openvino_dev-2024.1.0-14558-py3-none-any.whl
/Users/lucatam/Documents/OpenSourceProject/openvino/tools/openvino_dev/setup.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/command/sdist.py:126: SetuptoolsDeprecationWarning: `build_py` command does not inherit from setuptools' `build_py`.
!!

        ********************************************************************************
        Custom 'build_py' does not implement 'get_data_files_without_manifest'.
        Please extend command classes from setuptools instead of distutils.

        See https://peps.python.org/pep-0632/ for details.
        ********************************************************************************

!!
  self._add_data_files(self._safe_data_files(build_py))
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/_core_metadata.py:225: SetuptoolsDeprecationWarning: Ambiguity during "extra" normalization for dependencies.
!!

        ********************************************************************************
        'mxnet' and 'mxnet' normalize to the same value:

            'mxnet'

        In future versions, setuptools might halt the build process.

        See https://peps.python.org/pep-0685/ for details.
        ********************************************************************************

!!
  _write_provides_extra(file, processed_extras, extra, unsafe_extra)
/Users/lucatam/Documents/OpenSourceProject/openvino/tools/openvino_dev/setup.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
/Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/lib/python3.9/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)

As you can see before [715/737] the output is that Successfully built openvino but so why it keep's going? and why it never stops?

@LucaTamSapienza
Copy link
Contributor Author

If i try to see the current running process:

ps aux | grep cmake

i got the following output, means that the cmake process is currently running but as i mentioned above it's unresponsive.

lucatam@192 ~ % ps aux | grep cmake                                                            

lucatam           5561   0,0  0,0 408507616   6144 s000  S     1:53pm   0:00.01 /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake -E env PYTHONPATH=/Users/lucatam/Documents/OpenSourceProject/openvino/build/src/frontends/paddle/tests/thirdparty/PaddleDetection/ppdet/modeling/ /Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/bin/python3.9 /Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/paddle/tests/test_models/gen_wrapper.py /Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/paddle/tests/test_models/gen_scripts /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/test_model_zoo/paddle_test_models/
lucatam           5555   0,0  0,0 408645872    752 s000  S     1:53pm   0:00.00 /bin/sh -c cd /Users/lucatam/Documents/OpenSourceProject/openvino/build/src/frontends/paddle/tests && /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake -E env PYTHONPATH=/Users/lucatam/Documents/OpenSourceProject/openvino/build/src/frontends/paddle/tests/thirdparty/PaddleDetection/ppdet/modeling/ /Users/lucatam/Documents/OpenSourceProject/openvino/opvenv/bin/python3.9 /Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/paddle/tests/test_models/gen_wrapper.py /Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/paddle/tests/test_models/gen_scripts /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/test_model_zoo/paddle_test_models/
lucatam           5546   0,0  0,0 408527344   6368 s000  S+    1:53pm   0:00.01 cmake --build . --parallel
lucatam           8147   0,0  0,0 408636112   1424 s001  S+    2:10pm   0:00.00 grep cmake

@vurusovs
Copy link
Contributor

@LucaTamSapienza regarding issue with ov_proxy_plugin_tests, the fix is in #23022. For the moment you may disable it by specifying -DENABLE_PROXY=OFF in cmake command

@LucaTamSapienza
Copy link
Contributor Author

@vurusovs Ok, I'll try to see if it works.

@LucaTamSapienza
Copy link
Contributor Author

got the following error

[16/150] Building CXX object src/inference/CMakeFiles/...vino_runtime_obj.dir/Release/src/dev/make_tensor.cpp.
FAILED: src/inference/CMakeFiles/openvino_runtime_obj.dir/Release/src/dev/make_tensor.cpp.o 
/Library/Developer/CommandLineTools/usr/bin/c++ -DIE_BUILD_POSTFIX=\"\" -DIE_THREAD=IE_THREAD_TBB -DIMPLEMENT_OPENVINO_RUNTIME_API -DIN_OV_COMPONENT -DOV_BUILD_POSTFIX=\"\" -DOV_NATIVE_PARENT_PROJECT_ROOT_DIR=\"openvino\" -DOV_THREAD=OV_THREAD_TBB -DTBB_PREVIEW_WAITING_FOR_WORKERS=1 -DCMAKE_INTDIR=\"Release\" -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/dev_api -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/common/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/dev_api -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/common/transformations/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/common/low_precision_transformations/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/common/itt/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/common/util/include -I/Users/lucatam/Documents/OpenSourceProject/openvino/build/src/inference/Release -I/Users/lucatam/Documents/OpenSourceProject/openvino/src/common/conditional_compilation/include -isystem /opt/homebrew/include -isystem /Users/lucatam/Documents/OpenSourceProject/openvino/temp/tbb/include -Wsuggest-override  -fsigned-char -ffunction-sections -fdata-sections -fdiagnostics-show-option -Wall -Wundef -Wmissing-declarations -O3 -DNDEBUG  -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector-all -ffile-prefix-map=/Users/lucatam/Documents/OpenSourceProject/openvino/= -ffile-prefix-map=..//= -std=c++11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT src/inference/CMakeFiles/openvino_runtime_obj.dir/Release/src/dev/make_tensor.cpp.o -MF src/inference/CMakeFiles/openvino_runtime_obj.dir/Release/src/dev/make_tensor.cpp.o.d -o src/inference/CMakeFiles/openvino_runtime_obj.dir/Release/src/dev/make_tensor.cpp.o -c /Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:355:12: error: incomplete result type 'ov::Tensor' in function definition
ov::Tensor make_tensor(const std::shared_ptr<ITensor>& tensor, const std::shared_ptr<void>& so) {
           ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:356:12: error: invalid use of incomplete type 'ov::Tensor'
    return ov::Tensor(tensor, so);
           ^~~~~~~~~~~~~~~~~~~~~~
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:356:12: error: initialization of incomplete type 'ov::Tensor'
    return ov::Tensor(tensor, so);
           ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:360:25: error: member access into incomplete type 'const ov::Tensor'
    tensor_impl = tensor._impl;
                        ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:361:16: error: member access into incomplete type 'const ov::Tensor'
    so = tensor._so;
               ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/inference/src/dev/make_tensor.cpp:366:12: error: incomplete result type 'ov::Tensor' in function definition
ov::Tensor make_tensor(const ov::SoPtr<ITensor>& tensor) {
           ^
/Users/lucatam/Documents/OpenSourceProject/openvino/src/core/include/openvino/runtime/allocator.hpp:20:7: note: forward declaration of 'ov::Tensor'
class Tensor;
      ^
6 errors generated.
[26/150] Building CXX object src/inference/CMakeFiles/openvino_runtime_obj.dir/Release/src/dev/core_impl.cpp.o
  

aisjdia

terminal is always unresponsive, like i mentioned above.

@LucaTamSapienza
Copy link
Contributor Author

I tried to remove the build directory and rebuild it with only ENABLE_TESTS=ON but still have the same issue:

cmake -DENABLE_TESTS=ON ..
cmake --build . --parallel

(btw, if i enable TESTS, also FUNCTIONAL_TESTS goes ON.)

At the end of the building i got the following:

[100%] Building CXX object src/plugins/intel_cpu/tests/functional/CMakeFiles/ov_cpu_func_tests.dir/custom/single_layer_tests/instances/arm/conversion.cpp.o
[100%] Building CXX object src/plugins/intel_cpu/tests/functional/CMakeFiles/ov_cpu_func_tests.dir/custom/single_layer_tests/instances/arm/eltwise.cpp.o
[100%] Linking CXX executable /Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/ov_cpu_func_tests
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: ignoring duplicate libraries: '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libcommonTestUtils.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libopenvino_snippets.a', '/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/libov_models.a'
[100%] Built target ov_cpu_func_tests


njn
oij


(terminal always unresponsive)
and after killig it give me this output:

^CTraceback (most recent call last):
  File "/Users/lucatam/Documents/OpenSourceProject/openvino/src/frontends/paddle/tests/test_models/gen_wrapper.py", line 22, in <module>
    status = subprocess.run([sys.executable, gen_script, out_folder], env=os.environ)
  File "/opt/homebrew/Cellar/[email protected]/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 507, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/opt/homebrew/Cellar/[email protected]/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1126, in communicate
    self.wait()
  File "/opt/homebrew/Cellar/[email protected]/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1189, in wait
    return self._wait(timeout=timeout)
  File "/opt/homebrew/Cellar/[email protected]/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1933, in _wait
    (pid, sts) = self._try_wait(0)
  File "/opt/homebrew/Cellar/[email protected]/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1891, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
make[2]: *** [/Users/lucatam/Documents/OpenSourceProject/openvino/bin/arm64/Release/test_model_zoo/paddle_test_models/generate_done.txt] Interrupt: 2
make[1]: *** [src/frontends/paddle/tests/CMakeFiles/paddle_test_models.dir/all] Interrupt: 2
make: *** [all] Interrupt: 2

ilya-lavrenov pushed a commit that referenced this issue Feb 23, 2024
@ilya-lavrenov
Copy link
Contributor

make[1]: *** [src/frontends/paddle/tests/CMakeFiles/paddle_test_models.dir/all] Interrupt: 2

Could you please try to remove PDPD tests requirements from your virtual env and check whether it helps?
Looks like you have installed https://github.com/openvinotoolkit/openvino/blob/master/src/frontends/paddle/tests/requirements.txt

Looks like PDPD models creation takes a lot of time on your machine (I suppose it does not hang, but you need to wait more time)

@LucaTamSapienza
Copy link
Contributor Author

I'll see if, even with the merge of this PR, it presents the same issue. If it does, I'll try your approach.

@LucaTamSapienza
Copy link
Contributor Author

@ilya-lavrenov
I had the same issue with the updated branch. I tried uninstalling PDPD, and it worked. Thank you so much for the help.
For the future what i should do? If i need PDPD on my Venv i mean.

@avitial avitial added the category: build OpenVINO cmake script / infra label Feb 23, 2024
@ilya-lavrenov
Copy link
Contributor

ilya-lavrenov commented Feb 23, 2024

If i need PDPD on my Venv i mean.

PDPD is used to convert test models for PDPD FE tests.
If you don't plan to run such tests, then you don't need to install PDPD requirements.

BTW, are you really sure that it hangs, maybe it rather takes several minutes to complete? There are a lot of models that need to be converted from .prototxt to .pdmodel format

@LucaTamSapienza
Copy link
Contributor Author

are you really sure that it hangs, maybe it rather takes several minutes to complete?

Honestly, I don't know. I left the computer for about 10 minutes after only the PDPD models were left to compile. I tried several times, and honestly, I hadn't encountered this issue with my old computer.
Anyway, if I need to run those tests, I'll leave the computer for a longer time to see if it eventually resolves. Thank you very much for your help.

Copy link
Contributor

This issue will be closed in a week because of 9 months of no activity.

@github-actions github-actions bot added the Stale label Nov 26, 2024
Copy link
Contributor

github-actions bot commented Dec 3, 2024

This issue was closed because it has been stalled for 9 months with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra Stale support_request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants