google / skicka

Command-line utility for working with Google Drive. Join the mailing list at https://groups.google.com/forum/#!forum/skicka-users.
Apache License 2.0
1.3k stars 118 forks source link

Unable to build skicka because of grpc-go error #139

Open garaemon opened 4 years ago

garaemon commented 4 years ago

go get fails on my environment because of grpc-go.

$ GOPATH=$PWD /usr/lib/go-1.9/bin/go get github.com/google/skicka
# google.golang.org/grpc/internal/credentials
src/google.golang.org/grpc/internal/credentials/spiffe.go:34:70: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)
src/google.golang.org/grpc/internal/credentials/spiffe.go:38:47: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)
src/google.golang.org/grpc/internal/credentials/spiffe.go:56:35: state.PeerCertificates[0].URIs undefined (type *x509.Certificate has no field or method URIs)

My environment is

$ uname -a
Linux parallels-ubuntu1804 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ /usr/lib/go-1.9/bin/go version
go version go1.9.4 linux/amd64
amaraliou commented 4 years ago

Having the same error when trying to build on CircleCI, any updates?