#1084860 protobuf-compiler-grpc: Please provide protoc-gen-$NAME plugin files as expected by protoc

Package:
protobuf-compiler-grpc
Source:
protobuf-compiler-grpc
Description:
high performance general RPC framework - protobuf plugin
Submitter:
Santiago Ruano Rincón
Date:
2024-10-10 00:30:02 UTC
Severity:
normal
#1084860#5
Date:
2024-10-10 00:26:14 UTC
From:
To:
Dear grpc maintainer,

protoc, the compiler for protocol buffer definition files, can make use of
plugins as those included in protobuf-compiler-grpc, shiped as
/usr/bin/grpc_*_plugin. However protoc expects those files to be found in
protoc-get-$NAME, as described at:
https://sources.debian.org/src/protobuf/3.21.12-9/src/google/protobuf/compiler/plugin.proto/#L43

FTR, I've been hit by this packaging opentelemetry-proto
(https://bugs.debian.org/1083198). Opentelemetry upstream provides a container
used as build environemnt, including protobuf compiler and the grpc plugin,
handling this issue with symlinks:
https://github.com/open-telemetry/build-tools/blob/10a409a16331d2b65dda71056096e79410be5538/protobuf/Dockerfile#L163
I guess those symlinks make sense.

Could you please include /usr/bin/protoc-gen-$NAME in protobuf-compiler-grpc?

Thank you,