Package Details: google-cloud-cli 474.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: 188
Popularity: 0.92
First Submitted: 2023-03-08 09:33 (UTC)
Last Updated: 2024-05-01 09:55 (UTC)

Dependencies (2)

Required by (15)

Sources (3)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 30 Next › Last »

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)

Apply the patch and run makepkg

Seems to works fine

log: https://pastebin.com/z0vjGUbk

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!