Closed advancedwebdeveloper closed 2 years ago
Was trying to install golangci-lint, to test Helm, under RISC-V
$ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 golangci/golangci-lint crit uname_arch_check 'riscv64' got converted to 'riscv64' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib $ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 golangci/golangci-lint crit uname_arch_check 'riscv64' got converted to 'riscv64' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib $ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 golangci/golangci-lint crit uname_arch_check 'riscv64' got converted to 'riscv64' which is not a GOARCH value. Please file bug report at https://github.com/client9/shlib
Here is my environment:
$ go env GOARCH riscv64 $ go env GO111MODULE="" GOARCH="riscv64" GOBIN="" GOCACHE="/home/ubuntu/.cache/go-build" GOENV="/home/ubuntu/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="riscv64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/ubuntu/go/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/ubuntu/go" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/lib/go-1.18" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/lib/go-1.18/pkg/tool/linux_riscv64" GOVCS="" GOVERSION="go1.18.1" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/dev/null" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2452425109=/tmp/go-build -gno-record-gcc-switches"
Was trying to install golangci-lint, to test Helm, under RISC-V
Here is my environment: