@jayb Because it is clearly documented on the ArchWiki:
https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
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 2 3 4 5 6 7 8 9 10 11 12 .. 34 Next › Last »
@jayb Because it is clearly documented on the ArchWiki:
https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started
@PolarianDev totally, just seemed strange that none of the tool chain had pointed that out and I got an esoteric error instead.
@jayb If you do not have patch
installed its probably due to the fact you are missing base-devel
which is a requirement for building AUR packages:
pacman -Syu base-devel
Should fix this problem.
Take care,
Polarian
In case it helps anyone else I had an error installing on a new system:
failed to apply patch 0001-set-python2-for-dev-appserver-py.patch
Which confused me for a but it turns out that I hadn't installed patch
yet.
@galdor sorry for the late response.
Patch is a part of the base-devel metapackage, therefore does not need to be added to the makedepends array as it will be available in every build environment, for a list of packages you can expect to be in the build environment, see the dependencies of the base-devel metapackage:
https://archlinux.org/packages/core/any/base-devel/
Have a good day,
Polarian
You may want to add patch
to makedepends
since it is required to apply patches while building the package.
@frozeus I have patched the repository with what you have tested, this package will now work for any architecture.
I also realised a new version was released, so the version has also been updated, so remember to update (you can always pull the update from my unofficial repository).
Have a good night, Polarian
Yes it works fine, it is platform inspecific.
I will apply this patch now, then I will build and deploy a platform inspecific build onto PolarRepo
and if all goes well, I will push the update here.
Thanks for the help with improving the package @frozeus
@PolarianDev reupload it here: https://we.tl/t-sFMQ5fptIj
File does not exist...
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.