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

Cannot build due to deprecated go module github.com/golang/protobuf #422

Open
Virensk opened this issue Dec 5, 2023 · 0 comments
Open

Comments

@Virensk
Copy link

Virensk commented Dec 5, 2023

Syncing to version 0.70 with the latest go/protoc and then building, fails.

gnostic % make
go generate ./...
go get ./...
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
go install ./...
cd extensions/sample; make
generate-gnostic --extension x-sampleone.json --out_dir=generated
make[1]: generate-gnostic: No such file or directory
make[1]: *** [build] Error 1
make: *** [all] Error 2

Replacing the deprecated module with the suggested replacement causes cascades of errors subsequent builds. Please advise if there are versions that work. Versions I tried with:

gnostic % go version
go version go1.21.4 darwin/arm64
gnostic % protoc --version
libprotoc 25.1
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

No branches or pull requests

1 participant