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

go ci failed. #100

Closed
dchaofei opened this issue Nov 27, 2020 · 3 comments
Closed

go ci failed. #100

dchaofei opened this issue Nov 27, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@dchaofei
Copy link
Contributor

bash -x ./generate.sh
+ set -eo pipefail
+ PROTO_BASE_DIR=../proto
+ PROTO_PUPPET_DIR=../proto/wechaty/puppet
+ PROTO_WECHATY_DIR=../proto/wechaty
+ OUT_WECHATY_DIR=./generated/wechaty
+ OUT_PUPPET_DIR=./generated/wechaty/puppet
+ '[' '!' -d '' ']'
+ mkdir -p ./generated/wechaty/puppet
+ protoc --version
libprotoc 3.14.0
+ protoc -I ../proto/wechaty/puppet --go_out=plugins=grpc:./generated/wechaty/puppet --go_opt=paths=source_relative ../proto/wechaty/puppet/base.proto ../proto/wechaty/puppet/contact.proto ../proto/wechaty/puppet/event.proto ../proto/wechaty/puppet/file_box.proto ../proto/wechaty/puppet/friendship.proto ../proto/wechaty/puppet/message.proto ../proto/wechaty/puppet/room.proto ../proto/wechaty/puppet/room_invitation.proto ../proto/wechaty/puppet/room_member.proto ../proto/wechaty/puppet/tag.proto
puppet/file_box.proto: File not found.
message.proto:10:1: Import "puppet/file_box.proto" was not found or had errors.
message.proto:71:3: "wechaty.puppet.FileBoxChunk" seems to be defined in "file_box.proto", which is not imported by "message.proto".  To use it here, please add the necessary import.
message.proto:95:3: "wechaty.puppet.FileBoxChunk" seems to be defined in "file_box.proto", which is not imported by "message.proto".  To use it here, please add the necessary import.
message.proto:132:5: "wechaty.puppet.FileBoxChunk" seems to be defined in "file_box.proto", which is not imported by "message.proto".  To use it here, please add the necessary import.
Makefile:25: recipe for target 'generate' failed
make: *** [generate] Error 1
Error: Process completed with exit code 2.
@dchaofei
Copy link
Contributor Author

I found out why, and I'll mention a PR later

@dchaofei
Copy link
Contributor Author

refer: protocolbuffers/protobuf#4176

@huan huan added the bug Something isn't working label Nov 27, 2020
@huan
Copy link
Member

huan commented Nov 27, 2020

Thank you very much for fixing this problem for the Go community!

@huan huan closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants