Installed version 483.0.0-1
of google-cloud-cli
, had to perform the following configuration in order for the commands to exist:
echo "source /etc/profile.d/google-cloud-cli.sh" >> ~/.bashrc
(updated PATH)
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: | 189 |
Popularity: | 0.42 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2024-07-24 06:57 (UTC) |
Installed version 483.0.0-1
of google-cloud-cli
, had to perform the following configuration in order for the commands to exist:
echo "source /etc/profile.d/google-cloud-cli.sh" >> ~/.bashrc
(updated PATH)
Please be aware there is an issue with google-cloud-cli
and python-protobuf
>=27.0 which renders gcloud unusable. There is an issue already open.
The error is "AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer'"
Seems like compatibility issue with python 3.12. I have hidden the warning with the profile file. Or you can try to run pyupgrade over the project. I have included little template in PKGBUILD, but it's not enabled by default, and did not work for me on the first try. Patches welcome.
I'm facing the same issue @sirianni described, did someone figure out the reason?
I just upgraded to the latest and now I'm getting a bunch of python warnings every time I run a command
/opt/google-cloud-cli/platform/gsutil/gslib/vendored/boto/boto/__init__.py:1105: SyntaxWarning: invalid escape sequence '\c'
Edit: Solved!
Hi, when I try to install I get following error:
==> Starting prepare()...
failed to apply patch: 0003-add-compdef-to-zsh-completion.patch
-> Failed to install the following packages. Manual intervention is required:
google-cloud-cli - exit status
I am using zsh. Edit: My bad I didn't have base-devel installed:
pacman -Syu base-devel
@jvybihal Thank you for help. I think you are right. It is just big package so it took quite some time to copy all those debug symbols.
@AnhQuanTrl how do you create the package? Can you post complete log? How do you know it's stuck? Is there IO/CPU activity? This package is quite big and can take a while to build/install on some systems.
//edit: You have somewhere overriden the options
, '!strip'
to be specific.
When I install this package, it stuck at Copying source files needed for debug symbols...
. Can anyone help me?
Pinned Comments