rules_proto icon indicating copy to clipboard operation
rules_proto copied to clipboard

Protocol buffer rules for Bazel

Results 22 rules_proto issues
Sort by recently updated
recently updated
newest added

Since the tools/file_concat program is written in C++ and exposed to users of proto_descriptor_set, we depend on rules_cc at runtime. Fixes #203

When trying to use the following code: ```starlark load("@rules_proto//proto:defs.bzl", "proto_descriptor_set") proto_descriptor_set( name = "my_fdset", deps = ["...."], ) ``` This causes the following error: ``` ERROR: error loading package '@@rules_proto~6.0.0-rc2//tools/file_concat':...

bug
P1

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3807#018f03f8-b794-41df-a7d3-38707c4d2f6d Platform: Windows Logs: ``` ERROR: C:/b/uhnenhph/external/protobuf~/src/google/protobuf/BUILD.bazel:70:14: Compiling external/protobuf~/src/google/protobuf/_virtual_imports/type_proto/google/protobuf/type.pb.cc failed: undeclared inclusion(s) in rule '@@protobuf~//src/google/protobuf:type_proto' ``` Culprit: Steps: ``` git clone https://github.com/bazelbuild/rules_proto git reset d4c3498677e7fbda6f717585276ea4d8b75acec0 --hard export USE_BAZEL_VERSION=d37762b494a4e122d46a5a71e3a8cc77fa15aa25 bazel...

This allows rules_proto to supply a pre-built binary toolchain for protoc without needing any Bazel module supplied by the protocolbuffers maintainers. Obviates the need for protobuf to be released to...

It's meant to be used in toolchainization of language rules, for example in rules_python: https://github.com/bazelbuild/rules_python/pull/1577/files#diff-9cb07a0e8453ad8b4f429bee2ccf9de818a78cfb6e5d9bb908d8518ea189e2a7R18 Fixes that PR following the recent breaking change landed here: https://github.com/bazelbuild/rules_proto/commit/d4c3498677e7fbda6f717585276ea4d8b75acec0#commitcomment-139420930

here is my dir layout: a.proto depends on b.proto, so `import b.proto` in a.proto. ``` ├── proto │ ├── BUILD │ ├── CMakeLists.txt │ ├── a.proto │ └── b.proto ├──...

documentation
P4

Building a rules_proto bazel rule results in below error: ``` Use --sandbox_debug to see verbose messages from the sandbox 2022/05/16 09:28:09 error running protoc: fork/exec bazel-out/k8-opt-exec-2B5CBBC6/bin/rules/proto/protoc: argument list too long...

help wanted
P3

I am building a project with protos on apple M1 and I get a `symbol not found in flat namespace '__ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev'` error when protoc gets invoked. I opened a stack...

bug
P4

rules_proto imports the protobuf-java library from Maven using the `java_import_external` macro. Unlike the sibling `jvm_maven_import_external` macro, this macro does not set the `maven_coordinate` tag which is read by rules_jvm_external in...

bug
P3