Git Product home page Git Product logo

Comments (3)

MonicaLiu0311 avatar MonicaLiu0311 commented on June 6, 2024
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)

from vcpkg.

JackBoosY avatar JackBoosY commented on June 6, 2024
[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.

from vcpkg.

linimbus avatar linimbus commented on June 6, 2024

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

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.