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

[openvino] build failure #39161

Closed
M3nxudo opened this issue Jun 6, 2024 · 5 comments
Closed

[openvino] build failure #39161

M3nxudo opened this issue Jun 6, 2024 · 5 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@M3nxudo
Copy link

M3nxudo commented Jun 6, 2024

Operating system

Windows

Compiler

MSVC

Steps to reproduce the behavior

vcpkg install openvino

Failure logs

D:\dev\vcpkg>vcpkg install openvino
Computing installation plan...
Found a constraint violation:
  warning: dependency protobuf:x64-windows was expected to be at least version 3.21.2, but is currently 3.19.4.
The following packages will be built and installed:
    openvino[auto,auto-batch,core,cpu,gpu,hetero,ir,onnx,paddle,pytorch,tensorflow,tensorflow-lite]:[email protected]
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\develop\AppData\Local\vcpkg\archives in 7.64 ms. Use --debug to see more details.
Installing 1/1 openvino[auto,auto-batch,core,cpu,gpu,hetero,ir,onnx,paddle,pytorch,tensorflow,tensorflow-lite]:[email protected]...
Building openvino[auto,auto-batch,core,cpu,gpu,hetero,ir,onnx,paddle,pytorch,tensorflow,tensorflow-lite]:[email protected]...
-- Using cached openvinotoolkit-openvino-2024.1.0.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/openvinotoolkit-openvino-2024.1.0.tar.gz
-- Applying patch 001-disable-tools.patch
-- Using source at D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean
-- Using cached oneapi-src-oneDNN-4e6ff043c439652fcf6c400ac4e0c81bbac7c71c.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/openvino/src/1bbac7c71c-1b2e22a789.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/oneapi-src-oneDNN-4e6ff043c439652fcf6c400ac4e0c81bbac7c71c.tar.gz
-- Using source at D:/dev/vcpkg/buildtrees/openvino/src/1bbac7c71c-1b2e22a789.clean
-- Using cached openvinotoolkit-oneDNN-26633ae49edd4353a29b7170d9fcef6b2d7.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/openvino/src/9fcef6b2d7-96f37b6950.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/openvinotoolkit-oneDNN-26633ae49edd4353a29b7170d9fcef6b2d7.tar.gz
-- Using source at D:/dev/vcpkg/buildtrees/openvino/src/9fcef6b2d7-96f37b6950.clean
-- Using cached openvinotoolkit-mlas-d1bc25ec4660cddd87804fcf03b2411b5dfb2e94.tar.gz.
-- Cleaning sources at D:/dev/vcpkg/buildtrees/openvino/src/1b5dfb2e94-e89ef61ea3.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/dev/vcpkg/downloads/openvinotoolkit-mlas-d1bc25ec4660cddd87804fcf03b2411b5dfb2e94.tar.gz
-- Using source at D:/dev/vcpkg/buildtrees/openvino/src/1b5dfb2e94-e89ef61ea3.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: D:/dev/vcpkg/buildtrees/openvino/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      D:\dev\vcpkg\buildtrees\openvino\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:331 (vcpkg_execute_required_process)
  ports/openvino/portfile.cmake:122 (vcpkg_cmake_configure)
  scripts/ports.cmake:175 (include)


warning: dependency protobuf:x64-windows was expected to be at least version 3.21.2, but is currently 3.19.4.
error: building openvino:x64-windows failed with: BUILD_FAILED
Elapsed time to handle openvino:x64-windows: 4.2 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openvino
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?title=[openvino]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2Fdev%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Additional context

The openvino port seems to not be working properly.
I have tried to build on different machines with different configurations and all of them fail.
I saw that in #38221 they seem to be having the same problem

@M3nxudo M3nxudo added the category:port-bug The issue is with a library, which is something the port should already support label Jun 6, 2024
@Cheney-W Cheney-W changed the title [<openvino>] build failure [openvino] build failure Jun 6, 2024
@StarGate-One
Copy link
Contributor

What does the log file D:\dev\vcpkg\buildtrees\openvino\config-x64-windows-out.log have as far as an error?
Also did you upgrade protobuf to version 3.21.2 as mentioned in the displayed warning/error.

warning: dependency protobuf:x64-windows was expected to be at least version 3.21.2, but is currently 3.19.4.
error: building openvino:x64-windows failed with: BUILD_FAILED

@Cheney-W Cheney-W added requires:repro The issue is not currently repro-able and removed category:port-bug The issue is with a library, which is something the port should already support labels Jun 7, 2024
@Cheney-W
Copy link
Contributor

Cheney-W commented Jun 7, 2024

I can't reproduce this issue in my side with the latest vcpkg 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457.
image

@M3nxudo
Copy link
Author

M3nxudo commented Jun 7, 2024

What does the log file D:\dev\vcpkg\buildtrees\openvino\config-x64-windows-out.log have as far as an error? Also did you upgrade protobuf to version 3.21.2 as mentioned in the displayed warning/error.

warning: dependency protobuf:x64-windows was expected to be at least version 3.21.2, but is currently 3.19.4.
error: building openvino:x64-windows failed with: BUILD_FAILED

Here is the out log (before udpating the protobuf version with command vcpkg upgrade protobuf --no-dry-run, will see if the updated protobuf version can fix the issue -currently reinstalling openvino-):

D:\dev\vcpkg\buildtrees\openvino\config-x64-windows-out.log
[1/2] "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/dev/vcpkg/packages/openvino_x64-windows" "-DENABLE_INTEL_CPU=ON" "-DENABLE_INTEL_GPU=ON" "-DENABLE_INTEL_NPU=OFF" "-DENABLE_AUTO=ON" "-DENABLE_HETERO=ON" "-DENABLE_AUTO_BATCH=ON" "-DENABLE_OV_IR_FRONTEND=ON" "-DENABLE_OV_ONNX_FRONTEND=ON" "-DENABLE_OV_PADDLE_FRONTEND=ON" "-DENABLE_OV_PYTORCH_FRONTEND=ON" "-DENABLE_OV_TF_FRONTEND=ON" "-DENABLE_OV_TF_LITE_FRONTEND=ON" "-DENABLE_SYSTEM_OPENCL=ON" "-DPython3_EXECUTABLE=D:/dev/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe" "-DENABLE_SYSTEM_PROTOBUF=ON" "-DENABLE_SYSTEM_SNAPPY=ON" "-DENABLE_SYSTEM_FLATBUFFERS=ON" "-DENABLE_SYSTEM_TBB=ON" "-DENABLE_SYSTEM_PUGIXML=ON" "-DENABLE_TBBBIND_2_5=OFF" "-DENABLE_CLANG_FORMAT=OFF" "-DENABLE_NCC_STYLE=OFF" "-DENABLE_CPPLINT=OFF" "-DENABLE_SAMPLES=OFF" "-DENABLE_TEMPLATE=OFF" "-DENABLE_PYTHON=OFF" "-DCPACK_GENERATOR=VCPKG" "-DENABLE_JS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt 
"D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/dev/vcpkg/packages/openvino_x64-windows" "-DENABLE_INTEL_CPU=ON" "-DENABLE_INTEL_GPU=ON" "-DENABLE_INTEL_NPU=OFF" "-DENABLE_AUTO=ON" "-DENABLE_HETERO=ON" "-DENABLE_AUTO_BATCH=ON" "-DENABLE_OV_IR_FRONTEND=ON" "-DENABLE_OV_ONNX_FRONTEND=ON" "-DENABLE_OV_PADDLE_FRONTEND=ON" "-DENABLE_OV_PYTORCH_FRONTEND=ON" "-DENABLE_OV_TF_FRONTEND=ON" "-DENABLE_OV_TF_LITE_FRONTEND=ON" "-DENABLE_SYSTEM_OPENCL=ON" "-DPython3_EXECUTABLE=D:/dev/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe" "-DENABLE_SYSTEM_PROTOBUF=ON" "-DENABLE_SYSTEM_SNAPPY=ON" "-DENABLE_SYSTEM_FLATBUFFERS=ON" "-DENABLE_SYSTEM_TBB=ON" "-DENABLE_SYSTEM_PUGIXML=ON" "-DENABLE_TBBBIND_2_5=OFF" "-DENABLE_CLANG_FORMAT=OFF" "-DENABLE_NCC_STYLE=OFF" "-DENABLE_CPPLINT=OFF" "-DENABLE_SAMPLES=OFF" "-DENABLE_TEMPLATE=OFF" "-DENABLE_PYTHON=OFF" "-DCPACK_GENERATOR=VCPKG" "-DENABLE_JS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.29.30154.0
-- The CXX compiler identification is MSVC 19.29.30154.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
-- OpenVINO version is 2024.1.0 (Build 000)
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED - Failed
-- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED
-- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED - Failed
-- Trying to find apivalidator in: 
    * C:/Program Files (x86)/Windows Kits/10/bin//x64
    * C:/Program Files (x86)/Windows Kits/10/bin/x64
-- OpenVINO Runtime enabled features: 
-- 
--     CI_BUILD_NUMBER: 2024.1.0-000--
--     CPACK_GENERATOR = VCPKG
--     ENABLE_LTO = OFF
--     OS_FOLDER = OFF
--     USE_BUILD_TYPE_SUBFOLDER = ON
--     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 = ON
--     ENABLE_AVX2 = ON
--     ENABLE_AVX512F = ON
--     BUILD_SHARED_LIBS = ON
--     ENABLE_LIBRARY_VERSIONING = OFF
--     ENABLE_FASTER_BUILD = OFF
--     ENABLE_CPPLINT = OFF
--     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 = OFF
--     ENABLE_INTEL_GPU = ON
--     ENABLE_ONEDNN_FOR_GPU = ON
--     ENABLE_INTEL_NPU = OFF
--     ENABLE_DEBUG_CAPS = OFF
--     ENABLE_NPU_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 = OFF
--     ENABLE_PLUGINS_XML = OFF
--     ENABLE_FUNCTIONAL_TESTS = OFF
--     ENABLE_SAMPLES = OFF
--     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 = OFF
--     ENABLE_SYSTEM_TBB = ON
--     ENABLE_SYSTEM_PUGIXML = ON
--     ENABLE_SYSTEM_FLATBUFFERS = ON
--     ENABLE_SYSTEM_OPENCL = ON
--     ENABLE_SYSTEM_PROTOBUF = ON
--     ENABLE_SYSTEM_SNAPPY = ON
--     ENABLE_PYTHON_PACKAGING = OFF
--     ENABLE_JS = OFF
--     ENABLE_OPENVINO_DEBUG = OFF
-- 
-- CMAKE_VERSION ......................... 3.29.2
-- OpenVINO_SOURCE_DIR ................... D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean
-- OpenVINO_BINARY_DIR ................... D:/dev/vcpkg/buildtrees/openvino/x64-windows-rel
-- CMAKE_GENERATOR ....................... Ninja
-- CPACK_GENERATOR ....................... VCPKG
-- CMAKE_C_COMPILER_ID ................... MSVC
-- CMAKE_CXX_COMPILER_ID ................. MSVC
-- CMAKE_CXX_STANDARD .................... 14
-- CMAKE_BUILD_TYPE ...................... Release
-- CMAKE_TOOLCHAIN_FILE .................. D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
CMake Error at D:/dev/vcpkg/installed/x64-windows/share/protobuf/vcpkg-cmake-wrapper.cmake:16 (_find_package):
  Could not find a configuration file for package "Protobuf" that is
  compatible with requested version "3.20.3".

  The following configuration files were considered but not accepted:

    D:/dev/vcpkg/installed/x64-windows/share/protobuf/protobuf-config.cmake, version: 3.19.4.0

Call Stack (most recent call first):
  D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  thirdparty/dependencies.cmake:338 (find_package)
  CMakeLists.txt:138 (include)


-- Configuring incomplete, errors occurred!
[2/2] "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/dev/vcpkg/packages/openvino_x64-windows/debug" "-DENABLE_INTEL_CPU=ON" "-DENABLE_INTEL_GPU=ON" "-DENABLE_INTEL_NPU=OFF" "-DENABLE_AUTO=ON" "-DENABLE_HETERO=ON" "-DENABLE_AUTO_BATCH=ON" "-DENABLE_OV_IR_FRONTEND=ON" "-DENABLE_OV_ONNX_FRONTEND=ON" "-DENABLE_OV_PADDLE_FRONTEND=ON" "-DENABLE_OV_PYTORCH_FRONTEND=ON" "-DENABLE_OV_TF_FRONTEND=ON" "-DENABLE_OV_TF_LITE_FRONTEND=ON" "-DENABLE_SYSTEM_OPENCL=ON" "-DPython3_EXECUTABLE=D:/dev/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe" "-DENABLE_SYSTEM_PROTOBUF=ON" "-DENABLE_SYSTEM_SNAPPY=ON" "-DENABLE_SYSTEM_FLATBUFFERS=ON" "-DENABLE_SYSTEM_TBB=ON" "-DENABLE_SYSTEM_PUGIXML=ON" "-DENABLE_TBBBIND_2_5=OFF" "-DENABLE_CLANG_FORMAT=OFF" "-DENABLE_NCC_STYLE=OFF" "-DENABLE_CPPLINT=OFF" "-DENABLE_SAMPLES=OFF" "-DENABLE_TEMPLATE=OFF" "-DENABLE_PYTHON=OFF" "-DCPACK_GENERATOR=VCPKG" "-DENABLE_JS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../../x64-windows-dbg/CMakeCache.txt 
"D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "D:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/dev/vcpkg/packages/openvino_x64-windows/debug" "-DENABLE_INTEL_CPU=ON" "-DENABLE_INTEL_GPU=ON" "-DENABLE_INTEL_NPU=OFF" "-DENABLE_AUTO=ON" "-DENABLE_HETERO=ON" "-DENABLE_AUTO_BATCH=ON" "-DENABLE_OV_IR_FRONTEND=ON" "-DENABLE_OV_ONNX_FRONTEND=ON" "-DENABLE_OV_PADDLE_FRONTEND=ON" "-DENABLE_OV_PYTORCH_FRONTEND=ON" "-DENABLE_OV_TF_FRONTEND=ON" "-DENABLE_OV_TF_LITE_FRONTEND=ON" "-DENABLE_SYSTEM_OPENCL=ON" "-DPython3_EXECUTABLE=D:/dev/vcpkg/downloads/tools/python/python-3.11.8-x64/python.exe" "-DENABLE_SYSTEM_PROTOBUF=ON" "-DENABLE_SYSTEM_SNAPPY=ON" "-DENABLE_SYSTEM_FLATBUFFERS=ON" "-DENABLE_SYSTEM_TBB=ON" "-DENABLE_SYSTEM_PUGIXML=ON" "-DENABLE_TBBBIND_2_5=OFF" "-DENABLE_CLANG_FORMAT=OFF" "-DENABLE_NCC_STYLE=OFF" "-DENABLE_CPPLINT=OFF" "-DENABLE_SAMPLES=OFF" "-DENABLE_TEMPLATE=OFF" "-DENABLE_PYTHON=OFF" "-DCPACK_GENERATOR=VCPKG" "-DENABLE_JS=OFF" "-DCMAKE_MAKE_PROGRAM=C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/dev/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/dev/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.29.30154.0
-- The CXX compiler identification is MSVC 19.29.30154.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
-- OpenVINO version is 2024.1.0 (Build 000)
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED
-- Performing Test SUGGEST_OVERRIDE_SUPPORTED - Failed
-- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED
-- Performing Test UNUSED_BUT_SET_VARIABLE_SUPPORTED - Failed
-- Trying to find apivalidator in: 
    * C:/Program Files (x86)/Windows Kits/10/bin//x64
    * C:/Program Files (x86)/Windows Kits/10/bin/x64
-- OpenVINO Runtime enabled features: 
-- 
--     CI_BUILD_NUMBER: 2024.1.0-000--
--     CPACK_GENERATOR = VCPKG
--     ENABLE_LTO = OFF
--     OS_FOLDER = OFF
--     USE_BUILD_TYPE_SUBFOLDER = ON
--     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 = ON
--     ENABLE_AVX2 = ON
--     ENABLE_AVX512F = ON
--     BUILD_SHARED_LIBS = ON
--     ENABLE_LIBRARY_VERSIONING = OFF
--     ENABLE_FASTER_BUILD = OFF
--     ENABLE_CPPLINT = OFF
--     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 = OFF
--     ENABLE_INTEL_GPU = ON
--     ENABLE_ONEDNN_FOR_GPU = ON
--     ENABLE_INTEL_NPU = OFF
--     ENABLE_DEBUG_CAPS = OFF
--     ENABLE_NPU_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 = OFF
--     ENABLE_PLUGINS_XML = OFF
--     ENABLE_FUNCTIONAL_TESTS = OFF
--     ENABLE_SAMPLES = OFF
--     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 = OFF
--     ENABLE_SYSTEM_TBB = ON
--     ENABLE_SYSTEM_PUGIXML = ON
--     ENABLE_SYSTEM_FLATBUFFERS = ON
--     ENABLE_SYSTEM_OPENCL = ON
--     ENABLE_SYSTEM_PROTOBUF = ON
--     ENABLE_SYSTEM_SNAPPY = ON
--     ENABLE_PYTHON_PACKAGING = OFF
--     ENABLE_JS = OFF
--     ENABLE_OPENVINO_DEBUG = OFF
-- 
-- CMAKE_VERSION ......................... 3.29.2
-- OpenVINO_SOURCE_DIR ................... D:/dev/vcpkg/buildtrees/openvino/src/2024.1.0-cd3e6447bb.clean
-- OpenVINO_BINARY_DIR ................... D:/dev/vcpkg/buildtrees/openvino/x64-windows-dbg
-- CMAKE_GENERATOR ....................... Ninja
-- CPACK_GENERATOR ....................... VCPKG
-- CMAKE_C_COMPILER_ID ................... MSVC
-- CMAKE_CXX_COMPILER_ID ................. MSVC
-- CMAKE_CXX_STANDARD .................... 14
-- CMAKE_BUILD_TYPE ...................... Debug
-- CMAKE_TOOLCHAIN_FILE .................. D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake
CMake Error at D:/dev/vcpkg/installed/x64-windows/share/protobuf/vcpkg-cmake-wrapper.cmake:16 (_find_package):
  Could not find a configuration file for package "Protobuf" that is
  compatible with requested version "3.20.3".

  The following configuration files were considered but not accepted:

    D:/dev/vcpkg/installed/x64-windows/share/protobuf/protobuf-config.cmake, version: 3.19.4.0

Call Stack (most recent call first):
  D:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:813 (include)
  thirdparty/dependencies.cmake:338 (find_package)
  CMakeLists.txt:138 (include)


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

@StarGate-One
Copy link
Contributor

CMake Error at D:/dev/vcpkg/installed/x64-windows/share/protobuf/vcpkg-cmake-wrapper.cmake:16 (_find_package):
Could not find a configuration file for package "Protobuf" that is
compatible with requested version "3.20.3".

The same error as the screen display - upgrade to newer version of protobuf.

@M3nxudo
Copy link
Author

M3nxudo commented Jun 17, 2024

It seemed to be the sole issue with my installation attempt, did testing with global and local installations and everything is working as expected now.
Closing the issue.

@M3nxudo M3nxudo closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

3 participants