[GH-ISSUE #5290] Does not build with Go 1.26rc3 #10266

Open
opened 2026-08-05 01:25:13 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @jbillingredhat on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5290

Describe the problem

It appears that the version of gvisor.dev/gvisor Go dependency needs to be updated to allow Go 1.26 (currently testing with 1.26rc3, in Fedora 44). Here's the error I see when I build:

gvisor.dev/gvisor/pkg/sync
# gvisor.dev/gvisor/pkg/sync
vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:22:2: WaitReasonSelect redeclared in this block
	vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:22:2: other declaration of WaitReasonSelect
vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:23:2: WaitReasonChanReceive redeclared in this block
	vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:23:2: other declaration of WaitReasonChanReceive
vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:24:2: WaitReasonSemacquire redeclared in this block
	vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:24:2: other declaration of WaitReasonSemacquire

I see that this has been fixed upstream in a newer release of the package: 6448c7bb13

NetBird version

v0.64.5

Is any other VPN software installed?

no

Originally created by @jbillingredhat on GitHub (Feb 10, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5290 **Describe the problem** It appears that the version of gvisor.dev/gvisor Go dependency needs to be updated to allow Go 1.26 (currently testing with 1.26rc3, in Fedora 44). Here's the error I see when I build: ``` gvisor.dev/gvisor/pkg/sync # gvisor.dev/gvisor/pkg/sync vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:22:2: WaitReasonSelect redeclared in this block vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:22:2: other declaration of WaitReasonSelect vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:23:2: WaitReasonChanReceive redeclared in this block vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:23:2: other declaration of WaitReasonChanReceive vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go126.go:24:2: WaitReasonSemacquire redeclared in this block vendor/gvisor.dev/gvisor/pkg/sync/runtime_constants_go125.go:24:2: other declaration of WaitReasonSemacquire ``` I see that this has been fixed upstream in a newer release of the package: https://github.com/google/gvisor/commit/6448c7bb13d3d2ab82b907c3e96afa71d4986030 **NetBird version** v0.64.5 **Is any other VPN software installed?** no
saavagebueno added the triage-needed label 2026-08-05 01:25:13 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10266