ipfs/ipget

0.8.0 fails to build with the latest go: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration

Closed this issue · 9 comments

github.com/lucas-clemente/quic-go/internal/qtls
# github.com/lucas-clemente/quic-go/internal/qtls
vendor/github.com/lucas-clemente/quic-go/internal/qtls/go118.go:6:13: cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration

OS: FreeBSD 13

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions

Basically, this can get resolved once go-ipfs updates to a version of QUIC that supports 1.18. See the link for more details.

Any chance to resolve this? Currently ipget fails to build with the latest version of Go.

go-ipfs is at 0.12.2, but ipget still uses 1.11

lidel commented

latest go-ipfs 0.13-rc1 builds fine with golag 1.18, so if someone wants to work on this:

  • ipget needs to be updated at least to that version of go-ipfs, and also bump go-libp2p to 0.19 or later

0.8.1 still has this problem.

I think I should just remove the port because the project is broken for months.

dmgk commented

Polite ping. go-ipfs currently is at v0.13.0, and builds fine with go1.18.

This will be fixed by #110. Unfortunately, that's blocked on ipfs/go-ipfs-http-client#160.

lidel commented

Should be fixed in v0.9.x: https://dist.ipfs.io/ipget