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

module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/compare #4

Open
ha666 opened this issue Oct 6, 2020 · 2 comments

Comments

@ha666
Copy link

ha666 commented Oct 6, 2020

go version:go1.14.9
os:windows 7

D:\cmder
λ go get github.com/rpcxio/protoc-gen-gogorpcx/protoc-gen-gofast
go: downloading github.com/rpcxio/protoc-gen-gogorpcx v0.0.0-20200921090426-0684feea2433
go: found github.com/rpcxio/protoc-gen-gogorpcx/protoc-gen-gofast in github.com/rpcxio/protoc-gen-gogorpcx v0.0.0-20200921090426-0684feea2433
go: finding module for package github.com/gogo/protobuf/vanity
go: finding module for package github.com/gogo/protobuf/plugin/equal
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/plugin
go: finding module for package github.com/gogo/protobuf/plugin/compare
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/grpc
go: finding module for package github.com/gogo/protobuf/plugin/face
go: finding module for package github.com/gogo/protobuf/plugin/unmarshal
go: finding module for package github.com/gogo/protobuf/plugin/oneofcheck
go: finding module for package github.com/gogo/protobuf/plugin/size
go: finding module for package github.com/gogo/protobuf/plugin/union
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/generator
go: finding module for package github.com/gogo/protobuf/plugin/description
go: finding module for package github.com/gogo/protobuf/plugin/testgen
go: finding module for package github.com/gogo/protobuf/proto
go: finding module for package github.com/gogo/protobuf/plugin/embedcheck
go: finding module for package github.com/gogo/protobuf/plugin/gostring
go: finding module for package github.com/gogo/protobuf/plugin/populate
go: finding module for package github.com/gogo/protobuf/plugin/enumstringer
go: finding module for package github.com/gogo/protobuf/plugin/stringer
go: finding module for package github.com/gogo/protobuf/plugin/marshalto
go: finding module for package github.com/gogo/protobuf/plugin/defaultcheck
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/descriptor
go: finding module for package github.com/gogo/protobuf/vanity
go: finding module for package github.com/gogo/protobuf/plugin/equal
go: finding module for package github.com/gogo/protobuf/plugin/unmarshal
go: finding module for package github.com/gogo/protobuf/plugin/marshalto
go: finding module for package github.com/gogo/protobuf/plugin/description
go: finding module for package github.com/gogo/protobuf/plugin/stringer
go: finding module for package github.com/gogo/protobuf/plugin/defaultcheck
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/plugin
go: finding module for package github.com/gogo/protobuf/plugin/populate
go: finding module for package github.com/gogo/protobuf/plugin/oneofcheck
go: finding module for package github.com/gogo/protobuf/plugin/embedcheck
go: finding module for package github.com/gogo/protobuf/proto
go: finding module for package github.com/gogo/protobuf/plugin/face
go: finding module for package github.com/gogo/protobuf/plugin/union
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/grpc
go: finding module for package github.com/gogo/protobuf/plugin/enumstringer
go: finding module for package github.com/gogo/protobuf/plugin/testgen
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/generator
go: finding module for package github.com/gogo/protobuf/plugin/size
go: finding module for package github.com/gogo/protobuf/plugin/compare
go: finding module for package github.com/gogo/protobuf/plugin/gostring
go: finding module for package github.com/gogo/protobuf/protoc-gen-gogo/descriptor
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:38:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/compare
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:39:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/defaultcheck
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:40:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/description
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:41:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/embedcheck
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:42:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/enumstringer
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:43:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/equal
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:44:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/face
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:45:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/gostring
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:46:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/marshalto
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:47:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/oneofcheck
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:48:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/populate
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:49:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/size
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:50:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/stringer
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:51:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/testgen
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:52:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/union
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:53:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/plugin/unmarshal
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:54:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/proto
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\rpcx\rpcx.go:7:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/protoc-gen-gogo/descriptor
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:55:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/protoc-gen-gogo/generator
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:56:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/protoc-gen-gogo/grpc C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\command\command.go:57:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/protoc-gen-gogo/plugin
C:\Users\Administrator\go\pkg\mod\github.com\rpcxio\[email protected]\protoc-gen-gofast\main.go:32:2: module github.com/gogo/protobuf@latest found (v1.3.1), but does not contain package github.com/gogo/protobuf/vanity

D:\cmder
λ

@ha666
Copy link
Author

ha666 commented Oct 6, 2020

[root@tian-1 ~]# go get github.com/rpcxio/protoc-gen-gogorpcx/protoc-gen-gofast
go: downloading github.com/rpcxio/protoc-gen-gogorpcx v0.0.0-20200921090426-0684feea2433
go: found github.com/rpcxio/protoc-gen-gogorpcx/protoc-gen-gofast in github.com/rpcxio/protoc-gen-gogorpcx v0.0.0-20200921090426-0684feea2433
go: downloading github.com/gogo/protobuf v1.3.1

runtime

/usr/local/go/src/runtime/lockrank_off.go:28:2: undefined: lock2
/usr/local/go/src/runtime/lockrank_off.go:37:2: undefined: unlock2
[root@tian-1 ~]# go version
go version go1.14.9 linux/amd64
[root@tian-1 ~]#

@smallnest
Copy link
Member

检查你的go的安装是否有问题,看日志明显是你的go运行时出问题了。把go文件夹删除了重装。

image

我在windows下测试了没问题
image

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

2 participants