Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923621 - net-vpn/tailscale-1.58.2: build version reports as 1.58.2-ERR-BuildInfo
Summary: net-vpn/tailscale-1.58.2: build version reports as 1.58.2-ERR-BuildInfo
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-02 11:46 UTC by alex
Modified: 2024-02-16 12:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix tailscale version info (tailscale-version-info.patch,760 bytes, patch)
2024-02-16 12:59 UTC, Magnus Kessler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex 2024-02-02 11:46:25 UTC
Variables used to tag the reported version have changed in https://github.com/tailscale/tailscale/commit/70a2929a12f246aa783684eca7f48cb4c8eb9d65

    -ldflags="-X tailscale.com/version.long=${LONG} -X tailscale.com/version.short=${SHORT} -X tailscale.com/version.gitCommit=${GIT_HASH}"
    +ldflags="-X tailscale.com/version.longStamp=${LONG} -X tailscale.com/version.shortStamp=${SHORT}"

Reproducible: Always

Steps to Reproduce:
1. Run "tailscale version"
2.
3.
Actual Results:  
1.58.2-ERR-BuildInfo
  go version: go1.21.6

Expected Results:  
1.58.2
  tailscale commit: b0e1bbb62ef3834e99f5212b44043cec1866b07e
  go version: go1.21.6

https://github.com/gentoo/gentoo/pull/32246
https://gitlab.alpinelinux.org/alpine/aports/-/issues/14775
Comment 1 Magnus Kessler 2024-02-16 12:59:02 UTC
Created attachment 885151 [details, diff]
Fix tailscale version info

Fixed version info patch for tailscale >= 1.46.1, rebased from https://github.com/gentoo/gentoo/pull/32246