Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Failed to build tanzu core cli from latest main branch #4270

Open
shilpamayanna opened this issue Jan 11, 2023 · 0 comments
Open

Failed to build tanzu core cli from latest main branch #4270

shilpamayanna opened this issue Jan 11, 2023 · 0 comments
Labels
area/cli kind/bug PR/Issue related to a bug

Comments

@shilpamayanna
Copy link

shilpamayanna commented Jan 11, 2023

Bug description
Seeing failure while building Tanzu Core CLI with the following error. The issue is related to pinniped version specified in the Makefile
PINNIPED_VERSIONS = v0.4.4 v0.12.1

+ go build -o ../cmd/cli/plugin/pinniped-auth/asset/pinniped-v0.12.1 ./cmd/pinniped
../../../../../go/pkg/mod/github.com/ory/[email protected]/token/jwt/jwt.go:35:2: no required module provides package github.com/ory/x/errorsx; to add it:
	go get github.com/ory/x/errorsx
make: *** [build-cli-local-darwin-amd64] Error 1

Affected product area (please put an X in all that apply)

  • ( ) APIs
  • ( ) Addons
  • (X) CLI
  • ( ) Docs
  • ( ) IAM
  • ( ) Installation
  • ( ) Plugin
  • ( ) Security
  • ( ) Test and Release
  • ( ) User Experience
  • ( ) Developer Experience

Expected behavior
Tanzu CLI build should be successful

Steps to reproduce the bug
make build-install-cli-local

Version (include the SHA if the version is not obvious)
Commit version: 75a91bd

Environment where the bug was observed (cloud, OS, etc)
Darwin amd64

Relevant Debug Output (Logs, manifests, etc)
As a workaround, updating the PINNIPED VERSION to the following fixed the issue
PINNIPED_VERSIONS = v0.4.4 v0.19.0

@shilpamayanna shilpamayanna added kind/bug PR/Issue related to a bug needs-triage Indicates an issue or PR needs to be triaged labels Jan 11, 2023
@yharish991 yharish991 added area/cli and removed needs-triage Indicates an issue or PR needs to be triaged labels Jan 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/cli kind/bug PR/Issue related to a bug
Projects
None yet
Development

No branches or pull requests

2 participants