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

[upb] Build error on x64-windows #37468

Closed
linimbus opened this issue Mar 15, 2024 · 3 comments
Closed

[upb] Build error on x64-windows #37468

linimbus opened this issue Mar 15, 2024 · 3 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@linimbus
Copy link

Package: upb[codegen,core]:x64-windows@2022-06-21#1

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.39.33521.0
  • vcpkg-tool version: 2024-02-07-8a83681f921b10d86ae626fd833c253f4f8c355b
    vcpkg-scripts version: 9e672f5 2024-03-11 (3 days ago)

To Reproduce

vcpkg install arrow[flightsql]
Failure logs

-- Note: upb only supports static library linkage. Building static library.
-- Downloading https://github.com/protocolbuffers/upb/archive/e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz -> protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz...
-- Extracting source C:/workspace/vcpkg/downloads/protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz
-- Applying patch 0001-make-cmakelists-py.patch
-- Applying patch 0002-fix-uwp.patch
-- Using source at C:/workspace/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean
-- Downloading https://www.python.org/ftp/python/3.11.8/python-3.11.8-embed-amd64.zip -> python-3.11.8-embed-amd64.zip...
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Release --target install -- -v -j9
    Working Directory: C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel
    See logs for more information:
      C:\workspace\vcpkg\buildtrees\upb\install-x64-windows-rel-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/upb/portfile.cmake:39 (vcpkg_cmake_install)
  scripts/ports.cmake:175 (include)



C:\workspace\vcpkg\buildtrees\upb\install-x64-windows-rel-out.log
Change Dir: 'C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel'

Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j9 install
[1/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-neon.c.obj /FdCMakeFiles\utf8_range.dir\utf8_range.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-neon.c
[2/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-sse.c.obj /FdCMakeFiles\utf8_range.dir\utf8_range.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-sse.c
[3/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\naive.c.obj /FdCMakeFiles\utf8_range.dir\utf8_range.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\naive.c
[4/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\arena.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\arena.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\arena.c(177): warning C4116: unnamed type definition in parentheses
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\arena.c(189): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
[5/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\status.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\status.c
[6/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\upb.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\upb.c
[7/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(57): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(60): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(61): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(62): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(66): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(77): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(78): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(90): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(97): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(230): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(244): warning C4267: '=': conversion from 'size_t' to 'char', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(245): warning C4267: '=': conversion from 'size_t' to 'char', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c(305): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
[8/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\extension_registry.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\extension_registry.c.obj /FdCMakeFiles\extension_registry.dir\extension_registry.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\extension_registry.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
[9/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\encode.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\encode.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\encode.c(149): warning C4244: '=': conversion from 'uint64_t' to 'char', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\encode.c(484) : warning C4715: 'encode_shouldencode': not all control paths return a value
[10/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(129): warning C4267: '=': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(130): warning C4244: '=': conversion from 'const double' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(437): warning C4244: 'return': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(461): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(475): warning C4267: 'function': conversion from 'size_t' to 'uint8_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(751): warning C4244: 'initializing': conversion from 'const double' to 'size_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(803): warning C4018: '<': signed/unsigned mismatch
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(804): warning C4018: '<': signed/unsigned mismatch
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c(829): warning C4018: '<': signed/unsigned mismatch
[11/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\fastdecode.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode_fast.c.obj /FdCMakeFiles\fastdecode.dir\fastdecode.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode_fast.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/decode.h(102): warning C4244: 'function': conversion from '__int64' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/decode.h(152): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
[12/44] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\lib.exe  /machine:x64 /nologo /out:upb_utf8_range.lib CMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\naive.c.obj CMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-neon.c.obj CMakeFiles\utf8_range.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\third_party\utf8_range\range2-sse.c.obj  && cd ."
[13/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c.obj /FdCMakeFiles\upb.dir\upb.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/decode.h(102): warning C4244: 'function': conversion from '__int64' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/decode.h(152): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(188): warning C4646: function declared with 'noreturn' has non-void return type
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(252): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(260): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(273): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(280): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(290): warning C4244: 'initializing': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(489): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(490): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(560): warning C4267: 'function': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(572): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(862): warning C4244: '=': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(865): warning C4267: 'function': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(945): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(611) : warning C4715: 'decode_toarray': not all control paths return a value
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c(1026) : warning C4715: 'decode_known': not all control paths return a value
[14/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe    -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\mini_table.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c.obj /FdCMakeFiles\mini_table.dir\mini_table.pdb /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(183): warning C4244: 'function': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(305): warning C4244: 'function': conversion from 'uint64_t' to 'char', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(638): warning C4116: unnamed type definition in parentheses
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(678): warning C4244: '=': conversion from '__int64' to 'uint16_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(713): warning C4244: 'function': conversion from 'uint64_t' to 'uint32_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(765): warning C4244: '=': conversion from 'uint16_t' to 'uint8_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(778): warning C4244: '=': conversion from 'uint16_t' to 'uint8_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(869): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(876): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(885): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(1013): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c(1018): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data
[15/44] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\lib.exe  /machine:x64 /nologo /out:upb_extension_registry.lib CMakeFiles\extension_registry.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\extension_registry.c.obj  && cd ."
[16/44] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\lib.exe  /machine:x64 /nologo /out:upb_fastdecode.lib CMakeFiles\fastdecode.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode_fast.c.obj  && cd ."
[17/44] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\lib.exe  /machine:x64 /nologo /out:upb.lib CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\arena.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\decode.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\encode.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\msg.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\status.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\table.c.obj CMakeFiles\upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\upb.c.obj  && cd ."
[18/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe   /TP -DABSL_CONSUME_DLL -DPROTOBUF_USE_DLLS -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel -external:IC:\workspace\vcpkg\installed\x64-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  -std:c++14 /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\protoc-gen-upbdefs.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc.obj /FdCMakeFiles\protoc-gen-upbdefs.dir\ /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc
[19/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe   /TP -DABSL_CONSUME_DLL -DPROTOBUF_USE_DLLS -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel -external:IC:\workspace\vcpkg\installed\x64-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  -std:c++14 /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\protoc-gen-upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc.obj /FdCMakeFiles\protoc-gen-upb.dir\ /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc
[20/44] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\lib.exe  /machine:x64 /nologo /out:upb_mini_table.lib CMakeFiles\mini_table.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb\mini_table.c.obj  && cd ."
[21/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe   /TP -DABSL_CONSUME_DLL -DPROTOBUF_USE_DLLS -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel -external:IC:\workspace\vcpkg\installed\x64-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  -std:c++14 /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\protoc-gen-upbdefs.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upbdefs.cc.obj /FdCMakeFiles\protoc-gen-upbdefs.dir\ /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upbdefs.cc
[22/44] C:\WINDOWS\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\protoc-gen-upbdefs.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe  CMakeFiles\protoc-gen-upbdefs.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc.obj CMakeFiles\protoc-gen-upbdefs.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upbdefs.cc.obj  /out:protoc-gen-upbdefs.exe /implib:protoc-gen-upbdefs.lib /pdb:protoc-gen-upbdefs.pdb /version:0.0 /machine:x64 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF   /subsystem:console  C:\workspace\vcpkg\installed\x64-windows\lib\libprotoc.lib  C:\workspace\vcpkg\installed\x64-windows\lib\abseil_dll.lib  -ignore:4221  C:\workspace\vcpkg\installed\x64-windows\lib\libprotobuf.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
[23/44] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\cl.exe   /TP -DABSL_CONSUME_DLL -DPROTOBUF_USE_DLLS -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\.. -IC:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\cmake\..\cmake -IC:\workspace\vcpkg\buildtrees\upb\x64-windows-rel -external:IC:\workspace\vcpkg\installed\x64-windows\include -external:W0 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /GR /EHsc /MP  /MD /O2 /Oi /Gy /DNDEBUG /Z7  -std:c++14 /wd4146 /wd4703 -D_CRT_SECURE_NO_WARNINGS /showIncludes /FoCMakeFiles\protoc-gen-upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc.obj /FdCMakeFiles\protoc-gen-upb.dir\ /FS -c C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/internal/table.h(198): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(188): warning C4200: nonstandard extension used: zero-sized array in struct/union
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(188): note: This member will be ignored by a defaulted constructor or copy/move assignment operator
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/msg_internal.h(519): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1763): warning C4267: '=': conversion from 'size_t' to 'uint8_t', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1843): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1864): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1913): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/mini_table.hpp(94): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/mini_table.hpp(94): note: the template instantiation context (the oldest one first) is
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upb/mini_table.hpp(44): note: see reference to function template instantiation 'bool upb::MtDataEncoder::StringAppender::operator ()<upb::MtDataEncoder::StartMessage::<lambda_5d9102237cb3d8bdea2f04c8c821d408>>(T &&)' being compiled
        with
        [
            T=upb::MtDataEncoder::StartMessage::<lambda_5d9102237cb3d8bdea2f04c8c821d408>
        ]
C:\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(535) : warning C4700: uninitialized local variable 'sub' used
[24/44] C:\WINDOWS\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\protoc-gen-upb.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1439~1.335\bin\Hostx64\x64\link.exe  CMakeFiles\protoc-gen-upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\common.cc.obj CMakeFiles\protoc-gen-upb.dir\C_\workspace\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc.obj  /out:protoc-gen-upb.exe /implib:protoc-gen-upb.lib /pdb:protoc-gen-upb.pdb /version:0.0 /machine:x64 /nologo /DEBUG /INCREMENTAL:NO /OPT:REF /OPT:ICF   /subsystem:console  upb_mini_table.lib  upb.lib  C:\workspace\vcpkg\installed\x64-windows\lib\libprotoc.lib  upb.lib  upb_fastdecode.lib  upb_utf8_range.lib  upb_extension_registry.lib  C:\workspace\vcpkg\installed\x64-windows\lib\abseil_dll.lib  -ignore:4221  C:\workspace\vcpkg\installed\x64-windows\lib\libprotobuf.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
[25/44] C:\WINDOWS\system32\cmd.exe /C "cd /D C:\workspace\vcpkg\buildtrees\upb\x64-windows-rel && C:\workspace\vcpkg\installed\x64-windows\tools\protobuf\protoc.exe -IC:/workspace/vcpkg/installed/x64-windows/include --plugin=protoc-gen-upb=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upb.exe --plugin=protoc-gen-upbdefs=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upbdefs.exe --upb_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel --upbdefs_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel C:/workspace/vcpkg/installed/x64-windows/include/google/protobuf/descriptor.proto"
FAILED: google/protobuf/descriptor.upb.h google/protobuf/descriptor.upb.c google/protobuf/descriptor.upbdefs.h google/protobuf/descriptor.upbdefs.c C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upb.h C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upb.c C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upbdefs.h C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upbdefs.c 
C:\WINDOWS\system32\cmd.exe /C "cd /D C:\workspace\vcpkg\buildtrees\upb\x64-windows-rel && C:\workspace\vcpkg\installed\x64-windows\tools\protobuf\protoc.exe -IC:/workspace/vcpkg/installed/x64-windows/include --plugin=protoc-gen-upb=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upb.exe --plugin=protoc-gen-upbdefs=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upbdefs.exe --upb_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel --upbdefs_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel C:/workspace/vcpkg/installed/x64-windows/include/google/protobuf/descriptor.proto"
--upb_out: protoc-gen-upb: Plugin failed with status code 3221226505.

ninja: build stopped: subcommand failed.
@MonicaLiu0311 MonicaLiu0311 added the requires:repro The issue is not currently repro-able label Mar 15, 2024
@MonicaLiu0311
Copy link
Contributor

PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2024-02-07-8a83681f921b10d86ae626fd833c253f4f8c355b

See LICENSE.txt for license information.

Sorry I didn't reproduce your issue.

PS G:\vcpkg> ./vcpkg install upb
warning: In the September 2023 release, the default triplet for vcpkg libraries changed from x86-windows to the detected host triplet (x64-windows). For the old behavior, add --triplet x86-windows . To suppress this message, add --triplet x64-windows .
Computing installation plan...
The following packages will be built and installed:
    upb[codegen,core]:x64-windows@2022-06-21#1
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\v-liumonica\AppData\Local\vcpkg\archives in 430 us. Use --debug to see more details.
Installing 1/1 upb[codegen,core]:x64-windows@2022-06-21#1...
Building upb[codegen,core]:x64-windows@2022-06-21#1...
-- Note: upb only supports static library linkage. Building static library.
-- Using cached protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz.
-- Cleaning sources at G:/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source G:/vcpkg/downloads/protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz
-- Applying patch 0001-make-cmakelists-py.patch
-- Applying patch 0002-fix-uwp.patch
-- Using source at G:/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: G:/vcpkg/packages/upb_x64-windows/share/upb/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 662 ms.
Elapsed time to handle upb:x64-windows: 33 s
upb:x64-windows package ABI: 4f98be3a4dcf963f60d89062026e11049aceef1208a65fe8d57c9c77ecf4ab2a
Total install time: 33 s
upb provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(upb CONFIG REQUIRED)
  # note: 9 additional targets are not displayed.
  target_link_libraries(main PRIVATE upb::upb upb::json upb::port upb::table)

@JackBoosY
Copy link
Contributor

[25/44] C:\WINDOWS\system32\cmd.exe /C "cd /D C:\workspace\vcpkg\buildtrees\upb\x64-windows-rel && C:\workspace\vcpkg\installed\x64-windows\tools\protobuf\protoc.exe -IC:/workspace/vcpkg/installed/x64-windows/include --plugin=protoc-gen-upb=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upb.exe --plugin=protoc-gen-upbdefs=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upbdefs.exe --upb_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel --upbdefs_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel C:/workspace/vcpkg/installed/x64-windows/include/google/protobuf/descriptor.proto"
FAILED: google/protobuf/descriptor.upb.h google/protobuf/descriptor.upb.c google/protobuf/descriptor.upbdefs.h google/protobuf/descriptor.upbdefs.c C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upb.h C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upb.c C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upbdefs.h C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/google/protobuf/descriptor.upbdefs.c 
C:\WINDOWS\system32\cmd.exe /C "cd /D C:\workspace\vcpkg\buildtrees\upb\x64-windows-rel && C:\workspace\vcpkg\installed\x64-windows\tools\protobuf\protoc.exe -IC:/workspace/vcpkg/installed/x64-windows/include --plugin=protoc-gen-upb=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upb.exe --plugin=protoc-gen-upbdefs=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel/protoc-gen-upbdefs.exe --upb_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel --upbdefs_out=C:/workspace/vcpkg/buildtrees/upb/x64-windows-rel C:/workspace/vcpkg/installed/x64-windows/include/google/protobuf/descriptor.proto"
--upb_out: protoc-gen-upb: Plugin failed with status code 3221226505.

3221226505 == 0xC0000409, which means STATUS_STACK_BUFFER_OVERRUN.
Please try to remove and install port protobuf.

@linimbus
Copy link
Author

It may be a problem with special device. I haven't found similar problems using other devices.

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