Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation broken after updating main branch #284

Open
samos123 opened this issue Dec 6, 2024 · 0 comments
Open

installation broken after updating main branch #284

samos123 opened this issue Dec 6, 2024 · 0 comments

Comments

@samos123
Copy link

samos123 commented Dec 6, 2024

It would be nice if a simple git clone xpk && pip install -r requirements.txt would just work.

I was using xpk fine before but recently did git pull main then looked at readme and ran make install. See logs below:

(.venv) ± make install
python3 --version || (echo "python3 not installed. Please install python in version required by xpk" && exit 1)
Python 3.12.4
gcloud version || (echo "gcloud not installed, use this link to install: https://cloud.google.com/sdk/docs/install" && exit 1)
Google Cloud SDK 486.0.0
beta 2024.07.26
bq 2.1.7
core 2024.07.26
gcloud-crc32c 1.0.0
gke-gcloud-auth-plugin 0.5.9
gsutil 5.30
kubectl 1.28.12
Updates are available for some Google Cloud CLI components.  To install them,
please run:
  $ gcloud components update
mkdir -p /Users/stoelinga/workspace/xpk/bin
curl -Lo /Users/stoelinga/workspace/xpk/bin/kubectl "https://dl.k8s.io/release/v1.31.3/bin/darwin/arm64/kubectl"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   138  100   138    0     0   1940      0 --:--:-- --:--:-- --:--:--  1943
100 53.9M  100 53.9M    0     0  79.2M      0 --:--:-- --:--:-- --:--:-- 79.2M
chmod +x /Users/stoelinga/workspace/xpk/bin/kubectl
curl -Lo /Users/stoelinga/workspace/xpk/bin/kubectl-kueue "https://github.com/kubernetes-sigs/kueue/releases/download/v0.9.1/kubectl-kueue-darwin-arm64"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 76.2M  100 76.2M    0     0  7492k      0  0:00:10  0:00:10 --:--:-- 4664k
chmod +x /Users/stoelinga/workspace/xpk/bin/kubectl-kueue
git clone --depth 1 --branch v0.9.1 https://github.com/kubernetes-sigs/kueue.git /tmp/xpk_tmp/kueue
Cloning into '/tmp/xpk_tmp/kueue'...
remote: Enumerating objects: 10968, done.
remote: Counting objects: 100% (10968/10968), done.
remote: Compressing objects: 100% (7213/7213), done.
remote: Total 10968 (delta 3587), reused 8651 (delta 3093), pack-reused 0 (from 0)
Receiving objects: 100% (10968/10968), 16.82 MiB | 23.08 MiB/s, done.
Resolving deltas: 100% (3587/3587), done.
Note: switching to 'c6c50ba5f479bf666624069c2d74a0960afc6d44'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

make -C /tmp/xpk_tmp/kueue/cmd/experimental/kjobctl kubectl-kjob
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
mkdir -p /private/tmp/xpk_tmp/kueue/cmd/experimental/kjobctl/bin
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
Downloading sigs.k8s.io/kustomize/kustomize/v5@
go: downloading go1.23 (darwin/arm64)
go: download go1.23 for darwin/arm64: toolchain not available
make[1]: *** [/private/tmp/xpk_tmp/kueue/cmd/experimental/kjobctl/bin/kustomize-] Error 1
make: *** [install-kjob] Error 2

@samos123 samos123 changed the title new installation broken after updating main branch installation broken after updating main branch Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant