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

Building with go 1.21 fails at quic-go step #151

Closed
plexxman opened this issue Aug 17, 2023 · 5 comments
Closed

Building with go 1.21 fails at quic-go step #151

plexxman opened this issue Aug 17, 2023 · 5 comments
Labels
duplicate This issue or pull request already exists

Comments

@plexxman
Copy link

System: Arch Linux 6.4.10-arch1-1
Package information:

  • go 2:1.21.0-1 (from official repositories)
  • xcaddy-bin 0.3.5-1 (from AUR)
  • xcaddy 0.3.5 (binary from this repo releases)

With recent go's 1.21 update, xcaddy doesn't build a custom caddy version with modules and throws the following error related to quic-go (I assume by the logs). I tested both with AUR's package, and downloading the binary directly from this repo to be sure and both give the same error:

https://pastebin.com/5v1SMvWj

Reverting back to go 2:1.20.7-1 fixes the issue and xcaddy builds correctly a custom version of Caddy with modules. If you need more tests let me know.

PD.: Sorry for using pastebin but I had a weird issue while adding the log in a code block here.

@mholt
Copy link
Member

mholt commented Aug 17, 2023

This is a known issue that is being fixed by Caddy v2.7.4 today.

(Go made a last-minute breaking change to new APIs which broke quic-go moments before release. See https://github.com/quic-go/quic-go/releases/tag/v0.37.4)

@francislavoie
Copy link
Member

Duplicate of caddyserver/caddy#5719

@francislavoie francislavoie marked this as a duplicate of caddyserver/caddy#5719 Aug 17, 2023
@francislavoie francislavoie closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
@plexxman
Copy link
Author

Roger that, I'll stay in position then! Thanks for the quic😄 response.

@mholt mholt added the duplicate This issue or pull request already exists label Aug 17, 2023
@plexxman
Copy link
Author

I can confirm that it is fixed with Caddy 2.7.4, building perfectly with go 1.21.

@mholt
Copy link
Member

mholt commented Aug 17, 2023

Thanks! That's good. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants