Package Details: google-cloud-cli 528.0.0-1

Git Clone URL: https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy)
Package Base: google-cloud-cli
Description: A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq.
Upstream URL: https://cloud.google.com/cli/
Keywords: cloud gcloud gcp google sdk
Licenses: Apache-2.0
Conflicts: google-cloud-sdk
Provides: google-cloud-sdk
Replaces: google-cloud-sdk
Submitter: PolarianDev
Maintainer: jvybihal
Last Packager: jvybihal
Votes: 191
Popularity: 0.62
First Submitted: 2023-03-08 09:33 (UTC)
Last Updated: 2025-06-26 07:16 (UTC)

Dependencies (2)

Required by (14)

Sources (5)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 33 Next › Last »

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)

PolarianDev commented on 2023-05-31 13:11 (UTC)

@frozeus In theory yes, I am pretty sure the upstream is python, but I would only know if I tested it.

AUR is mainly leaned towards Arch Linux, which is x86_64 only, however if someone with an ARM device can build it and use it, then sure.

I believe it should be 'any' anyways, however I did not submit this package initially (I only renamed it after google renamed it from gcloud-sdk to gcloud-cli), the initial PKGBUILD was not written by me.

But like I said, I got no ARM devices running Arch based distributions so I can't really test it, sorry.

frozeus commented on 2023-05-31 11:39 (UTC)

@PolarianDev could you add aarch64 support? Or is their any compilation issue?

Thanks for this package!

PolarianDev commented on 2023-05-28 22:12 (UTC)

@kubrick Good to know the issue is solved, and the package works :)

kubrick commented on 2023-05-28 19:16 (UTC)

@PolarianDev version 432 worked without any problem...

PolarianDev commented on 2023-05-27 14:00 (UTC)

@kubrick Could not reproduce this issue sorry.

I have built the version I just bumped (432.0.0) in a clean chroot without any issues.

If you can not build it, please attempt to use the version provided by PolarRepo (https://git.polarian.dev/AUR/polarrepo) and installing the package with pacman -Syu google-cloud-cli

PolarianDev commented on 2023-05-23 08:58 (UTC)

@kubrick When I bumped the package to 430.0.0, the package successfully built in a clean chroot, you are free to download the built package from my unofficial repository:

https://polarrepo.polarian.dev

The package needs updating to version 431.0.0, I will see if I can reproduce this build error within a clean chroot once I bump the package later.

Thanks for reporting this issue,
Polarian

kubrick commented on 2023-05-22 13:25 (UTC)

I could not get this to build (ImportError: cannot import name 'yaml' from 'ruamel' (unknown location)) without adding the following to the prepare function:

export CLOUDSDK_PYTHON=python3;

PolarianDev commented on 2023-05-22 09:52 (UTC)

@artafinde Ok I get it now, thanks for the explanation :)

I will add provides when I update the package (seen as it is already flagged out of date).

Thanks, Polarian