chaos-mesh / chaosd

A Chaos Engineering toolkit.
Apache License 2.0
133 stars 63 forks source link

有完整的arm安装包吗? #110

Closed Hoxxx closed 2 years ago

Hoxxx commented 2 years ago

测试环境是内网ARM架构,下载源码尝试make,发现需要下载一大堆依赖包

GO15VENDOREXPERIMENT="1" CGO_ENABLED=1 GOOS="" GOARCH="" go build -ldflags '-s -w -X 'github.com/chaos-mesh/chaosd/pkg/version.buildDate=2021-12-07T03:46:43Z'' -tags "" -o bin/chaosd ./cmd/main.go
go: github.com/alecthomas/template@v0.0.0-20190718012654-fb15b899a751: Get "https://proxy.golang.org/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:45337->[::1]:53: read: connection refused
go: downloading sigs.k8s.io/controller-runtime v0.4.0
go: downloading github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
go: downloading go.uber.org/zap v1.15.0
go: downloading github.com/spf13/cobra v1.1.1
go: downloading go.uber.org/fx v1.13.1
go: downloading github.com/pingcap/log v0.0.0-20200117041106-d28c14d3b1cd
go: downloading github.com/swaggo/swag v1.6.7
go: downloading github.com/olekukonko/tablewriter v0.0.4
go: downloading github.com/pingcap/errors v0.11.5-0.20190809092503-95897b64e011
go: downloading github.com/chaos-mesh/chaos-mesh v0.9.1-0.20210525104133-41e37dd1ac16
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/robfig/cron/v3 v3.0.1
go: downloading github.com/go-logr/zapr v0.1.0
go: downloading gorm.io/gorm v1.20.7
go: downloading github.com/joomcode/errorx v1.0.1
go: downloading github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/gin-gonic/gin v1.6.3
go: downloading github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
go: downloading github.com/chaos-mesh/chaos-mesh/api/v1alpha1 v0.0.0-20210519061540-67fe258c7dec
go: downloading gorm.io/driver/sqlite v1.1.4
go: downloading github.com/google/uuid v1.1.2
go: downloading k8s.io/apimachinery v0.17.1-beta.0
go: downloading github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf
go: downloading k8s.io/api v0.17.0
go: downloading google.golang.org/grpc v1.33.2
go: github.com/alecthomas/template@v0.0.0-20190718012654-fb15b899a751: Get "https://proxy.golang.org/github.com/alecthomas/template/@v/v0.0.0-20190718012654-fb15b899a751.mod": dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:45337->[::1]:53: read: connection refused
make: *** [Makefile:62:chaosd] 错误 1
Hoxxx commented 2 years ago

找了台联网的x86,把编译下载的依赖包拷过去再次编译就好了...