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
Build with Go 1.21 out of the box #9034
Comments
Blocked by #8930 |
Which in turn is soft-blocked by quic-go/quic-go#3992 |
Can syncthing be built without quic? |
Yep, with |
And that would work on the new version of go? |
One way to find out is to give it a try. |
Should. Also please use the forum - https://forum.syncthing.net/ - for further discussions/support for workarounds, ... I'll leave this ticket open as a hint that we don't currently build on go 1.21 and to track the resolution. |
As usual, a new minor version of Go has broken one of the bundled dependencies. Upstream is already aware of this (see syncthing/syncthing#9034) so hopefully we won't have to wait for a proper resolution. Closes: https://bugs.gentoo.org/912060 Signed-off-by: Marek Szuba <marecki@gentoo.org>
@imsodin FYI looks like quick-go v0.37.4 fixed this, see https://github.com/quic-go/quic-go/releases/tag/v0.37.4 (although some of the mentioned issues in this thread are still open, so I might be missing something...). |
This is blocking Arch Linux updating to the latest syncthing release as well. I'm following along here and will hope for a quick patch release as soon as the blockers are fixed. |
Fixed as of #9040. Conversely, it's no longer possible to build with Go 1.19. |
I believe this issue alone should trigger a new point release as even the last release can't be packaged by many distros any more. There are also other regressions showing up as fixed in the 1.24.0 milestone and nothing marked as pending. Can we either get a 1.24.0 release or backport the fix for this issue into a 1.23.8 release? |
|
Same problem here. I just tried building 1.24.0 and it fails. :/ |
Syncthing v1.24.0 requires go1.20+ See https://docs.syncthing.net/dev/building.html#prerequisites
|
Success. Thank you. |
To be clear, https://docs.syncthing.net/dev/building.html#prerequisites just says "The latest stable version of Go." and below that mentions "This should output "go version go1.18" or higher." |
Fixed, thanks for noticing. |
Hi folks,
OpenBSD just upgraded to Go 1.21 and this broke syncthing for us.
I assume work is under way to support Go 1.21?
Thanks
The text was updated successfully, but these errors were encountered: