Package Details: google-cloud-sdk 267.0.0-1

Git Clone URL: https://aur.archlinux.org/google-cloud-sdk.git (read-only)
Package Base: google-cloud-sdk
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/sdk/
Keywords: cloud gcloud gcp google sdk
Licenses: Apache
Submitter: barnybug
Maintainer: sudoforge (sudoforge-bot)
Last Packager: sudoforge
Votes: 127
Popularity: 2.061573
First Submitted: 2014-06-03 08:10
Last Updated: 2019-10-15 21:20

Dependencies (2)

Required by (6)

Sources (2)

Pinned Comments

sudoforge commented on 2018-09-10 15:11

To report issues or request features, please use:

https://github.com/sudoforge/pkgbuilds/issues

sudoforge commented on 2018-08-21 22:09

IMPORTANT NOTE!

Commit e01da1e449882ad8e4fe590b01cd09624b58143a removes the appengine components from this package. These components, along with all of the others, will be made available as independent packages in the future.

If you need any of the additional components for your day-to-day workflow, set "disable_updater": false in /opt/google-cloud-sdk/lib/googlecloudsdk/core/config.json and manage components using gcloud components <command>.

Be sure to install any dependencies for the additional components that you may need.

Latest Comments

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

oxplot commented on 2017-06-22 01:12

@kyrias I removed kubectl bin for now until I get around to splitting off all the other components as well.

troyengel commented on 2017-06-21 19:52

I have disowned this package. 160.0.0 is released for whomever picks it up next.

demize commented on 2017-06-21 13:26

kubectl does not belong in this package since it means that people that use the rest of the kubernetes tools, which is where the tool comes from, cannot install this package. If you want to package it as well, please move it to a split package so that people don't have to choose between the kubernetes package and the google-cloud-sdk, and then have a conflict for the kubernetes package in that one.

oxplot commented on 2017-06-06 05:38

Can we also add the beta commands:

diff --git a/PKGBUILD b/PKGBUILD
index d407e69..b28af94 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -59,11 +59,11 @@ package() {
# kubectl is not in the tarball, add it to the package bootstrap
# app-engine-python is actually the PHP+Python SDK widgets combined
# NOTE: due to how Google is using argparse we must bare word the components
- msg2 "Running bootstrapping script and adding kubectl, app-engine-python"
+ msg2 "Running bootstrapping script and adding kubectl, app-engine-python, beta"
python2 "$pkgdir/opt/$pkgname/bin/bootstrapping/install.py" \
--usage-reporting false --path-update false --bash-completion false \
--rc-path="$srcdir/fake.bashrc" \
- --additional-components kubectl app-engine-python
+ --additional-components kubectl app-engine-python beta

# https://issuetracker.google.com/issues/35900282
msg2 "Fixing appengine bug #35900282 (RAND_egd)"

Things like cloud functions are under beta.

troyengel commented on 2017-05-24 23:25

@codepilot - with the 156.0.0 release today, I added in a sed to fix that bug. It doesn't appear upstream is going to fix it anytime soon, it's been open for a year with no results. https://aur.archlinux.org/cgit/aur.git/commit/?h=google-cloud-sdk&id=8653641569769865a10efb100f86cfc301b80942

See how this works out. I wrote the sed to be pretty specific to protect against an unexpected upstream change later.

troyengel commented on 2017-05-12 13:59

OK here we go - everyone please use your voting powers for good on this upstream issue so we can get their eyes on it: https://issuetracker.google.com/issues/38256907

troyengel commented on 2017-05-12 13:45

(edit @codepilot not @Ekaradon sorry!) - have the morning off, had a look; this is actually a bug in Google Cloud SDK. I've never filed a bug with them, I'll see what's involved. Have a look here: https://github.com/openssl/openssl/blob/master/CHANGES

Changes between 1.0.2h and 1.1.0 [25 Aug 2016]
*) EGD is no longer supported by default; use enable-egd when configuring.

We (Arch) do not explicitly pass --enable-egd when compiling OpenSSL (https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/openssl) so the interfaces (ergo, RAND_egd) are not available. The official python2 ssl.py has this properly handled (per my snippet below) but Google is not accounting for this change.

I'm able to reproduce this by yanking out some of their code into a standalone file, time to find their bug tracker...

Ekaradon commented on 2017-05-11 13:07

@troyengel: here is my output from typing the command:
```
{15:02}~/aur/google-cloud-sdk:master ✗ ➭ python2 -c 'import sys; print(sys.path)'
['', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0']

```

It looks fine for me. I tried again today (154.0.1) but the error is still there. I may have to reinstall python2...

troyengel commented on 2017-04-27 11:57

@codepilot - openssl recently upgraded in Arch, many packages have to be rebuilt - did your python2 and all it's components upgrade? Check your pacman.log and see, that might be it. It looks like the SDK is calling a SSL export and it fails; I notice this in the official python2 ssl.py that imports the same thing:

try:
from _ssl import RAND_egd
except ImportError:
# LibreSSL does not provide RAND_egd
pass

Not a real answer for you, but maybe a clue... I just pushed the new 153.0.0 SDK but the release notes don't make mention of this.

codepilot commented on 2017-04-27 09:17

Hello!

Since yesterday, I'm getting this error when trying to run dev_appserver.py as usual.

---
INFO 2017-04-27 09:07:10,977 sdk_update_checker.py:231] Checking for updates to the SDK.
INFO 2017-04-27 09:07:11,533 api_server.py:272] Starting API server at: http://localhost:32965
INFO 2017-04-27 09:07:11,551 dispatcher.py:205] Starting module "default" running at: http://localhost:8080
INFO 2017-04-27 09:07:11,551 admin_server.py:116] Starting admin server at: http://localhost:8000
Traceback (most recent call last):
File "/opt/google-cloud-sdk/platform/google_appengine/_python_runtime.py", line 103, in <module>
_run_file(__file__, globals())
File "/opt/google-cloud-sdk/platform/google_appengine/_python_runtime.py", line 97, in _run_file
execfile(_PATHS.script_file(script_name), globals_)
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime.py", line 185, in <module>
main()
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime.py", line 165, in main
sandbox.enable_sandbox(config)
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py", line 204, in enable_sandbox
from google.appengine.runtime import runtime
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/runtime.py", line 40, in <module>
from google.appengine.runtime import cgi
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/cgi.py", line 32, in <module>
from email import feedparser
File "/usr/lib/python2.7/email/feedparser.py", line 27, in <module>
from email import message
File "/usr/lib/python2.7/email/message.py", line 16, in <module>
import email.charset
File "/usr/lib/python2.7/email/charset.py", line 13, in <module>
import email.base64mime
File "/usr/lib/python2.7/email/base64mime.py", line 40, in <module>
from email.utils import fix_eols
File "/usr/lib/python2.7/email/utils.py", line 28, in <module>
import socket
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py", line 842, in load_module
return self.import_stub_module(fullname)
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py", line 854, in import_stub_module
__import__(fullname, {}, {})
File "/opt/google-cloud-sdk/platform/google_appengine/google/appengine/dist27/socket.py", line 73, in <module>
from _ssl import RAND_add, RAND_egd, RAND_status, SSL_ERROR_ZERO_RETURN, SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE, SSL_ERROR_WANT_X509_LOOKUP, SSL_ERROR_SYSCALL, SSL_ERROR_SSL, SSL_ERROR_WANT_CONNECT, SSL_ERROR_EOF, SSL_ERROR_INVALID_ERROR_CODE
ImportError: cannot import name RAND_egd
---

My solution for this right now is to remove RAND_egd from /opt/google-cloud-sdk/platform/google_appengine/google/appengine/dist27/socket.py.