-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Description
What version of protobuf and what language are you using?
Version: N/A (indirect dependency)
Language: GoLang
What operating system (Linux, Windows, ...) and version?
Linux/MacOS
What runtime / compiler are you using (e.g., python version or gcc version)
Go 1.20.12
What did you do?
Steps to reproduce the behavior:
Update the version of google.golang.org/protobuf in go.mod to v1.33.0. Run go build. Build fails due to undefined constant in the package.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
# github.com/golang/protobuf/protoc-gen-go/descriptor
../../../go/pkg/mod/github.com/golang/protobuf@v1.5.3/protoc-gen-go/descriptor/descriptor.pb.go:106:61: undefined: descriptorpb.Default_FileOptions_PhpGenericServices
Upon inspection of the source, it would appear that the offending constant descriptorpb.Default_FileOptions_PhpGenericServices
is indeed not defined in v1.33.0 and so it is failing to compile.
Anything else we should know about your project / environment
n/a