Skip to content

Go-nitro cannot be built/tested with go 1.21 #1526

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

Closed
lalexgap opened this issue Aug 14, 2023 · 1 comment · Fixed by #1570
Closed

Go-nitro cannot be built/tested with go 1.21 #1526

lalexgap opened this issue Aug 14, 2023 · 1 comment · Fixed by #1570

Comments

@lalexgap
Copy link
Contributor

It looks like one of the indirect dependencies of libpbp2 fails to build on the latest version of golang.

$ go build ./...
# github.com/quic-go/quic-go/internal/qtls
../../go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration
go version
go version go1.21.0 darwin/arm64
$ go mod why github.com/quic-go/quic-go
# github.com/quic-go/quic-go
github.com/statechannels/go-nitro/node/engine/messageservice/p2p-message-service
github.com/libp2p/go-libp2p
github.com/libp2p/go-libp2p/config
github.com/quic-go/quic-go
@lalexgap
Copy link
Contributor Author

Based on this issue it looks like it will be fixed in the next release of lib p2p.

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