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

build failed with 'make build_linux' on Macos #1075

Open
antstudio-git opened this issue Sep 27, 2024 · 1 comment
Open

build failed with 'make build_linux' on Macos #1075

antstudio-git opened this issue Sep 27, 2024 · 1 comment

Comments

@antstudio-git
Copy link

Please find the detail error msg below:

exec/cloud/executor.go:22:2: github.com/chaosblade-io/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]+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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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/[email protected]: 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
Copy link
Contributor

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

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

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

2 participants