Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyservice: update protobuf to an recent release #1576

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Foxboron
Copy link

@Foxboron Foxboron commented Aug 5, 2024

I'm unable to build this project with a recent version of protobuf and it seems like this hasn't been updated in a while.

In an effort to try make it buildable here is the needed patches.

Copy link
Contributor

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Sorry it took me so long to take a closer look...

@@ -78,7 +78,7 @@ generate: keyservice/keyservice.pb.go
$(GO) generate

%.pb.go: %.proto
protoc --go_out=plugins=grpc:. $<
protoc --go_grpc_opt=require_unimplemented_servers=false --go_grpc_out=. --go_out=. $<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't get this working with go_grpc, I have to use go-grpc:

Suggested change
protoc --go_grpc_opt=require_unimplemented_servers=false --go_grpc_out=. --go_out=. $<
protoc --go-grpc_opt=require_unimplemented_servers=false --go-grpc_out=. --go_out=. $<

I installed it with go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest (and go install google.golang.org/protobuf/cmd/protoc-gen-go@latest).

(With the latest version the generated files also look differently.)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take another stab at this then.

@felixfontein felixfontein added this to the 3.9.1 milestone Sep 11, 2024
@felixfontein felixfontein modified the milestones: 3.9.1, Maintenance work Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants