Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915905 - net-vpn/tailscale-1.50.1: compilation failure, package slices is not in GOROOT
Summary: net-vpn/tailscale-1.50.1: compilation failure, package slices is not in GOROOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-17 20:25 UTC by David Roman
Modified: 2023-10-17 20:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Roman 2023-10-17 20:25:05 UTC
net-vpn/tailscale-1.50.1 fails to compile with dev-lang/go-1.20.10. Seems it requires go 1.21 at least. Error log below:

go build -tags xversion -ldflags
		-X tailscale.com/version.Long=1.50.1-t874938806
		-X tailscale.com/version.Short=1.50.1
		-X tailscale.com/version.GitCommit=8749388061d0251483389fa876afa01e0e76f15b ./cmd/tailscale
WORK=/tmp/portage/net-vpn/tailscale-1.50.1/temp/go-build3174952260
tailcfg/tailcfg_clone.go:9:2: package maps is not in GOROOT (/usr/lib/go/src/maps)
note: imported by a module that requires go 1.21
cmd/tailscale/cli/cli.go:17:2: package slices is not in GOROOT (/usr/lib/go/src/slices)
note: imported by a module that requires go 1.21

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-10-17 20:40:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e6d1108132b9158ccfdeacf15df65b8278204bf

commit 1e6d1108132b9158ccfdeacf15df65b8278204bf
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-10-17 20:38:56 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-10-17 20:40:15 +0000

    net-vpn/tailscale: fix BDEPEND to require >=go-1.21
    
    Closes: https://bugs.gentoo.org/915905
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 net-vpn/tailscale/tailscale-1.50.1.ebuild | 1 +
 1 file changed, 1 insertion(+)