vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[grpc] Build failure

Open alfiankan opened this issue 1 year ago • 1 comments

Package: grpc[codegen,core]:arm64-osx-release -> 1.66.1

Host Environment

  • Host: arm64-osx
  • Compiler: AppleClang 15.0.0.15000309
  • vcpkg-tool version: 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416 vcpkg-scripts version: b6fcbeaa7 2024-08-27 (9 hours ago)

To Reproduce

vcpkg install Failure logs

-- Using cached canonical-grpc-e3acf245a91630fe4d464091ba5446f6a638d82f.tar.gz.
-- Cleaning sources at /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/downloads/canonical-grpc-e3acf245a91630fe4d464091ba5446f6a638d82f.tar.gz
-- Applying patch 00002-static-linking-in-linux.patch
-- Applying patch 00003-undef-base64-macro.patch
-- Applying patch 00004-link-gdi32-on-windows.patch
-- Applying patch 00005-fix-uwp-error.patch
-- Applying patch 00006-remove-unused-libraries.patch
-- Applying patch snprintf.patch
-- Applying patch 00015-disable-download-archive.patch
-- Using source at /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean
-- Found external ninja('1.12.1').
-- Configuring arm64-osx-release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /run/current-system/sw/bin/ninja -v
    Working Directory: /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/arm64-osx-release-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/config-arm64-osx-release-rel-CMakeCache.txt.log
      /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/config-arm64-osx-release-out.log

Call Stack (most recent call first):
  /Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
  /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg-ports/grpc/portfile.cmake:40 (vcpkg_cmake_configure)
  scripts/ports.cmake:192 (include)



/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/config-arm64-osx-release-rel-CMakeCache.txt.log
# This is the CMakeCache file.
# For build in directory: /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/arm64-osx-release-rel
# It was generated by CMake: /nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.

########################
# EXTERNAL cache entries
########################

//No help, variable specified on the command line.
BUILD_SHARED_LIBS:UNINITIALIZED=OFF

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Release

CMAKE_CROSSCOMPILING:STRING=OFF

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=-fPIC

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=-fPIC

//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//No help, variable specified on the command line.
CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//No help, variable specified on the command line.
CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON

//No help, variable specified on the command line.
CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON

//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/arm64-osx-release-rel/CMakeFiles/pkgRedirects

//No help, variable specified on the command line.
CMAKE_INSTALL_BINDIR:STRING=bin

//No help, variable specified on the command line.
CMAKE_INSTALL_LIBDIR:STRING=lib

//Path to a program.
CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/packages/grpc_arm64-osx-release

//No help, variable specified on the command line.
CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

CMAKE_MACOSX_RPATH:BOOL=ON

//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:UNINITIALIZED=/run/current-system/sw/bin/ninja

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//Build architectures for OSX
CMAKE_OSX_ARCHITECTURES:STRING=arm64

//Minimum OS X version to target for deployment (at runtime); newer
// APIs weak linked. Set to empty string for default value.
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=

//The product will be built against the headers and libraries located
// inside the indicated SDK.
CMAKE_OSX_SYSROOT:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=grpc

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

CMAKE_SYSTEM_NAME:STRING=Darwin

CMAKE_SYSTEM_PROCESSOR:STRING=arm64

CMAKE_SYSTEM_VERSION:STRING=23.5.0

//Path to a program.
CMAKE_TAPI:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/tapi

//The CMake toolchain file
CMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/scripts/buildsystems/vcpkg.cmake

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=ON

//No help, variable specified on the command line.
FETCHCONTENT_FULLY_DISCONNECTED:UNINITIALIZED=ON

//Path to a library.
OPENSSL_CRYPTO_LIBRARY:FILEPATH=OPENSSL_CRYPTO_LIBRARY-NOTFOUND

//Path to a file.
OPENSSL_INCLUDE_DIR:PATH=OPENSSL_INCLUDE_DIR-NOTFOUND

//Path to a library.
OPENSSL_SSL_LIBRARY:FILEPATH=OPENSSL_SSL_LIBRARY-NOTFOUND

//Arguments to supply to pkg-config
PKG_CONFIG_ARGN:STRING=

//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=/run/current-system/sw/bin/pkg-config

//The directory containing a CMake configuration file for Protobuf.
Protobuf_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/protobuf

//Path to a program.
Protobuf_PROTOC_EXECUTABLE:FILEPATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc

//Automatically copy dependencies into the output directory for
// executables.
VCPKG_APPLOCAL_DEPS:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/scripts/toolchains/osx.cmake

//No help, variable specified on the command line.
VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_C_FLAGS_RELEASE:UNINITIALIZED=

//The directory which contains the installed libraries for each
// triplet
VCPKG_INSTALLED_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED=

//No help, variable specified on the command line.
VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED=

//The path to the vcpkg manifest directory.
VCPKG_MANIFEST_DIR:PATH=

//Use manifest mode, as opposed to classic mode.
VCPKG_MANIFEST_MODE:BOOL=OFF

//No help, variable specified on the command line.
VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=external

//Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH
// and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are
// found after toolchain/system libraries/packages.
VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF

//Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths
VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON

//No help, variable specified on the command line.
VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON

//No help, variable specified on the command line.
VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=arm64

//Vcpkg target triplet (ex. x86-windows)
VCPKG_TARGET_TRIPLET:STRING=arm64-osx-release

//Trace calls to find_package()
VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF

//Enables messages from the VCPKG toolchain for debugging purposes.
VCPKG_VERBOSE:BOOL=OFF

//(experimental) Automatically copy dependencies into the install
// target directory for executables. Requires CMake 3.14.
X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF

//(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force
// serialization.
X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF

//The directory which contains the installed libraries for each
// triplet
_VCPKG_INSTALLED_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed

//No help, variable specified on the command line.
_VCPKG_ROOT_DIR:UNINITIALIZED=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg

//No help, variable specified on the command line.
_gRPC_PROTOBUF_PROTOC_EXECUTABLE:UNINITIALIZED=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc

//The directory containing a CMake configuration file for absl.
absl_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/absl

//The directory containing a CMake configuration file for c-ares.
c-ares_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/c-ares

//Provider of absl library
gRPC_ABSL_PROVIDER:STRING=package

//Build libraries that are binary compatible across a larger number
// of OS and libc versions
gRPC_BACKWARDS_COMPATIBILITY_MODE:BOOL=OFF

//No help, variable specified on the command line.
gRPC_BENCHMARK_PROVIDER:UNINITIALIZED=none

//Build codegen
gRPC_BUILD_CODEGEN:BOOL=ON

//Build C# extensions
gRPC_BUILD_CSHARP_EXT:BOOL=ON

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_CSHARP_PLUGIN:UNINITIALIZED=OFF

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_NODE_PLUGIN:UNINITIALIZED=OFF

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN:UNINITIALIZED=OFF

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_PHP_PLUGIN:UNINITIALIZED=OFF

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_PYTHON_PLUGIN:UNINITIALIZED=OFF

//No help, variable specified on the command line.
gRPC_BUILD_GRPC_RUBY_PLUGIN:UNINITIALIZED=OFF

//The maximum number of processes for MSVC /MP option
gRPC_BUILD_MSVC_MP_COUNT:STRING=0

//Build tests
gRPC_BUILD_TESTS:BOOL=OFF

//Provider of c-ares library
gRPC_CARES_PROVIDER:STRING=package

//Generate installation target
gRPC_INSTALL:BOOL=ON

//No help, variable specified on the command line.
gRPC_INSTALL_BINDIR:STRING=bin

//No help, variable specified on the command line.
gRPC_INSTALL_CMAKEDIR:STRING=share/grpc

//No help, variable specified on the command line.
gRPC_INSTALL_INCLUDEDIR:STRING=include

//No help, variable specified on the command line.
gRPC_INSTALL_LIBDIR:STRING=lib

//Installation directory for root certificates
gRPC_INSTALL_SHAREDIR:STRING=share/grpc

//No help, variable specified on the command line.
gRPC_MSVC_STATIC_RUNTIME:UNINITIALIZED=0

//Algorithm for searching protobuf package
gRPC_PROTOBUF_PACKAGE_TYPE:STRING=CONFIG

//Provider of protobuf library
gRPC_PROTOBUF_PROVIDER:STRING=package

//Provider of re2 library
gRPC_RE2_PROVIDER:STRING=package

//Provider of ssl library
gRPC_SSL_PROVIDER:STRING=package

//No help, variable specified on the command line.
gRPC_STATIC_LINKING:UNINITIALIZED=1

//Use the protobuf-lite library
gRPC_USE_PROTO_LITE:BOOL=OFF

//Provider of zlib library
gRPC_ZLIB_PROVIDER:STRING=package

//Value Computed by CMake
grpc_BINARY_DIR:STATIC=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/arm64-osx-release-rel

//Value Computed by CMake
grpc_IS_TOP_LEVEL:STATIC=ON

//Value Computed by CMake
grpc_SOURCE_DIR:STATIC=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean

//CMake built-in FindProtobuf.cmake module compatible
protobuf_MODULE_COMPATIBLE:BOOL=OFF

//Enable for verbose output
protobuf_VERBOSE:BOOL=OFF

//The directory containing a CMake configuration file for re2.
re2_DIR:PATH=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/re2


########################
# INTERNAL cache entries
########################

//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/arm64-osx-release-rel
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=29
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=6
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean
//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL
CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/share/cmake-3.29
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TAPI
CMAKE_TAPI-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE
CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Protobuf
FIND_PACKAGE_MESSAGE_DETAILS_Protobuf:INTERNAL=[/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc][/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/lib/libprotobuf.a][/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/include][v3.21.12.0()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Details about finding c-ares
FIND_PACKAGE_MESSAGE_DETAILS_c-ares:INTERNAL=[/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/c-ares/c-ares-config.cmake][v1.19.1(1.13.0)]
//ADVANCED property for variable: OPENSSL_CRYPTO_LIBRARY
OPENSSL_CRYPTO_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OPENSSL_SSL_LIBRARY
OPENSSL_SSL_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_ARGN
PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//Install the dependencies listed in your manifest:
//\n    If this is off, you will have to manually install your dependencies.
//\n    See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md
// for more info.
//\n
VCPKG_MANIFEST_INSTALL:INTERNAL=OFF
//ADVANCED property for variable: VCPKG_VERBOSE
VCPKG_VERBOSE-ADVANCED:INTERNAL=1
//Making sure VCPKG_MANIFEST_MODE doesn't change
Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF
//Vcpkg root directory
Z_VCPKG_ROOT_DIR:INTERNAL=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg
_OPENSSL_CFLAGS:INTERNAL=
_OPENSSL_CFLAGS_I:INTERNAL=
_OPENSSL_CFLAGS_OTHER:INTERNAL=
_OPENSSL_FOUND:INTERNAL=
_OPENSSL_INCLUDEDIR:INTERNAL=
_OPENSSL_LIBDIR:INTERNAL=
_OPENSSL_LIBS:INTERNAL=
_OPENSSL_LIBS_L:INTERNAL=
_OPENSSL_LIBS_OTHER:INTERNAL=
_OPENSSL_LIBS_PATHS:INTERNAL=
_OPENSSL_MODULE_NAME:INTERNAL=
_OPENSSL_PREFIX:INTERNAL=
_OPENSSL_STATIC_CFLAGS:INTERNAL=
_OPENSSL_STATIC_CFLAGS_I:INTERNAL=
_OPENSSL_STATIC_CFLAGS_OTHER:INTERNAL=
_OPENSSL_STATIC_LIBDIR:INTERNAL=
_OPENSSL_STATIC_LIBS:INTERNAL=
_OPENSSL_STATIC_LIBS_L:INTERNAL=
_OPENSSL_STATIC_LIBS_OTHER:INTERNAL=
_OPENSSL_STATIC_LIBS_PATHS:INTERNAL=
_OPENSSL_VERSION:INTERNAL=
_OPENSSL_openssl_INCLUDEDIR:INTERNAL=
_OPENSSL_openssl_LIBDIR:INTERNAL=
_OPENSSL_openssl_PREFIX:INTERNAL=
_OPENSSL_openssl_VERSION:INTERNAL=
__pkg_config_checked__OPENSSL:INTERNAL=1
//STRINGS property for variable: gRPC_ABSL_PROVIDER
gRPC_ABSL_PROVIDER-STRINGS:INTERNAL=module;package
//STRINGS property for variable: gRPC_CARES_PROVIDER
gRPC_CARES_PROVIDER-STRINGS:INTERNAL=module;package
//STRINGS property for variable: gRPC_PROTOBUF_PACKAGE_TYPE
gRPC_PROTOBUF_PACKAGE_TYPE-STRINGS:INTERNAL=CONFIG;MODULE
//STRINGS property for variable: gRPC_PROTOBUF_PROVIDER
gRPC_PROTOBUF_PROVIDER-STRINGS:INTERNAL=module;package
//STRINGS property for variable: gRPC_RE2_PROVIDER
gRPC_RE2_PROVIDER-STRINGS:INTERNAL=module;package
//STRINGS property for variable: gRPC_SSL_PROVIDER
gRPC_SSL_PROVIDER-STRINGS:INTERNAL=module;package
//STRINGS property for variable: gRPC_ZLIB_PROVIDER
gRPC_ZLIB_PROVIDER-STRINGS:INTERNAL=module;package
//ADVANCED property for variable: protobuf_MODULE_COMPATIBLE
protobuf_MODULE_COMPATIBLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: protobuf_VERBOSE
protobuf_VERBOSE-ADVANCED:INTERNAL=1
/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/config-arm64-osx-release-out.log
[1/1] "/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake" -E chdir ".." "/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake" "/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/packages/grpc_arm64-osx-release" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DgRPC_BUILD_CODEGEN=ON" "-DgRPC_INSTALL=ON" "-DgRPC_BUILD_TESTS=OFF" "-DgRPC_STATIC_LINKING=1" "-DgRPC_MSVC_STATIC_RUNTIME=0" "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_SSL_PROVIDER=package" "-DgRPC_PROTOBUF_PROVIDER=package" "-DgRPC_ABSL_PROVIDER=package" "-DgRPC_RE2_PROVIDER=package" "-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG" "-DgRPC_CARES_PROVIDER=package" "-DgRPC_BENCHMARK_PROVIDER=none" "-DgRPC_INSTALL_BINDIR:STRING=bin" "-DgRPC_INSTALL_LIBDIR:STRING=lib" "-DgRPC_INSTALL_INCLUDEDIR:STRING=include" "-DgRPC_INSTALL_CMAKEDIR:STRING=share/grpc" "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF" "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc" "-DProtobuf_PROTOC_EXECUTABLE=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc" "-DCMAKE_MAKE_PROGRAM=/run/current-system/sw/bin/ninja" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-osx-release" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-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=/Users/alfiankan/CLionProjects/multipass/3rd-party/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=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg" "-D_VCPKG_INSTALLED_DIR=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=arm64"
FAILED: ../CMakeCache.txt 
"/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake" -E chdir ".." "/nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/bin/cmake" "/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/buildtrees/grpc/src/f6a638d82f-49923c3f15.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/packages/grpc_arm64-osx-release" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DgRPC_BUILD_CODEGEN=ON" "-DgRPC_INSTALL=ON" "-DgRPC_BUILD_TESTS=OFF" "-DgRPC_STATIC_LINKING=1" "-DgRPC_MSVC_STATIC_RUNTIME=0" "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_SSL_PROVIDER=package" "-DgRPC_PROTOBUF_PROVIDER=package" "-DgRPC_ABSL_PROVIDER=package" "-DgRPC_RE2_PROVIDER=package" "-DgRPC_PROTOBUF_PACKAGE_TYPE=CONFIG" "-DgRPC_CARES_PROVIDER=package" "-DgRPC_BENCHMARK_PROVIDER=none" "-DgRPC_INSTALL_BINDIR:STRING=bin" "-DgRPC_INSTALL_LIBDIR:STRING=lib" "-DgRPC_INSTALL_INCLUDEDIR:STRING=include" "-DgRPC_INSTALL_CMAKEDIR:STRING=share/grpc" "-DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF" "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF" "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc" "-DProtobuf_PROTOC_EXECUTABLE=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc" "-DCMAKE_MAKE_PROGRAM=/run/current-system/sw/bin/ninja" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-osx-release" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-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=/Users/alfiankan/CLionProjects/multipass/3rd-party/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=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg" "-D_VCPKG_INSTALLED_DIR=/Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=arm64"
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found c-ares: /Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/share/c-ares/c-ares-config.cmake (found suitable version "1.19.1", minimum required is "1.13.0")
-- Found Protobuf: /Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed/arm64-osx-release/tools/protobuf/protoc (found version "3.21.12.0")
-- Found RE2 via CMake.
CMake Error at /nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
  OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /nix/store/rv1sx6lj8x5ffik7vzy0m3w0a4ci6pnx-cmake-3.29.6/share/cmake-3.29/Modules/FindOpenSSL.cmake:686 (find_package_handle_standard_args)
  /Users/alfiankan/CLionProjects/multipass/3rd-party/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
  cmake/ssl.cmake:66 (find_package)
  CMakeLists.txt:329 (include)


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.
**Additional context**
vcpkg.json
{
  "builtin-baseline": "ca7b1b15f548c25c766360593a2c732d56ed0133",
  "dependencies": [
    "poco",
    "grpc"
  ]
}

alfiankan avatar Aug 28 '24 04:08 alfiankan

I can't reproduce this issue in my side with the latest vcpkg. My test env as below:

System Version: macOS 14.5 (23F79)
Kernel Version: Darwin 23.5.0
vcpkg package management program version 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658

Based on the error message provided, it appears that the issue is caused by OpenSSL not being found. OpenSSL is a dependency of grpc and should have been installed before installing grpc. I recommend you take the following steps:

  1. Delete the /Users/alfiankan/CLionProjects/multipass/build/vcpkg_installed folder.
  2. Use the latest builtin-baseline: b6fcbeaa7f8f7729d625ba808f4bce7432b05072.
  3. Reinstall the port.

Cheney-W avatar Aug 28 '24 09:08 Cheney-W