kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
8.99k stars 2.94k forks source link

client-go dependency download with go build is failing in s390x build #1300

Closed Bhagyashreek8 closed 6 months ago

Bhagyashreek8 commented 1 year ago

version k8s.io/client-go v0.28.2 and v0.27.x go version - Tried on 1.19 and 1.20

Error

go: downloading github.com/emicklei/go-restful/v3 v3.9.0

/go/pkg/mod/k8s.io/client-go@v0.28.2/plugin/pkg/client/auth/exec/exec.go:48:2: //go:build comment without // +build comment

/go/pkg/mod/sigs.k8s.io/json@v0.0.0-20221116044647-bc3834ca7abd/json.go:24:2: //go:build comment without // +build comment

make: *** [Makefile:227: build-provisioner-binary] Error 1

Solutions tried but not worked -

  1. Update client-go version to 0.28.x
  2. Try with go 1.19, 1.20
  3. go fix && go fmt
  4. download deps as go mod vendor and modify the affected file locally and build.
Screenshot 2023-10-03 at 8 29 29 PM

Whereas the same works fine with linux-amd64 architecture.

We are blocked on linux-s390x support as of now with this issue.

k8s-triage-robot commented 8 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 6 months ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-ci-robot commented 6 months ago

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to [this](https://github.com/kubernetes/client-go/issues/1300#issuecomment-2027408960): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue with `/reopen` >- Mark this issue as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close not-planned > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.