Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Go1.21.6 #3248

Closed
mboyea opened this issue Feb 8, 2024 · 2 comments
Closed

Support Go1.21.6 #3248

mboyea opened this issue Feb 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mboyea
Copy link

mboyea commented Feb 8, 2024

Describe the bug
Right now, I failed to run the HEAD build with Go1.21.6 while trying to build flyctl on Arch Linux; the error is shown below:

package github.com/superfly/flyctl
	imports github.com/superfly/flyctl/internal/cli
	imports github.com/superfly/flyctl/internal/command/root
	imports github.com/superfly/flyctl/internal/command
	imports github.com/superfly/flyctl/internal/appconfig
	imports github.com/superfly/flyctl/flaps
	imports github.com/superfly/flyctl/agent
	imports github.com/superfly/flyctl/internal/wireguard
	imports github.com/superfly/flyctl/wg
	imports golang.zx2c4.com/wireguard/tun/netstack
	imports gvisor.dev/gvisor/pkg/bufferv2
	imports gvisor.dev/gvisor/pkg/atomicbitops
	imports gvisor.dev/gvisor/pkg/state
	imports gvisor.dev/gvisor/pkg/state/wire
	imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/mboyea/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20221203005347-703fd9b7fbc0/pkg/gohacks
make: *** [Makefile:12: build] Error 1

Screenshot
image

Relevant Issues
#2688

Next Steps
If someone can point me to an upstream issue (like those outlined in this issue), I would be happy to take a look at fixing it, but I have not used Go packages before, so I do not know where to start at this time..

In the meantime I will try to compile with Go1.20 or wait for Go1.22

@dangra
Copy link
Member

dangra commented Feb 8, 2024

the AUR package is outdated, it is pointing to flyctl v0.1.27 which is extremely old. Consider installing https://aur.archlinux.org/packages/flyctl-bin which is kept up to date.

@dangra dangra closed this as completed Feb 8, 2024
@mboyea
Copy link
Author

mboyea commented Feb 8, 2024

@dangra Thank you for the help, apologies for my negligence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants