Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924744 - net-vpn/tailscale-1.60.0 needs bdepend on dev-lang/go-1.22
Summary: net-vpn/tailscale-1.60.0 needs bdepend on dev-lang/go-1.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-17 02:17 UTC by terinjokes@gmail.com
Modified: 2024-02-17 05: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 terinjokes@gmail.com 2024-02-17 02:17:53 UTC
The tailscale package has a bdepend on ">=dev-lang/go-1.21", but the go.mod requires Go 1.22

Reproducible: Always

Steps to Reproduce:
1. Have dev-lang/go-1.21 emerged
2. `emerge -1av =net-vpn/tailscale-1.60.0`
Actual Results:  

 * tailscale-1.60.0.tar.gz BLAKE2B SHA512 size ;-) ...                                       [ ok ]
 * tailscale-1.60.0-deps.tar.xz BLAKE2B SHA512 size ;-) ...                                  [ ok ]
>>> Unpacking source...
>>> Unpacking tailscale-1.60.0.tar.gz to /var/tmp/portage/net-vpn/tailscale-1.60.0/work
>>> Unpacking tailscale-1.60.0-deps.tar.xz to /var/tmp/portage/net-vpn/tailscale-1.60.0/work
go mod verify
go: go.mod requires go >= 1.22.0 (running go 1.21.6; GOTOOLCHAIN=local)

Expected Results:  
Portage to hold back the tailscale package until dev-lang/go-1.22 is emergeable.
Comment 1 Larry the Git Cow gentoo-dev 2024-02-17 05:40:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650de3f038b7e351f9b51b8dfce8b277ec3759df

commit 650de3f038b7e351f9b51b8dfce8b277ec3759df
Author:     Anthony Ryan <anthonyryan1@gmail.com>
AuthorDate: 2024-02-16 18:53:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-17 05:38:27 +0000

    net-vpn/tailscale: Require go 1.22 or newer
    
    Currently fails to build with: go.mod requires go >= 1.22.0 (running go 1.21.6; GOTOOLCHAIN=local)
    
    Closes: https://bugs.gentoo.org/924744
    Signed-off-by: Anthony Ryan <anthonyryan1@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35379
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/tailscale/metadata.xml            | 3 +++
 net-vpn/tailscale/tailscale-1.60.0.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit ad12fd04d585f462b08fd6aef2a7fc9a796f4531
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-17 05:39:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-17 05:39:31 +0000

    profiles/arch/arm: mask >=net-vpn/tailscale-1.60.0
    
    It needs broken-on-arm >=dev-lang/go-1.22.0 and 1.22.0 is the only version matching that.
    
    Bug: https://github.com/golang/go/issues/65601
    Bug: https://bugs.gentoo.org/924649
    Bug: https://bugs.gentoo.org/924744
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/arm/package.mask | 1 +
 1 file changed, 1 insertion(+)