no release for v0.10.6 tag #64

Closed
opened 2025-12-29 01:21:31 +01:00 by adam · 4 comments
Owner

Originally created by @06kellyjac on GitHub (Oct 21, 2021).

There's no release for the v0.10.6 tag, also:

github.com/tcnksm/go-latest looks like it trims v

An updated version of Headscale has been found (0.10.6 vs. your current v0.10.5). Check it out https://github.com/juanfont/headscale/releases

It's worth verifying that 1. If the version is the latest does it still match with v vs no v and 2. should the v be added to the "latest" version presented for consistency?

Originally created by @06kellyjac on GitHub (Oct 21, 2021). There's no release for the v0.10.6 tag, also: github.com/tcnksm/go-latest looks like it trims `v` ``` An updated version of Headscale has been found (0.10.6 vs. your current v0.10.5). Check it out https://github.com/juanfont/headscale/releases ``` It's worth verifying that 1. If the version is the latest does it still match with `v` vs no `v` and 2. should the `v` be added to the "latest" version presented for consistency?
adam closed this issue 2025-12-29 01:21:31 +01:00
Author
Owner

@juanfont commented on GitHub (Oct 21, 2021):

Yes! Sorry. 0.10.6 failed because of ARM64. Trying to sort it out ASAP.

@juanfont commented on GitHub (Oct 21, 2021): Yes! Sorry. 0.10.6 failed because of ARM64. Trying to sort it out ASAP.
Author
Owner

@06kellyjac commented on GitHub (Oct 21, 2021):

Ahhhhhh. I'll try a couple arm builds too :)

@06kellyjac commented on GitHub (Oct 21, 2021): Ahhhhhh. I'll try a couple arm builds too :)
Author
Owner

@06kellyjac commented on GitHub (Oct 21, 2021):

$ uname -sm
Linux aarch64

$ ./result/bin/headscale version
v0.10.6

This is the go command we end up running in nixpkgs

go install '-ldflags=-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v0.10.6' -v -p 4 .

and this is the go env output:

GO111MODULE="on"
GOARCH="arm64"
GOBIN=""
GOCACHE="/build/go-cache"
GOENV="/homeless-shelter/.config/go/env"
GOEXE=""
GOFLAGS="-mod=vendor -trimpath"
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/build/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/build/go"
GOPRIVATE=""
GOPROXY="off"
GOROOT="/nix/store/ssx8iy8c8hm751rqp9nm8dvv72sksq7h-go-1.16.9/share/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/nix/store/ssx8iy8c8hm751rqp9nm8dvv72sksq7h-go-1.16.9/share/go/pkg/tool/linux_arm64"
GOVCS=""
GOVERSION="go1.16.9"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/build/source/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/build/go-build594588714=/tmp/go-build -gno-record-gcc-switches"

So yeah it does look like CGO_ENABLED=1 is the winner here https://github.com/juanfont/headscale/issues/168#issuecomment-947493772

@06kellyjac commented on GitHub (Oct 21, 2021): ``` $ uname -sm Linux aarch64 $ ./result/bin/headscale version v0.10.6 ``` This is the go command we end up running in nixpkgs `go install '-ldflags=-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v0.10.6' -v -p 4 .` and this is the `go env` output: ``` GO111MODULE="on" GOARCH="arm64" GOBIN="" GOCACHE="/build/go-cache" GOENV="/homeless-shelter/.config/go/env" GOEXE="" GOFLAGS="-mod=vendor -trimpath" GOHOSTARCH="arm64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/build/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/build/go" GOPRIVATE="" GOPROXY="off" GOROOT="/nix/store/ssx8iy8c8hm751rqp9nm8dvv72sksq7h-go-1.16.9/share/go" GOSUMDB="off" GOTMPDIR="" GOTOOLDIR="/nix/store/ssx8iy8c8hm751rqp9nm8dvv72sksq7h-go-1.16.9/share/go/pkg/tool/linux_arm64" GOVCS="" GOVERSION="go1.16.9" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/build/source/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/build/go-build594588714=/tmp/go-build -gno-record-gcc-switches" ``` So yeah it does look like `CGO_ENABLED=1` is the winner here https://github.com/juanfont/headscale/issues/168#issuecomment-947493772
Author
Owner

@juanfont commented on GitHub (Oct 22, 2021):

Fixed!

@juanfont commented on GitHub (Oct 22, 2021): Fixed!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#64