This package is currently broken.
mv: cannot stat '/home/quest/.cache/yay/google-cloud-cli/pkg/google-cloud-cli/opt/google-cloud-cli/help/man': No such file or directory
| Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
|---|---|
| Package Base: | google-cloud-cli |
| Description: | gcloud Bundled Python 3.12 |
| Upstream URL: | https://cloud.google.com/cli/ |
| Keywords: | cloud gcloud gcp google sdk |
| Licenses: | Apache-2.0 |
| Submitter: | PolarianDev |
| Maintainer: | jvybihal |
| Last Packager: | jvybihal |
| Votes: | 200 |
| Popularity: | 3.08 |
| First Submitted: | 2023-03-08 09:33 (UTC) |
| Last Updated: | 2026-05-21 17:15 (UTC) |
This package is currently broken.
mv: cannot stat '/home/quest/.cache/yay/google-cloud-cli/pkg/google-cloud-cli/opt/google-cloud-cli/help/man': No such file or directory
I had to ignore the mv man line:
mv -f "${pkgdir}/opt/${pkgbase}/help/man" "${pkgdir}/usr/share/"
as it was failing on missing file:
==> Starting package_google-cloud-cli()...
mv: cannot stat '/home/tom/.cache/yay/google-cloud-cli/pkg/google-cloud-cli/opt/google-cloud-cli/help/man': No such file or directory
==> ERROR: A failure occurred in package_google-cloud-cli().
Aborting...
$ gcloud beta run worker-pools deploy my-pool
ERROR: gcloud failed to load (gcloud.beta.run.worker-pools.deploy): Problem loading gcloud.beta.run.worker-pools.deploy: No module named 'grpc'.
This indicates that the `grpc` module required for this gcloud command is not installed in your Python environment.
Action Required: Install the missing module `grpc` in your Python environment by running:
$ sudo pip3 install grpc
and set:
$ export CLOUDSDK_PYTHON_SITEPACKAGES=1
For more information, see https://docs.cloud.google.com/sdk/gcloud/reference/topic/startup
@jvybihal; thanks a ton for fixing this, I understand that you don't want to maintain a package for an arch you don't use, fair enough.
It's not quite fixed though,
🚛 Starting the build:
==> ERROR: google-cloud-cli-bundled-python3-unix is not available for the 'aarch64' architecture.
so I had to remove google-cloud-cli-bundled-python3-unix from the list of packages created by this PKGBUILD, but in the end it works.
I have the following error installing the package:
==> Starting package_google-cloud-cli-component-gke-gcloud-auth-plugin()...
==> ERROR: A failure occurred in package_google-cloud-cli-component-gke-gcloud-auth-plugin().
Aborting...
Only after installing python312, does the package builds correctly
@kubrick thanks for reporting, should be fixed even tho I do not plan supporting aarch64
The aarch64 package fails to build:
🚛 Starting the build:
==> Making package: google-cloud-cli 535.0.0-1 (Fri 22 Aug 2025 08:33:57 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found google-cloud-cli.sh
-> Found google-cloud-cli.install
-> Downloading google-cloud-cli-535.0.0.orig_aarch64.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 61.9M 100 61.9M 0 0 6791k 0 0:00:09 0:00:09 --:--:-- 8250k
==> Validating source files with sha256sums...
google-cloud-cli.sh ... Passed
google-cloud-cli.install ... Passed
==> Validating source_aarch64 files with sha256sums...
google-cloud-cli-535.0.0.orig_aarch64.tar.gz ... Passed
==> Extracting sources...
-> Extracting google-cloud-cli-535.0.0.orig_aarch64.tar.gz with bsdtar
==> Starting prepare()...
mv: cannot stat 'platform/bundledpythonunix': No such file or directory
==> ERROR: A failure occurred in prepare().
latest version doesn't open a browser when you do glcoud auth login (atleast in wsl). going back to version 532.0.0 fixed the issue for me
For folks updating from the bundled python version, you need to reboot for the bundled python environment to not be used. If you can't reboot, then follow @arth's solution of passing export CLOUDSDK_PYTHON=$(which python3) to solve it temporarily.
I've only mentioned it in case someone else experiences it. I don't think it's an issue with this package itself.
Pinned Comments
jvybihal commented on 2025-06-30 06:37 (UTC)
I did a split of the package to 3 packages:
google-cloud-cli,google-cloud-cli-bq,google-cloud-cli-gsutil. There is also package containing the bundled python for those who want it or as a dependency to the gsutil (current version 5.24 does not work with python 3.13 out-of-the-box, although 5.25 which is already available on github should). I am also testing to include other "components".If there will be interest, it's also possible to split the manpages to another package. So for those who don't want them, the install time can get faster and size significantly smaller.
I have tried not to break anyones installation, so please try to install the 3 mentioned packages and it should work the same as before.
You don't need bundled python for the gcloud to work, and I would advice to use
gsutilonly if yo really have to. The prefered way is to usegcloud storageanyway.