Closed heruhday closed 2 days ago
Sorry I didn't repro your issue.
Installing 4/4 grpc[codegen,core]:x64-windows@1.60.0#1...
Building grpc[codegen,core]:x64-windows@1.60.0#1...
-- Note: grpc only supports static library linkage. Building static library.
-- Downloading https://github.com/grpc/grpc/archive/v1.60.0.tar.gz -> grpc-grpc-v1.60.0.tar.gz...
-- Extracting source E:/vcpkg/downloads/grpc-grpc-v1.60.0.tar.gz
-- Applying patch 00001-fix-uwp.patch
-- 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 00009-use-system-upb.patch
-- Applying patch 00015-disable-download-archive.patch
-- Applying patch 00016-fix-plugin-targets.patch
-- Applying patch 00017-abseil.patch
-- Using source at E:/vcpkg/buildtrees/grpc/src/v1.60.0-cff025ca16.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: E:/vcpkg/packages/grpc_x64-windows/share/grpc/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 4.8 min.
Elapsed time to handle grpc:x64-windows: 25 min
grpc:x64-windows package ABI: 2684d5855c6d53c6d11da553635521b18e9744aca9d6ccb2e2d32f5c08a720f2
Total install time: 26 min
grpc provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(gRPC CONFIG REQUIRED)
# note: 8 additional targets are not displayed.
target_link_libraries(main PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++ gRPC::grpc++_alts)
Please try the following commands:
./vcpkg remove grpc protobuf --recurse
./vcpkg ninstall grpc
Hello, I got the same issue using this manifest using MSVC 14.41.34120 vcpkg.json
I really need those overrides, so I can't use ./vcpkg install grpc
Edit: was just a version incompatibility between the version of grpc in baseline and the protobuf I need
Edit: was just a version incompatibility between the version of grpc in baseline and the protobuf I need
So do you know the compatible grpc version number?
you'll need baseline 50ca16008cebab427e90a98f8ffc34208b215dba
or grpc 1.51.1
(which is previous in vcpkg), but if you override only grpc, you'll have problems with other libraries
Please clean up the vcpkg_installed/
directory generated by the installation in manifest mode and try again. I have tried to install it successfully according to your requirements (protobuf:3.18.0 & grpc:1.51.1
). The installation log is attached.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
If it is still an issue, please reopen this issue.
Copy issue body from D:/vcpkg/installed/vcpkg/issue_body.md
failed to build grpc[codegen,core]:x64-windows -> 1.60.0#1
Package: grpc[codegen,core]:x64-windows -> 1.60.0#1
Host Environment
To Reproduce
vcpkg install qt
Failure logsD:\vcpkg\buildtrees\grpc\install-x64-windows-dbg-out.log
``` Change Dir: 'D:/vcpkg/buildtrees/grpc/x64-windows-dbg' Run Build Command(s): "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j5 install [1/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\installed\x64-windows\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\address_sorting.dir\third_party\address_sorting\address_sorting.c.obj /Fdaddress_sorting.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\address_sorting.c [2/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\installed\x64-windows\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\address_sorting.dir\third_party\address_sorting\address_sorting_posix.c.obj /Fdaddress_sorting.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\address_sorting_posix.c [3/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\installed\x64-windows\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash /nologo /DWIN32 /D_WINDOWS /utf-8 /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\address_sorting.dir\third_party\address_sorting\address_sorting_windows.c.obj /Fdaddress_sorting.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\address_sorting_windows.c ... Skipped 5275 lines ... [1572/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\surface\metadata_array.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\surface\metadata_array.cc [1573/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\surface\version.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\surface\version.cc [1574/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\surface\channel_ping.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\surface\channel_ping.cc D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src/core/lib/channel/channel_args.h(287): warning C4312: 'reinterpret_cast': conversion from 'int' to 'void *' of greater size [1575/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\surface\validate_metadata.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\surface\validate_metadata.cc [1576/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\transport\connectivity_state.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\transport\connectivity_state.cc [1577/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\transport\error_utils.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\transport\error_utils.cc [1578/1632] C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /TP -DABSL_CONSUME_DLL -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\address_sorting\include -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upb-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\ext\upbdefs-gen -ID:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\third_party\xxhash -ID:\vcpkg\buildtrees\grpc\x64-windows-dbg\gens -external:ID:\vcpkg\installed\x64-windows\include -external:ID:\vcpkg\installed\x64-windows\include\upb\reflection\stage0 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /wd4065 /wd4506 /wd4200 /wd4291 /wd4244 /wd4267 /wd4987 /wd4774 /wd4819 /wd4996 /wd4619 /wd4503 /utf-8 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\grpc_authorization_provider.dir\src\core\lib\surface\lame_client.cc.obj /Fdgrpc_authorization_provider.pdb /FS -c D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src\core\lib\surface\lame_client.cc D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src/core/lib/channel/channel_args.h(287): warning C4312: 'reinterpret_cast': conversion from 'int' to 'void *' of greater size D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src/core/lib/channel/promise_based_filter.h(891): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation D:\vcpkg\buildtrees\grpc\src\v1.60.0-cff025ca16.clean\src/core/lib/channel/promise_based_filter.h(890): note: while compiling class template member function 'absl::lts_20240722::Status grpc_core::promise_filter_detail::ChannelFilterWithFlagsMethods