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

[grpc] Build error on arm64-windows-static-md #43153

Open
pravin-bhintade-alludo opened this issue Jan 7, 2025 · 3 comments
Open

[grpc] Build error on arm64-windows-static-md #43153

pravin-bhintade-alludo opened this issue Jan 7, 2025 · 3 comments
Assignees
Labels
requires:more-information This Issue requires more information to solve

Comments

@pravin-bhintade-alludo
Copy link

pravin-bhintade-alludo commented Jan 7, 2025

Package: grpc[codegen,core]:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.42.34435.0
  • vcpkg-tool version: 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
    vcpkg-scripts version: 81ab9a8 2025-01-10 (6 hours ago)

To Reproduce

vcpkg install

Failure logs

-- Using cached grpc-grpc-v1.68.2.tar.gz.
-- Cleaning sources at D:/Pravin/Alludo/pravin/WzLib/vcpkg/buildtrees/grpc/src/v1.68.2-6cbee13a3f.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/Pravin/Alludo/pravin/WzLib/vcpkg/downloads/grpc-grpc-v1.68.2.tar.gz
-- Applying patch 00001-fix-uwp.patch
-- Applying patch 00002-static-linking-in-linux.patch
-- Applying patch 00004-link-gdi32-on-windows.patch
-- Applying patch 00005-fix-uwp-error.patch
-- Applying patch 00006-utf8-range.patch
-- Applying patch 00015-disable-download-archive.patch
-- Applying patch 00016-fix-plugin-targets.patch
-- Applying patch 00017-fix-NAN-on-Win11.patch
-- Applying patch 00018-fix-windows-event-engine.patch
-- Applying patch 00019-protobuf-generate-with-import-path-correction.patch
-- Using source at D:/Pravin/Alludo/pravin/WzLib/vcpkg/buildtrees/grpc/src/v1.68.2-6cbee13a3f.clean
-- Found external ninja('1.12.1').
-- Configuring arm64-windows-static-md
-- Building arm64-windows-static-md-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: D:/Pravin/Alludo/pravin/WzLib/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j9
    Working Directory: D:/Pravin/Alludo/pravin/WzLib/vcpkg/buildtrees/grpc/arm64-windows-static-md-dbg
    See logs for more information:
      D:\Pravin\Alludo\pravin\WzLib\vcpkg\buildtrees\grpc\install-arm64-windows-static-md-dbg-out.log
      D:\Pravin\Alludo\pravin\WzLib\vcpkg\buildtrees\grpc\install-arm64-windows-static-md-dbg-err.log

Call Stack (most recent call first):
  D:/Pravin/Alludo/pravin/WzLib/vcpkg_installed/arm64-windows-static-md/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  D:/Pravin/Alludo/pravin/WzLib/vcpkg_installed/arm64-windows-static-md/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/grpc/portfile.cmake:78 (vcpkg_cmake_install)
  scripts/ports.cmake:196 (include)



D:\Pravin\Alludo\pravin\WzLib\vcpkg\buildtrees\grpc\install-arm64-windows-static-md-dbg-err.log
ninja: error: '_gRPC_CPP_PLUGIN-NOTFOUND', needed by 'D:/Pravin/Alludo/pravin/WzLib/vcpkg/buildtrees/grpc/arm64-windows-static-md-dbg/gens/src/proto/grpc/reflection/v1/reflection.pb.cc', missing and no known rule to make it
D:\Pravin\Alludo\pravin\WzLib\vcpkg\buildtrees\grpc\install-arm64-windows-static-md-dbg-out.log
Change Dir: 'D:/Pravin/Alludo/pravin/WzLib/vcpkg/buildtrees/grpc/arm64-windows-static-md-dbg'

Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j9 install

Additional context

vcpkg.json
{
  "name": "wzlib",
  "version": "1.0.0",
  "dependencies": [
    {
      "name": "boost-thread",
      "platform": "(windows & x64 & static )"
    },
    {
      "name": "boost-filesystem",
      "platform": "(windows & x64 & static )"
    },
    {
      "name": "opencl",
      "platform": "(windows & x64 & static )"
    },
    {
      "name": "gtest",
      "platform": "(windows & x64 & static )"
    },
    {
      "name": "grpc",
      "platform": "(windows & x64 & static )"
    },
    {
      "name": "boost-thread",
      "platform": "(windows & arm64 & static)"
    },
    {
      "name": "opencl",
      "platform": "(windows & arm64 & static )"
    },
    {
      "name": "boost-filesystem",
      "platform": "(windows & arm64 & static )"
    },
    {
      "name": "gtest",
      "platform": "(windows & arm64 & static )"
    },
    {
      "name": "grpc",
      "platform": "(windows & arm64 & static )"
    }
  ]
}

Copy link

github-actions bot commented Jan 7, 2025

Please see #30604 for how to properly report a build failure.

@JonLiu1993 JonLiu1993 added the requires:more-information This Issue requires more information to solve label Jan 8, 2025
@JonLiu1993
Copy link
Member

@pravin-bhintade-alludo, Thanks for posting this issue, please see #30604 for how to properly report a build failure.

@pravin-bhintade-alludo
Copy link
Author

@JonLiu1993 Updated ticket description as per suggestion. Could you please look into this again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:more-information This Issue requires more information to solve
Projects
None yet
Development

No branches or pull requests

2 participants