golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.07k stars 17.68k forks source link

x/crypto/openpgp/s2k: build failing on windows-arm64-aws due to build error in x/sys/windows #46761

Closed bcmills closed 3 years ago

bcmills commented 3 years ago

https://build.golang.org/log/dab244f0493db12d84e8c14db1770e836811f2d8:

# golang.org/x/sys/windows
..\..\..\..\pkg\mod\golang.org\x\sys@v0.0.0-20201119102817-f84b799fce68\windows\types_windows.go:1597:24: undefined: JOBOBJECT_BASIC_LIMIT_INFORMATION
..\..\..\..\pkg\mod\golang.org\x\sys@v0.0.0-20201119102817-f84b799fce68\windows\zsyscall_windows.go:2911:38: undefined: WSAData
..\..\..\..\pkg\mod\golang.org\x\sys@v0.0.0-20201119102817-f84b799fce68\windows\zsyscall_windows.go:2987:51: undefined: Servent
..\..\..\..\pkg\mod\golang.org\x\sys@v0.0.0-20201119102817-f84b799fce68\windows\zsyscall_windows.go:3001:50: undefined: Servent
ok      golang.org/x/crypto/openpgp/s2k 15.633s
gopherbot commented 3 years ago

Change https://golang.org/cl/328149 mentions this issue: all: upgrade x/sys to latest

bcmills commented 3 years ago

AFAICT this is a release-blocker for Go 1.17 via #11811.

TopperDEL commented 3 years ago

Sorry to ask on this closed issue - I get the same errors above while trying to build for windows/arm64. Should this be resolved by now? Or is it still pending? I'm using the latest go1.17-release. I just don't understand how the issue belongs to #11811. Can someone clarify this? Thank you!