You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to do?
Upgrade go to 1.18 and install nancy
What feature or behavior is this required for?
Upgrade go from 1.17 to 1.18 on darwin and install nancy with :
go build -v -o=../bin/nancy github.com/sonatype-nexus-community/nancy
pkgsets/go1.18/global/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
pkgsets/go1.18/global/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
pkgsets/go1.18/global/pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_amd64.go:121:3: too many errors
nancy/nancy.go:11: running "go": exit status 2
How could we solve this issue? (Not knowing is okay!)
Indirect dependency on an old version of x/sys that breaks when running go install with go 1.18.
The fix appears to be to upgrade the dependency on x/sys. x/debug/internal/core: build broken on darwin since at least 2021-10-28 golang/go#49219
with the latest version of golang.org/x/sys: v0.0.0-20220317061510-51cd9980dadf everything works again
Thank you
The text was updated successfully, but these errors were encountered:
Hello !
What are you trying to do?
Upgrade go to 1.18 and install nancy
What feature or behavior is this required for?
Upgrade go from 1.17 to 1.18 on darwin and install nancy with :
Indirect dependency on an old version of x/sys that breaks when running go install with go 1.18.
The fix appears to be to upgrade the dependency on x/sys. x/debug/internal/core: build broken on darwin since at least 2021-10-28 golang/go#49219
with the latest version of golang.org/x/sys: v0.0.0-20220317061510-51cd9980dadf everything works again
Thank you
The text was updated successfully, but these errors were encountered: