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

Closed
opened 2026-08-05 01:25:16 -04:00 by saavagebueno · 2 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:16 -04:00
Author
Owner

@KA2107 commented on GitHub (Feb 24, 2026):

Ping @mlsmaycon

There have been lot of updates to netbird recently but because of this issue, the netbird package could not be updated in OpenWrt. Please look into this. Thanks in advance.

<!-- gh-comment-id:3954051463 --> @KA2107 commented on GitHub (Feb 24, 2026): Ping @mlsmaycon There have been lot of updates to netbird recently but because of this issue, the netbird package could not be updated in OpenWrt. Please look into this. Thanks in advance.
Author
Owner

@Alexey71 commented on GitHub (Mar 1, 2026):

@mlsmaycon @braginini @pascal-fischer @lixmal
Is a fix planned? I can't build on OpenWrt.

<!-- gh-comment-id:3979465069 --> @Alexey71 commented on GitHub (Mar 1, 2026): @mlsmaycon @braginini @pascal-fischer @lixmal Is a fix planned? I can't build on OpenWrt.
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#10271