Stork fails to build on MacOS
@marcin wrote:
Stork no longer builds for me on macOS:
/Users/marcin/devel/stork/tools/golang/go/bin/go build -ldflags=-X 'github.com/go-swagger/go-swagger/cmd/swagger/commands.Version=v0.23.0'
# golang.org/x/sys/unix
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../../../gopath/pkg/mod/golang.org/x/sys@v0.0.0-20200302150141-5c8b2ff67527/unix/zsyscall_darwin_amd64.go:121:3: too many errors
rake aborted!
I wonder if it has anything to do with this:
commit 157dbd2a00b83197e3f366e73d82e69ad590d9ed
Author: Slawek Figiel <slawek@isc.org>
Date: Wed Aug 17 13:06:03 2022 +0200
[#193] Build GoSwagger from sources
I can confirm that this commit breaks the build on macOS
Upgrading x/sys package doesn't help