We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nomad v1.8.2 BuildDate 2024-07-16T08:50:09Z Revision 7f0822c go version go1.22.6 windows/arm64
Windows 11 ARM64
Custom plugin fails to compile, Go 1.22.6
The binary must be built.
github.com/hashicorp/nomad/client/lib/fifo ..\go\pkg\mod\github.com\hashicorp\nomad@v1.8.2\client\lib\fifo\fifo_windows.go:101:18: undefined: winio.ListenOnlyPipe
The text was updated successfully, but these errors were encountered:
Resolved: Changed winio.ListenOnlyPipe to winio.ListenPipe Apparently it is a long time that the function name has changed!
Sorry, something went wrong.
Hey @kamyar1979, thanks for reporting this! Sadly, we depend on a fork of Microsoft/go-winio, so you'll need another line in the go.mod file:
replace ( github.com/Microsoft/go-winio => github.com/endocrimes/go-winio v0.4.13-0.20190628114223-fb47a8b41948 github.com/armon/go-metrics => github.com/armon/go-metrics v0.0.0-20230509193637-d9ca9af9f1f9 )
Let me know if this helps!
Thank you! The solution works! It would be better to mention these changes in the documents.
pkazmierczak
Successfully merging a pull request may close this issue.
Nomad version
Nomad v1.8.2
BuildDate 2024-07-16T08:50:09Z
Revision 7f0822c
go version go1.22.6 windows/arm64
Operating system and Environment details
Windows 11 ARM64
Issue
Custom plugin fails to compile, Go 1.22.6
Reproduction steps
Expected Result
The binary must be built.
Actual Result
github.com/hashicorp/nomad/client/lib/fifo
..\go\pkg\mod\github.com\hashicorp\nomad@v1.8.2\client\lib\fifo\fifo_windows.go:101:18: undefined: winio.ListenOnlyPipe
The text was updated successfully, but these errors were encountered: