tailscale / tailscale/tailscale

DERPER: Fails to install derper with new go version scheme

Open
#11,537 5 comments 0 reactions 0 assignees View on GitHub
bug Documentation OS-linux support T4 Docs
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What is the issue?

When I try to install derper with the current go version 1.22.1 I receive the following error:

```
go: downloading tailscale.com v1.63.0-pre.0.20240327135352-66e4d843c138
go: tailscale.com/cmd/derper@main (in tailscale.com@v1.63.0-pre.0.20240327135352-66e4d843c138): go.mod:3: invalid go version '1.22.0': must match format 1.23
```

this is issue is likely linked to https://github.com/golang/go/issues/61888

### Steps to reproduce

install latest go.
`sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.22.1.linux-amd64.tar.gz`

try to install derper
`go install tailscale.com/cmd/derper@main`

### Are there any recent changes that introduced the issue?

go changed their verison scheme to follow 1.xy.z instead of previously 1.xy

see also
https://github.com/golang/go/issues/63370
https://github.com/golang/go/issues/61888

### OS

Linux

### OS version

Ubuntu 22.04

### Tailscale version

1.62.1

### Other software

`go 1.22.1`

### Bug report

BUG-c87297b6ad6a6e94cedff582a375fdcd933c49f2da8d6bb37a8bdcae09964a21-20240327174030Z-f3b8d2aa7589d308

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.