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

protobuf install fails on go1.11 on travis #37

Closed
lantz opened this issue Apr 27, 2020 · 0 comments · Fixed by #39
Closed

protobuf install fails on go1.11 on travis #37

lantz opened this issue Apr 27, 2020 · 0 comments · Fixed by #39

Comments

@lantz
Copy link
Collaborator

lantz commented Apr 27, 2020

The travis build seems to fail to run test-dependencies.sh when it tries to install protobuf as part of the gnxi installation:

�7* Installing gnxi tools

274# google.golang.org/protobuf/proto

275../../../gopath/src/google.golang.org/protobuf/proto/proto_methods.go:18:23: cannot use m.ProtoMethods() (type *protoreflect.Message) as type *struct { pragma.NoUnkeyedLiterals; Flags uint64; Size func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Flags uint8 }) struct { pragma.NoUnkeyedLiterals; Size int }; Marshal func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Buf []byte; Flags uint8 }) (struct { pragma.NoUnkeyedLiterals; Buf []byte }, error); Unmarshal func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message; Buf []byte; Flags uint8; Resolver interface { FindExtensionByName(protoreflect.FullName) (protoreflect.ExtensionType, error); FindExtensionByNumber(protoreflect.FullName, protowire.Number) (protoreflect.ExtensionType, error) } }) (struct { pragma.NoUnkeyedLiterals; Flags uint8 }, error); Merge func(struct { pragma.NoUnkeyedLiterals; Source protoreflect.Message; Destination protoreflect.Message }) struct { pragma.NoUnkeyedLiterals; Flags uint8 }; CheckInitialized func(struct { pragma.NoUnkeyedLiterals; Message protoreflect.Message }) (struct { pragma.NoUnkeyedLiterals }, error) } in return argument

276The command "./test-dependencies.sh" failed and exited with 2 during .
277
278Your build has been stopped.

Other people also seem to have run into issues installing protobuf on go1.11:
golang/protobuf#1094

This may also be related:
golang/protobuf#751

@lantz lantz changed the title travis build failing to install gnxi protobuf install fails on go1.11 on travis :( May 4, 2020
@lantz lantz changed the title protobuf install fails on go1.11 on travis :( protobuf install fails on go1.11 on travis May 4, 2020
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

Successfully merging a pull request may close this issue.

1 participant