Asking for help? Comment out what you need so we can get more information to help you!
I want to build 1.26 Kubernetes in my fedora linux, but get this error:
~/go/src/k8s.io/kubernetes release-1.26 !1 ❯ sudo -E ./hack/local-up-cluster.sh
make: Entering directory '/home/fedora/go/src/k8s.io/kubernetes'
go version go1.19.7 linux/amd64
+++ [0314 09:56:23] Building go targets for linux/amd64
k8s.io/kubernetes/cmd/kubectl (static)
k8s.io/kubernetes/cmd/kube-apiserver (static)
k8s.io/kubernetes/cmd/kube-controller-manager (static)
k8s.io/kubernetes/cmd/cloud-controller-manager (non-static)
k8s.io/kubernetes/cmd/kubelet (non-static)
k8s.io/kubernetes/cmd/kube-proxy (static)
k8s.io/kubernetes/cmd/kube-scheduler (static)
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
!!! [0314 09:56:25] Call tree:
!!! [0314 09:56:25] 1: /home/fedora/go/src/k8s.io/kubernetes/hack/lib/golang.sh:758 kube::golang::build_some_binaries(...)
!!! [0314 09:56:25] 2: /home/fedora/go/src/k8s.io/kubernetes/hack/lib/golang.sh:928 kube::golang::build_binaries_for_platform(...)
!!! [0314 09:56:25] 3: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0314 09:56:25] Call tree:
!!! [0314 09:56:25] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
!!! [0314 09:56:25] Call tree:
!!! [0314 09:56:25] 1: hack/make-rules/build.sh:27 kube::golang::build_binaries(...)
make: *** [Makefile:92: all] Error 1
make: Leaving directory '/home/fedora/go/src/k8s.io/kubernetes'
Anyone helps me is awesome!!!
my go version: go version go1.19.6 linux/amd64
Cluster information:
Kubernetes version: 1.26
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS: Fedora 34
CNI and version:
CRI and version: