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'
Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
---|---|
Package Base: | google-cloud-cli |
Description: | A core set of command-line tools for the Google Cloud Platform. Includes only gcloud core (with beta and alpha commands), gcloud-crc32c and man pages |
Upstream URL: | https://cloud.google.com/cli/ |
Keywords: | cloud gcloud gcp google sdk |
Licenses: | Apache-2.0 |
Conflicts: | google-cloud-sdk |
Provides: | google-cloud-cli-alpha, google-cloud-cli-beta, google-cloud-sdk |
Replaces: | google-cloud-sdk |
Submitter: | PolarianDev |
Maintainer: | jvybihal |
Last Packager: | jvybihal |
Votes: | 191 |
Popularity: | 0.60 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2025-06-30 06:49 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 33 Next › Last »
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?
@intelfx hello, looked at the patch and I have no problem with it. Applied. thanks!
Hi!
Please consider applying (any of) the following patches: https://0x0.st/HDE2.patch
(Patch 2 is the most important.)
@ThinkRedstone the package is in the phase of restructuring. Previous maintainer decided to remove symlink from /usr/bin in favor of profile file in /etc/profile.d.
You need to source /etc/profile.d/google-cloud-cli.sh
in your .bashrc or other appropriate place to update your PATH
.
After my PCA exam, I would like to redo this package little bit to make it more like the .deb
variant, or even (not decided yet) use the .deb as source (it already has manpages compressed). Also I plan to add components as available packages.
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.