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

All tests currently fail on macOS 12.4 and Go 1.18 #199

Open
prologic opened this issue Aug 11, 2022 · 3 comments
Open

All tests currently fail on macOS 12.4 and Go 1.18 #199

prologic opened this issue Aug 11, 2022 · 3 comments

Comments

@prologic
Copy link

See:

(⎈ |local:default)
prologic@Jamess-iMac
Thu Aug 11 14:19:41
~/Contributions/go-discover
 (master) 0
$ go test ./...
# golang.org/x/sys/unix
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:28:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:43:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:59:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:75:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:90:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:105:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:121:3: //go:linkname must refer to declared function or variable
../../go/pkg/mod/golang.org/x/sys@v0.0.0-20191022100944-742c48ecaeb7/unix/zsyscall_darwin_amd64.go:121:3: too many errors
FAIL	github.com/hashicorp/go-discover [build failed]
FAIL	github.com/hashicorp/go-discover/provider/aliyun [build failed]
FAIL	github.com/hashicorp/go-discover/provider/aws [build failed]
FAIL	github.com/hashicorp/go-discover/provider/azure [build failed]
FAIL	github.com/hashicorp/go-discover/provider/digitalocean [build failed]
FAIL	github.com/hashicorp/go-discover/provider/gce [build failed]
FAIL	github.com/hashicorp/go-discover/provider/k8s [build failed]
FAIL	github.com/hashicorp/go-discover/provider/linode [build failed]
FAIL	github.com/hashicorp/go-discover/provider/mdns [build failed]
FAIL	github.com/hashicorp/go-discover/provider/os [build failed]
FAIL	github.com/hashicorp/go-discover/provider/packet [build failed]
FAIL	github.com/hashicorp/go-discover/provider/scaleway [build failed]
FAIL	github.com/hashicorp/go-discover/provider/softlayer [build failed]
FAIL	github.com/hashicorp/go-discover/provider/tencentcloud [build failed]
FAIL	github.com/hashicorp/go-discover/provider/triton [build failed]
FAIL	github.com/hashicorp/go-discover/provider/vsphere [build failed]

Looking into why...

@prologic
Copy link
Author

There's also a couple of problems with some dependencies:

go: github.com/hashicorp/go-discover/provider/vsphere imports
	github.com/hashicorp/vic/pkg/vsphere/tags imports
	github.com/Sirupsen/logrus: github.com/Sirupsen/logrus@v1.9.0: parsing go.mod:
	module declares its path as: github.com/sirupsen/logrus
	        but was required as: github.com/Sirupsen/logrus

and

go: github.com/googleapis/gnostic@v0.6.9: parsing go.mod:
	module declares its path as: github.com/google/gnostic
	        but was required as: github.com/googleapis/gnostic

@prologic
Copy link
Author

These dependencies are going to have to be fixed first I think.

@smantic
Copy link

smantic commented Aug 15, 2022

go get golang.org/x/sys
to fix outdated sys version this go version is using

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants