Debian Patches

Status for mirrorbits/0.5.1+git20220308.9189dc7+ds1-1

Patch Description Author Forwarded Bugs Origin Last update
Add-Go-import-path-to-.proto-file.patch Add Go import path to .proto file
This is required for golang-goprotobuf-dev 1.5.2-1 (currently in Debian
experimental), otherwise protoc fails with:

protoc -I rpc --go_out=plugins=grpc:rpc rpc/rpc.proto
protoc-gen-go: unable to determine Go import path for "rpc.proto"

Please specify either:
. a "go_package" option in the .proto source file, or
. a "M" argument on the command line.

See for more information.

--go_out: protoc-gen-go: Plugin failed with status code 1.

The fancy value '.;rpc' comes from:

Actually the option should specify the full Go path, howeverif I do that,
protoc generates the file rpc.pb.go in a completely different location, and the
value of 'package' in rpc.pb.go becomes a full path, rather than just "rpc".

I'm aiming at minimal changes here (because of my poor Go skills), so I prefer
to use this trick in order to keep the generated file unchanged, as much as
Arnaud Rebillout <> not-needed 2022-07-11

All known versions for source package 'mirrorbits'