chaosblade-io / chaosblade

An easy to use and powerful chaos engineering experiment toolkit.(阿里巴巴开源的一款简单易用、功能强大的混沌实验注入工具)
https://chaosblade.io
Apache License 2.0
5.99k stars 950 forks source link

build failed with 'make build_linux' on Macos #1075

Open antstudio-git opened 1 month ago

antstudio-git commented 1 month ago

Please find the detail error msg below:

exec/cloud/executor.go:22:2: github.com/chaosblade-io/chaosblade-exec-cloud@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-exec-cloud/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/exp.go:24:2: github.com/chaosblade-io/chaosblade-exec-cri@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-exec-cri/@v/v1.7.4.zip": x509: certificate signed by unknown authority exec/middleware/executor.go:22:2: github.com/chaosblade-io/chaosblade-exec-middleware@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-exec-middleware/@v/v1.7.4.zip": x509: certificate signed by unknown authority exec/kubernetes/executor_compose.go:23:2: github.com/chaosblade-io/chaosblade-exec-os@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-exec-os/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/exp.go:25:2: github.com/chaosblade-io/chaosblade-operator@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-operator/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/destroy.go:26:2: github.com/chaosblade-io/chaosblade-operator@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-operator/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/check_java.go:26:2: github.com/chaosblade-io/chaosblade-spec-go@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-spec-go/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/create.go:23:2: github.com/chaosblade-io/chaosblade-spec-go@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-spec-go/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/check.go:20:2: github.com/chaosblade-io/chaosblade-spec-go@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-spec-go/@v/v1.7.4.zip": x509: certificate signed by unknown authority cli/cmd/check_java.go:28:2: github.com/chaosblade-io/chaosblade-spec-go@v1.7.4: Get "https://proxy.golang.org/github.com/chaosblade-io/chaosblade-spec-go/@v/v1.7.4.zip": x509: certificate signed by unknown authority data/source.go:29:2: github.com/mattn/go-sqlite3@v1.10.1-0.20190217174029-ad30583d8387: Get "https://proxy.golang.org/github.com/mattn/go-sqlite3/@v/v1.10.1-0.20190217174029-ad30583d8387.zip": x509: certificate signed by unknown authority cli/cmd/check_os.go:32:2: github.com/olekukonko/tablewriter@v0.0.5-0.20201029120751-42e21c7531a3: Get "https://proxy.golang.org/github.com/olekukonko/tablewriter/@v/v0.0.5-0.20201029120751-42e21c7531a3.zip": x509: certificate signed by unknown authority exec/jvm/sandbox.go:34:2: github.com/shirou/gopsutil@v3.21.11+incompatible: Get "https://proxy.golang.org/github.com/shirou/gopsutil/@v/v3.21.11+incompatible.zip": x509: certificate signed by unknown authority cli/cmd/check.go:21:2: github.com/spf13/cobra@v1.0.0: Get "https://proxy.golang.org/github.com/spf13/cobra/@v/v1.0.0.zip": x509: certificate signed by unknown authority cli/cmd/create.go:30:2: github.com/spf13/pflag@v1.0.5: Get "https://proxy.golang.org/github.com/spf13/pflag/@v/v1.0.5.zip": x509: certificate signed by unknown authority cli/cmd/status.go:26:2: golang.org/x/term@v0.1.0: Get "https://proxy.golang.org/golang.org/x/term/@v/v0.1.0.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:29:2: k8s.io/apimachinery@v0.20.6: Get "https://proxy.golang.org/k8s.io/apimachinery/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:30:2: k8s.io/apimachinery@v0.20.6: Get "https://proxy.golang.org/k8s.io/apimachinery/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:31:2: k8s.io/apimachinery@v0.20.6: Get "https://proxy.golang.org/k8s.io/apimachinery/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:32:2: k8s.io/client-go@v0.20.6: Get "https://proxy.golang.org/k8s.io/client-go/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:33:2: k8s.io/client-go@v0.20.6: Get "https://proxy.golang.org/k8s.io/client-go/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:34:2: k8s.io/client-go@v0.20.6: Get "https://proxy.golang.org/k8s.io/client-go/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:35:2: k8s.io/client-go@v0.20.6: Get "https://proxy.golang.org/k8s.io/client-go/@v/v0.20.6.zip": x509: certificate signed by unknown authority exec/kubernetes/executor.go:36:2: sigs.k8s.io/controller-runtime@v0.6.0: Get "https://proxy.golang.org/sigs.k8s.io/controller-runtime/@v/v0.6.0.zip": x509: certificate signed by unknown authority make: *** [Makefile:128: cli] Error 1 make[1]: *** [build_linux_with_arg] Error 2 make: *** [build_linux] Error 2

spencercjh commented 6 days ago

这是你的网络问题导致的:

x509: certificate signed by unknown authority,你到 proxy.golang.org 的网络不通畅,尝试使用国内的 go proxy。