CARV-ICS-FORTH / kubernetes-riscv64

Status of work on running Kubernetes on RISC-V
17 stars 1 forks source link

Argo Workflows CLI not building #4

Open AllardKrings opened 3 days ago

AllardKrings commented 3 days ago

Hi again,

I have installed Argo Workflows and tested it, it works fine! Great work!

However, when I follow the instructions to build the Argo Workflow CLI i get the following error:

from the root of the cloned git-repo I run:

make dist/argo-linux-riscv64

which gives output:

GIT_COMMIT=6abe8a9503dcde3de7057922c6d7688c68ae4957 GIT_BRANCH=master GIT_TAG=untagged GIT_TREE_STATE=dirty RELEASE_TAG=false DEV_BRANCH=true VERSION=latest KUBECTX=default DOCKER_DESKTOP=false K3D=false DOCKER_PUSH=false RUN_MODE=local PROFILE=minimal AUTH_MODE=hybrid SECURE=false STATIC_FILES=false ALWAYS_OFFLOAD_NODE_STATUS=false UPPERIO_DB_DEBUG=0 LOG_LEVEL=debug NAMESPACED=true CGO_ENABLED=0 go build -v -gcflags '' -ldflags '-X github.com/argoproj/argo-workflows/v3.version=latest -X github.com/argoproj/argo-workflows/v3.buildDate=2024-07-04T06:23:59Z -X github.com/argoproj/argo-workflows/v3.gitCommit=6abe8a9503dcde3de7057922c6d7688c68ae4957 -X github.com/argoproj/argo-workflows/v3.gitTreeState=dirty -X github.com/argoproj/argo-workflows/v3.gitTag=untagged -extldflags -static' -o dist/argo-linux-riscv64 ./cmd/argo cmd/argo/main.go:10:2: cannot find package "github.com/argoproj/argo-workflows/v3/cmd/argo/commands" in any of: /usr/lib/go-1.22/src/github.com/argoproj/argo-workflows/v3/cmd/argo/commands (from $GOROOT) /home/ubuntu/go/src/github.com/argoproj/argo-workflows/v3/cmd/argo/commands (from $GOPATH) cmd/argo/main.go:8:2: cannot find package "k8s.io/client-go/plugin/pkg/client/auth" in any of: /usr/lib/go-1.22/src/k8s.io/client-go/plugin/pkg/client/auth (from $GOROOT) /home/ubuntu/go/src/k8s.io/client-go/plugin/pkg/client/auth (from $GOPATH) make: *** [Makefile:202: dist/argo-linux-riscv64] Error 1

Can you please give me suggestions on what I am doing wrong?

Kind regards

Allard