@wbanfield -- see https://wiki.archlinux.org/title/Arch_User_Repository (specifically, the Getting Started section).
patch
is included in the base-devel
group.
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: | 191 |
Popularity: | 0.179957 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2025-08-28 06:01 (UTC) |
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 34 Next › Last »
@wbanfield -- see https://wiki.archlinux.org/title/Arch_User_Repository (specifically, the Getting Started section).
patch
is included in the base-devel
group.
This appears to require the patch
tool to be installed. My most recent arch installation did not have this by default so the install here failed. Adding the patch tool with pacman -Syu patch and rerunning the installation, makepkg -si, worked.
I've tried with version 411 and it seems to be that Google has disabled https://dl.google.com/dl/cloudsdk/release/downloads/for_packagers/linux/
Is this still being maintained? Do you need some maintainer's help?
This is version 404 we are at version 409 at this point. Can this be updated?
I see a PR for 408 https://github.com/sudoforge/pkgbuilds/pull/76, which has not been reviewed/merged. Do you need more maintainers to keep this alive?
@mr-ubik after some investigation, it doesn't seem like that's the source of your issue.
Please run the following commands in a shell that you encounter that error and submit the output you get as a comment here or in the github issue:
$ gcloud --version ; { [ -z "$CLOUDSDK_PYTHON" ] && echo "CLOUDSDK_PYTHON unset" ; } || { echo "CLOUDSDK_PYTHON: ${CLOUDSDK_PYTHON}" && type -S "$CLOUDSDK_PYTHON" ; }
@mr-ubik oof, they must have reintroduced it into the main executable chain. This wasn't caught because the test environment the tests for these builds runs in contains git
, which requires expat
, which requires python2
(meaning that python2
is available in the test environment). Fun stuff.
Tracking that here: https://github.com/sudoforge/pkgbuilds/issues/73
Does this still require python2
given the PKGBUILD I would say no, but while running it I get
/opt/google-cloud-sdk/bin/gcloud: line 182: /usr/bin/python2: No such file or directory
@jjdino that's a fair request. I'll take this under consideration: https://github.com/sudoforge/pkgbuilds/issues/72
I confirm that @sudoforge solution to delete ~/.cache/paru/clone/google-cloud-sdk/ worked for me (running the provided git commands did not work though)
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
gsutil
only if yo really have to. The prefered way is to usegcloud storage
anyway.