Open Mr-Second opened 6 months ago
I encountered a new problem while trying to reproduce it:
Line 101: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(558): error C2248: 'google::protobuf::FileDescriptor::syntax': cannot access private member declared in class 'google::protobuf::FileDescriptor'
Line 104: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(559): error C2248: 'google::protobuf::FileDescriptor::SYNTAX_PROTO3': cannot access private enumerator declared in class 'google::protobuf::FileDescriptor'
Line 107: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(619): error C2248: 'google::protobuf::FileDescriptor::syntax': cannot access private member declared in class 'google::protobuf::FileDescriptor'
Line 110: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(619): error C2248: 'google::protobuf::FileDescriptor::SYNTAX_PROTO3': cannot access private enumerator declared in class 'google::protobuf::FileDescriptor'
Line 113: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(639): error C2248: 'google::protobuf::FileDescriptor::syntax': cannot access private member declared in class 'google::protobuf::FileDescriptor'
Line 116: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(640): error C2248: 'google::protobuf::FileDescriptor::SYNTAX_PROTO2': cannot access private enumerator declared in class 'google::protobuf::FileDescriptor'
Line 119: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1394): error C2248: 'google::protobuf::FileDescriptor::syntax': cannot access private member declared in class 'google::protobuf::FileDescriptor'
Line 122: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1394): error C2248: 'google::protobuf::FileDescriptor::SYNTAX_PROTO2': cannot access private enumerator declared in class 'google::protobuf::FileDescriptor'
Line 126: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1822): error C2248: 'google::protobuf::FileDescriptor::syntax': cannot access private member declared in class 'google::protobuf::FileDescriptor'
Line 129: E:\4\vcpkg\buildtrees\upb\src\07a7e882e2-67ea24d098.clean\upbc\protoc-gen-upb.cc(1822): error C2248: 'google::protobuf::FileDescriptor::SYNTAX_PROTO2': cannot access private enumerator declared in class 'google::protobuf::FileDescriptor'
Operating system
win10 19045
Compiler
MSVC (D:\VisualStudio2022\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe)
Steps to reproduce the behavior
Failure logs
... Installing 25/83 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. -- Downloading https://github.com/protocolbuffers/upb/archive/e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz -> protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz... -- Extracting source E:/vcpkg/downloads/protocolbuffers-upb-e4635f223e7d36dfbea3b722a4ca4807a7e882e2.tar.gz -- Applying patch 0001-make-cmakelists-py.patch -- Applying patch 0002-fix-uwp.patch -- Using source at E:/vcpkg/buildtrees/upb/src/07a7e882e2-67ea24d098.clean -- Found external ninja('1.11.0'). -- Configuring x64-windows -- Building x64-windows-dbg CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: D:/CMake/bin/cmake.exe --build . --config Debug --target install -- -v -j17 Working Directory: E:/vcpkg/buildtrees/upb/x64-windows-dbg See logs for more information: E:\vcpkg\buildtrees\upb\install-x64-windows-dbg-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:170 (include)
error: building upb:x64-windows failed with: BUILD_FAILED Elapsed time to handle upb:x64-windows: 9.7 s Please ensure you're using the latest port files with
git pull
andvcpkg update
. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+upb You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[upb]+Build+error+on+x64-windows&body=Copy+issue+body+from+E%3A%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.mdE:\vcpkg\buildtrees\upb\install-x64-windows-dbg-out.log:
Additional context
No response