Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Support for MacBook Air (M1) #186

Open
slachiewicz opened this issue Jul 3, 2022 · 0 comments
Open

Support for MacBook Air (M1) #186

slachiewicz opened this issue Jul 3, 2022 · 0 comments

Comments

@slachiewicz
Copy link

I'm trying to setup storageos enabled cluster from MacOS with M1 prod.
Unfortunetly i'm not able to compile this project due to below errors:

make
go fmt ./...
go vet -tags "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" ./...
# github.com/shirou/gopsutil/disk
iostat_darwin.c:28:2: warning: 'IOMasterPort' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:132:1: note: 'IOMasterPort' has been explicitly marked deprecated here
# github.com/shirou/gopsutil/cpu
../../go/pkg/mod/github.com/shirou/[email protected]+incompatible/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
/Users/slachiewicz/oss/kubectl-storageos/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
mkdir -p /Users/slachiewicz/oss/kubectl-storageos/testbin
test -f /Users/slachiewicz/oss/kubectl-storageos/testbin/setup-envtest.sh || curl -sSLo /Users/slachiewicz/oss/kubectl-storageos/testbin/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.8.3/hack/setup-envtest.sh
source /Users/slachiewicz/oss/kubectl-storageos/testbin/setup-envtest.sh; fetch_envtest_tools /Users/slachiewicz/oss/kubectl-storageos/testbin; setup_envtest_env /Users/slachiewicz/oss/kubectl-storageos/testbin; go test -v -tags "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" github.com/storageos/kubectl-storageos/...
fetching envtest [email protected] (into '/Users/slachiewicz/oss/kubectl-storageos/testbin')
tar: Error opening archive: Unrecognized archive format
make: *** [test] Error 1

maybe this is related to shirou/gopsutil#1299

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

No branches or pull requests

1 participant