Skip to content

DERPER: Fails to install derper with new go version scheme #11537

@laqua-stack

Description

@laqua-stack

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 golang/go#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
golang/go#63370
golang/go#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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions