protoc-gen-validate
protoc-gen-validate copied to clipboard
Build failure for master with module/checker.go errors
Checked out master and tried to build, but fails
- src: https://github.com/envoyproxy/protoc-gen-validate.git
- go 1.15
- protoc 3.13.0 (installed today)
I'm trying to create a server which speaks envoy's "ext_authz.proto" but failing in the compiling protos part. (api/envoy/extensions/filters/http/ext_authz/v3/ext_authz.proto)
::: SM-001907CT 10:28:08 (master) 0 external-protoc-gen-validate; go version
go version go1.15.2 linux/amd64
:::: SM-001907CT 10:28:54 (master) 0 external-protoc-gen-validate; protoc --version
libprotoc 3.13.0
:::: SM-001907CT 10:29:02 (master) 0 external-protoc-gen-validate; git pull
Already up to date.
:::: SM-001907CT 10:29:09 (master) 0 external-protoc-gen-validate; git remote -v
origin https://github.com/envoyproxy/protoc-gen-validate.git (fetch)
origin https://github.com/envoyproxy/protoc-gen-validate.git (push)
:::: SM-001907CT 10:29:13 (master) 0 external-protoc-gen-validate; make build
# generates the PGV binary and installs it into $GOPATH/bin
go install .
# github.com/envoyproxy/protoc-gen-validate/module
module/checker.go:207:14: cannot use r.Len (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:207:21: cannot use r.MinLen (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:207:31: cannot use r.MaxLen (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:208:14: cannot use r.LenBytes (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:208:26: cannot use r.MinBytes (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:208:38: cannot use r.MaxBytes (type uint64) as type *uint64 in argument to m.checkLen
module/checker.go:209:17: cannot use r.MinLen (type uint64) as type *uint64 in argument to m.checkMinMax
module/checker.go:209:27: cannot use r.MaxLen (type uint64) as type *uint64 in argument to m.checkMinMax
module/checker.go:210:17: cannot use r.MinBytes (type uint64) as type *uint64 in argument to m.checkMinMax
module/checker.go:210:29: cannot use r.MaxBytes (type uint64) as type *uint64 in argument to m.checkMinMax
module/checker.go:210:29: too many errors
Makefile:18: recipe for target 'build' failed
make: *** [build] Error 2
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.