Environment
- OS: Ubuntu 24.04 LTS (amd64)
- Go version: 1.22.2
- Build method:
make
- Branch:
main
Issue
Building gogcli from source fails on Ubuntu 24.04 with Go 1.22.
The project currently specifies:
in go.mod, and also pulls in dependencies (e.g. golang.org/x/net v0.49.0) that require a higher Go version than 1.22.
As a result, the build fails with the system-provided Go toolchain on Ubuntu 24.04.
Error messages
go: go.mod requires go >= 1.25 (running go 1.22.2)
After adjusting go.mod:
golang.org/x/net@v0.49.0 requires go >= 1.24.0
Expected behavior
The project should be buildable with a released, stable Go version such as Go 1.22, or clearly document the required Go toolchain for building from source.
Thanks.
Environment
makemainIssue
Building
gogclifrom source fails on Ubuntu 24.04 with Go 1.22.The project currently specifies:
in go.mod, and also pulls in dependencies (e.g. golang.org/x/net v0.49.0) that require a higher Go version than 1.22.
As a result, the build fails with the system-provided Go toolchain on Ubuntu 24.04.
Error messages
go: go.mod requires go >= 1.25 (running go 1.22.2)
After adjusting go.mod:
golang.org/x/net@v0.49.0 requires go >= 1.24.0
Expected behavior
The project should be buildable with a released, stable Go version such as Go 1.22, or clearly document the required Go toolchain for building from source.
Thanks.