You may want to add patch
to makedepends
since it is required to apply patches while building the package.
Search Criteria
Package Details: google-cloud-cli-gsutil 531.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
---|---|
Package Base: | google-cloud-cli |
Description: | Cloud Storage Command Line Tool: gsutil is not the recommended CLI for Cloud Storage |
Upstream URL: | https://cloud.google.com/cli/ |
Keywords: | cloud gcloud gcp google sdk |
Licenses: | Apache-2.0 |
Conflicts: | gsutil |
Provides: | google-cloud-cli-gsutil, gsutil |
Submitter: | PolarianDev |
Maintainer: | jvybihal |
Last Packager: | jvybihal |
Votes: | 191 |
Popularity: | 0.33 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2025-07-23 04:56 (UTC) |
Dependencies (4)
- python (python37AUR)
- jq (jq-gitAUR, jaq-binAUR, jq-staticAUR) (make)
- google-cloud-cli-bundled-python3-unixAUR (optional) – bundled python to use if system python is not compatible
- python-crcmod (optional) – verify the integrity of GCS object contents
Required by (1)
- google-cloud-cli (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 33 Next › Last »
galdor commented on 2023-07-18 08:53 (UTC)
PolarianDev commented on 2023-06-01 00:24 (UTC)
@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
PolarianDev commented on 2023-05-31 15:13 (UTC)
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
frozeus commented on 2023-05-31 15:10 (UTC)
@PolarianDev reupload it here: https://we.tl/t-sFMQ5fptIj
PolarianDev commented on 2023-05-31 15:01 (UTC)
File does not exist...
frozeus commented on 2023-05-31 14:56 (UTC)
@PolarianDev thanks!
I have uploaded it here: https://file.io/74YQoahLAmfL bfeb2686d09055f565e6b26b3bf4ee7c6c398d95a97f75b791a5476c6387af38 google-cloud-cli-432.0.0-2-any.pkg.tar.xz
PolarianDev commented on 2023-05-31 14:46 (UTC)
@frozeus welp only one way to check.
Please send me a download to the built package you got (which was built on ARM) and I will install it within an x86 chroot, and if that works I will merge this patch :)
frozeus commented on 2023-05-31 14:45 (UTC)
PolarianDev commented on 2023-05-31 13:25 (UTC)
@frozeus You are not running Arch Linux on the macbook, you are running a fork, either asahi or arch linux arm (I am not sure if alarm even supports M2), these are unsupported by Arch Linux, and its "use at your own risk".
If you can prove this works fine under the 'any' flag for architecture, I will update it, see the patch below:
From f20deceb219ab4dbbe5c9e9ba4a9de36b4555246 Mon Sep 17 00:00:00 2001
From: Polarian <polarian@polarian.dev>
Date: Wed, 31 May 2023 14:23:53 +0100
Subject: [PATCH] Change architecture to any
---
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 80e7f74..1943cc8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,11 @@
_extractedName="google-cloud-sdk"
pkgname="google-cloud-cli"
pkgver=432.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq."
url="https://cloud.google.com/cli/"
license=("Apache")
-arch=('x86_64')
+arch=('any')
depends=('python')
optdepends=(
"python2: for dev_appserver.py and endpointscfg support"
--
2.40.1
Provide me the build log under aarch64, and if it works properly I will apply the patch to the package right now.
Thank you, Polarian
frozeus commented on 2023-05-31 13:19 (UTC)
@PolarianDev I'm running ArchLinux on a MacBook M2 (Aarch64)
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.