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

Binary Build failed on Apple M1 #10101

Closed
ilya-zuyev opened this issue Jan 7, 2021 · 2 comments · Fixed by #10115
Closed

Binary Build failed on Apple M1 #10101

ilya-zuyev opened this issue Jan 7, 2021 · 2 comments · Fixed by #10115
Labels
kind/bug Categorizes issue or PR as related to a bug. os/macos

Comments

@ilya-zuyev
Copy link
Contributor

It looks like darwin/arm64 is not supported yet by github.com/shirou/gopsutil

develop@Devs-Mac-mini --- src/minikube ‹master› » make
go build  -tags "go_getter_nos3 go_getter_nogcs" -ldflags="-X k8s.io/minikube/pkg/version.version=v1.16.0 -X k8s.io/minikube/pkg/version.isoVersion=v1.16.0 -X k8s.io/minikube/pkg/version.isoPath=minikube/iso -X k8s.io/minikube/pkg/version.gitCommitID="76687550867b66ed9a595d62f9f43101d6c11d65-dirty" -X k8s.io/minikube/pkg/version.storageProvisionerVersion=v4" -o out/minikube k8s.io/minikube/cmd/minikube
# github.com/shirou/gopsutil/process
../../goworkspace/pkg/mod/github.com/shirou/[email protected]+incompatible/process/process_darwin.go:567:34: undefined: KinfoProc
../../goworkspace/pkg/mod/github.com/shirou/[email protected]+incompatible/process/process_darwin.go:568:8: undefined: KinfoProc
../../goworkspace/pkg/mod/github.com/shirou/[email protected]+incompatible/process/process_darwin.go:581:32: undefined: KinfoProc
../../goworkspace/pkg/mod/github.com/shirou/[email protected]+incompatible/process/process_darwin.go:585:62: undefined: KinfoProc
make: *** [out/minikube] Error 2
develop@Devs-Mac-mini --- src/minikube ‹master› » uname -a
Darwin Devs-Mac-mini.local 20.2.0 Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101 arm64
develop@Devs-Mac-mini --- src/minikube ‹master› » go version
go version devel +5a4db102b2 Thu Dec 17 03:20:55 2020 +0000 darwin/arm64
develop@Devs-Mac-mini --- src/minikube ‹master› » git rev-parse HEAD
76687550867b66ed9a595d62f9f43101d6c11d65
@ilya-zuyev
Copy link
Contributor Author

shirou/gopsutil#1000 may be related

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jan 7, 2021

Seems that it has been fixed now (v3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. os/macos
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants