Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firestore/grpcio installation failure on PyPy #5902

Closed
hiranya911 opened this issue Sep 7, 2018 · 3 comments
Closed

Firestore/grpcio installation failure on PyPy #5902

hiranya911 opened this issue Sep 7, 2018 · 3 comments
Assignees
Labels
api: firestore Issues related to the Firestore API. grpc status: invalid

Comments

@hiranya911
Copy link

We run some compliance tests on PyPy for the Firebase Admin SDK. Today we detected a failure during the installation of Firestore/GRPC dependencies:

ERROR: invocation failed (exit code 1), logfile: /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/log/pypy-2.log
ERROR: actionid: pypy
msg: installpkg
cmdargs: ['/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/bin/pip', 'install', '/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/dist/firebase_admin-2.13.0.zip']

Processing ./.tox/dist/firebase_admin-2.13.0.zip
Requirement already satisfied: cachecontrol>=0.12.4 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (0.12.5)
Requirement already satisfied: google-auth>=1.3.0 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (1.5.1)
Requirement already satisfied: google-cloud-firestore>=0.27.0 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (0.29.0)
Requirement already satisfied: google-cloud-storage>=1.2.0 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (1.11.0)
Requirement already satisfied: requests>=2.13.0 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (2.19.1)
Requirement already satisfied: six>=1.6.1 in ./.tox/pypy/site-packages (from firebase-admin==2.13.0) (1.11.0)
Collecting enum34>=1.0.4 (from firebase-admin==2.13.0)
  Using cached https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Requirement already satisfied: msgpack in ./.tox/pypy/site-packages (from cachecontrol>=0.12.4->firebase-admin==2.13.0) (0.5.6)
Requirement already satisfied: pyasn1-modules>=0.2.1 in ./.tox/pypy/site-packages (from google-auth>=1.3.0->firebase-admin==2.13.0) (0.2.2)
Requirement already satisfied: rsa>=3.1.4 in ./.tox/pypy/site-packages (from google-auth>=1.3.0->firebase-admin==2.13.0) (3.4.2)
Requirement already satisfied: cachetools>=2.0.0 in ./.tox/pypy/site-packages (from google-auth>=1.3.0->firebase-admin==2.13.0) (2.1.0)
Requirement already satisfied: google-api-core[grpc]<2.0.0dev,>=0.1.1 in ./.tox/pypy/site-packages (from google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (1.3.0)
Requirement already satisfied: google-cloud-core<0.29dev,>=0.28.0 in ./.tox/pypy/site-packages (from google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (0.28.1)
Requirement already satisfied: google-resumable-media>=0.3.1 in ./.tox/pypy/site-packages (from google-cloud-storage>=1.2.0->firebase-admin==2.13.0) (0.3.1)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.tox/pypy/site-packages (from requests>=2.13.0->firebase-admin==2.13.0) (3.0.4)
Requirement already satisfied: idna<2.8,>=2.5 in ./.tox/pypy/site-packages (from requests>=2.13.0->firebase-admin==2.13.0) (2.7)
Requirement already satisfied: urllib3<1.24,>=1.21.1 in ./.tox/pypy/site-packages (from requests>=2.13.0->firebase-admin==2.13.0) (1.23)
Requirement already satisfied: certifi>=2017.4.17 in ./.tox/pypy/site-packages (from requests>=2.13.0->firebase-admin==2.13.0) (2018.8.24)
Requirement already satisfied: pyasn1<0.5.0,>=0.4.1 in ./.tox/pypy/site-packages (from pyasn1-modules>=0.2.1->google-auth>=1.3.0->firebase-admin==2.13.0) (0.4.4)
Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.5.3 in ./.tox/pypy/site-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (1.5.3)
Requirement already satisfied: protobuf>=3.0.0 in ./.tox/pypy/site-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (3.6.1)
Requirement already satisfied: setuptools>=34.0.0 in ./.tox/pypy/site-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (40.2.0)
Requirement already satisfied: pytz in ./.tox/pypy/site-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (2018.5)
Requirement already satisfied: futures>=3.2.0; python_version < "3.2" in ./.tox/pypy/site-packages (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0) (3.2.0)
Collecting grpcio>=1.8.2; extra == "grpc" (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0)
  Using cached https://files.pythonhosted.org/packages/a4/92/be89519c8328d78f88136a4b11951378a28525fd9606fc51c279fff48e5c/grpcio-1.14.2.tar.gz
Building wheels for collected packages: firebase-admin, grpcio
  Running setup.py bdist_wheel for firebase-admin: started
  Running setup.py bdist_wheel for firebase-admin: finished with status 'done'
  Stored in directory: /usr/local/google/home/hkj/.cache/pip/wheels/10/f0/a7/7d5a7aed5664170d3502507f4729f1174d8a2b769352fe7d0a
  Running setup.py bdist_wheel for grpcio: started
  Running setup.py bdist_wheel for grpcio: finished with status 'error'
  Complete output from command /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-IMO2i8/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-cH8QxN --python-tag pp258:
  Found cython-generated files...
  running bdist_wheel
  running build
  running build_py
  running build_project_metadata
  creating python_build
  creating python_build/lib.linux-x86_64-2.7
  creating python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_server.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_auth.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/_common.py -> python_build/lib.linux-x86_64-2.7/grpc
  copying src/python/grpcio/grpc/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc
  creating python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
  creating python_build/lib.linux-x86_64-2.7/grpc/framework
  copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework
  creating python_build/lib.linux-x86_64-2.7/grpc/experimental
  copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
  copying src/python/grpcio/grpc/experimental/session_cache.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
  copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
  creating python_build/lib.linux-x86_64-2.7/grpc/_cython
  copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/_cython
  creating python_build/lib.linux-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
  copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
  creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces
  copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces
  creating python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
  creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
  copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
  creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
  copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
  creating python_build/lib.linux-x86_64-2.7/grpc/_cython/_cygrpc
  copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/_cython/_cygrpc
  creating python_build/lib.linux-x86_64-2.7/grpc/_cython/_credentials
  copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.linux-x86_64-2.7/grpc/_cython/_credentials
  running build_ext
  Found cython-generated files...
  building 'grpc._cython.cygrpc' extension
  creating python_build/temp.linux-x86_64-2.7
  creating python_build/temp.linux-x86_64-2.7/src
  creating python_build/temp.linux-x86_64-2.7/src/python
  creating python_build/temp.linux-x86_64-2.7/src/python/grpcio
  creating python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc
  creating python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc/_cython
  creating python_build/temp.linux-x86_64-2.7/third_party
  creating python_build/temp.linux-x86_64-2.7/third_party/address_sorting
  creating python_build/temp.linux-x86_64-2.7/src/core
  creating python_build/temp.linux-x86_64-2.7/src/core/lib
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/gpr
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/gprpp
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/profiling
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/surface
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/avl
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/backoff
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/channel
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/compression
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/debug
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/http
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/iomgr
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/json
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/slice
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/transport
  creating python_build/temp.linux-x86_64-2.7/src/core/ext
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server/secure
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/transport
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/alpn
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/client
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/message_compress
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/server
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/context
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/alts
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/composite
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/fake
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/google_default
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/iam
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/jwt
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/local
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/oauth2
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/plugin
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/ssl
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/security_connector
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/transport
  creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/util
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/crypt
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/frame_protector
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/handshaker
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/zero_copy_frame_protector
  creating python_build/temp.linux-x86_64-2.7/third_party/nanopb
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client/insecure
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/deadline
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/ssl
  creating python_build/temp.linux-x86_64-2.7/src/core/tsi/ssl/session_cache
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client/secure
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server/insecure
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/inproc
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/fake
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/pick_first
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/round_robin
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns/c_ares
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns/native
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/sockaddr
  creating python_build/temp.linux-x86_64-2.7/src/cpp
  creating python_build/temp.linux-x86_64-2.7/src/cpp/ext
  creating python_build/temp.linux-x86_64-2.7/src/cpp/ext/filters
  creating python_build/temp.linux-x86_64-2.7/src/cpp/ext/filters/census
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/max_age
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/message_size
  creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/workarounds
  creating python_build/temp.linux-x86_64-2.7/src/core/plugin_registry
  creating python_build/temp.linux-x86_64-2.7/src/boringssl
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/asn1
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/base64
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bio
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bn_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/buf
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bytestring
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/chacha
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/cipher_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/cmac
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/conf
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/curve25519
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/dh
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/digest_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/dsa
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ec_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ecdh
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ecdsa_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/engine
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/err
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/evp
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/fipsmodule
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/hkdf
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/lhash
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/obj
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pem
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pkcs7
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pkcs8
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/poly1305
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pool
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rand_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rc4
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rsa_extra
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/stack
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/x509
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/x509v3
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/ssl
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/third_party
  creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/third_party/fiat
  creating python_build/temp.linux-x86_64-2.7/third_party/zlib
  creating python_build/temp.linux-x86_64-2.7/third_party/cares
  creating python_build/temp.linux-x86_64-2.7/third_party/cares/cares
  cc -pthread -DNDEBUG -O2 -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 -DPyMODINIT_FUNC=extern "C" __attribute__((visibility ("default"))) void -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -Ithird_party/nanopb -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/address_sorting/include -I/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include -c src/python/grpcio/grpc/_cython/cygrpc.cpp -o python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc/_cython/cygrpc.o -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions -DPB_FIELD_16BIT -pthread
  cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
  In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:101:0,
                   from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/modsupport.h:90:0: warning: "PyMODINIT_FUNC" redefined
   #define PyMODINIT_FUNC extern "C" PyAPI_FUNC(void)
  
  <command-line>:0:0: note: this is the location of the previous definition
  src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16(const char*, Py_ssize_t, const char*)’:
  src/python/grpcio/grpc/_cython/cygrpc.cpp:2982:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
       return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                               ^
  In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                   from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
   #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                 ^
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
   PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                          ^~~~~~~~~~~~~~~~~~~~~
  src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16LE(const char*, Py_ssize_t, const char*)’:
  src/python/grpcio/grpc/_cython/cygrpc.cpp:2986:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
       return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                               ^
  In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                   from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
   #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                 ^
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
   PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                          ^~~~~~~~~~~~~~~~~~~~~
  src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16BE(const char*, Py_ssize_t, const char*)’:
  src/python/grpcio/grpc/_cython/cygrpc.cpp:2990:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
       return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                               ^
  In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                   from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
   #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                 ^
  /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
   PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                          ^~~~~~~~~~~~~~~~~~~~~
  creating tmp
  creating tmp/tmpBnq9Ll
  cc -pthread -DNDEBUG -O2 -fPIC -I/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include -c /tmp/tmpBnq9Ll/a.c -o tmp/tmpBnq9Ll/a.o
  Traceback (most recent call last):
    File "<module>", line 1, in <module>
    File "/tmp/pip-install-IMO2i8/grpcio/setup.py", line 348, in <module>
      cmdclass=COMMAND_CLASS,
    File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/__init__.py", line 140, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/wheel/bdist_wheel.py", line 202, in run
      self.run_command('build')
    File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/pypy/lib-python/2.7/distutils/command/build.py", line 127, in run
      self.run_command(cmd_name)
    File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/command/build_ext.py", line 78, in run
      _build_ext.run(self)
    File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 350, in run
      self.build_extensions()
    File "/tmp/pip-install-IMO2i8/grpcio/src/python/grpcio/commands.py", line 297, in build_extensions
      "Failed `build_ext` step:\n{}".format(formatted_exception))
  CommandError: Failed `build_ext` step:
  Traceback (most recent call last):
    File "/tmp/pip-install-IMO2i8/grpcio/src/python/grpcio/commands.py", line 292, in build_extensions
      build_ext.build_ext.build_extensions(self)
    File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 459, in build_extensions
      self.build_extension(ext)
    File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/command/build_ext.py", line 199, in build_extension
      _build_ext.build_extension(self, ext)
    File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 509, in build_extension
      depends=ext.depends)
    File "/usr/lib/pypy/lib-python/2.7/distutils/ccompiler.py", line 574, in compile
      self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
    File "/usr/lib/pypy/lib-python/2.7/distutils/unixccompiler.py", line 139, in _compile
      raise CompileError, msg
  CompileError: command 'cc' failed with exit status 1
  
  
  ----------------------------------------
  Failed building wheel for grpcio
  Running setup.py clean for grpcio
Successfully built firebase-admin
Failed to build grpcio
Installing collected packages: enum34, firebase-admin, grpcio
  Running setup.py install for grpcio: started
    Running setup.py install for grpcio: finished with status 'error'
    Complete output from command /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-IMO2i8/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-lTV9ES/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/site/python2.7/grpcio:
    Found cython-generated files...
    running install
    running build
    running build_py
    running build_project_metadata
    creating python_build
    creating python_build/lib.linux-x86_64-2.7
    creating python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_server.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_channel.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_auth.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_interceptor.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_utilities.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_grpcio_metadata.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_plugin_wrapping.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/_common.py -> python_build/lib.linux-x86_64-2.7/grpc
    copying src/python/grpcio/grpc/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc
    creating python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_server_adaptations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_client_adaptations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/_metadata.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/implementations.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/interfaces.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    copying src/python/grpcio/grpc/beta/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/beta
    creating python_build/lib.linux-x86_64-2.7/grpc/framework
    copying src/python/grpcio/grpc/framework/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework
    creating python_build/lib.linux-x86_64-2.7/grpc/experimental
    copying src/python/grpcio/grpc/experimental/gevent.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
    copying src/python/grpcio/grpc/experimental/session_cache.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
    copying src/python/grpcio/grpc/experimental/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/experimental
    creating python_build/lib.linux-x86_64-2.7/grpc/_cython
    copying src/python/grpcio/grpc/_cython/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/_cython
    creating python_build/lib.linux-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/style.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/cardinality.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
    copying src/python/grpcio/grpc/framework/common/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/common
    creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces
    copying src/python/grpcio/grpc/framework/interfaces/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces
    creating python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/future.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/abandonment.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/logging_pool.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/callable_util.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/stream_util.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    copying src/python/grpcio/grpc/framework/foundation/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/foundation
    creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/base.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
    copying src/python/grpcio/grpc/framework/interfaces/base/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/base
    creating python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/face.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/utilities.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
    copying src/python/grpcio/grpc/framework/interfaces/face/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/framework/interfaces/face
    creating python_build/lib.linux-x86_64-2.7/grpc/_cython/_cygrpc
    copying src/python/grpcio/grpc/_cython/_cygrpc/__init__.py -> python_build/lib.linux-x86_64-2.7/grpc/_cython/_cygrpc
    creating python_build/lib.linux-x86_64-2.7/grpc/_cython/_credentials
    copying src/python/grpcio/grpc/_cython/_credentials/roots.pem -> python_build/lib.linux-x86_64-2.7/grpc/_cython/_credentials
    running build_ext
    Found cython-generated files...
    building 'grpc._cython.cygrpc' extension
    creating python_build/temp.linux-x86_64-2.7
    creating python_build/temp.linux-x86_64-2.7/src
    creating python_build/temp.linux-x86_64-2.7/src/python
    creating python_build/temp.linux-x86_64-2.7/src/python/grpcio
    creating python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc
    creating python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc/_cython
    creating python_build/temp.linux-x86_64-2.7/third_party
    creating python_build/temp.linux-x86_64-2.7/third_party/address_sorting
    creating python_build/temp.linux-x86_64-2.7/src/core
    creating python_build/temp.linux-x86_64-2.7/src/core/lib
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/gpr
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/gprpp
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/profiling
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/surface
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/avl
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/backoff
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/channel
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/compression
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/debug
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/http
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/iomgr
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/json
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/slice
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/transport
    creating python_build/temp.linux-x86_64-2.7/src/core/ext
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server/secure
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/transport
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/alpn
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/client
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/message_compress
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/http/server
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/context
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/alts
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/composite
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/fake
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/google_default
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/iam
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/jwt
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/local
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/oauth2
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/plugin
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/credentials/ssl
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/security_connector
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/transport
    creating python_build/temp.linux-x86_64-2.7/src/core/lib/security/util
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/crypt
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/frame_protector
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/handshaker
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/alts/zero_copy_frame_protector
    creating python_build/temp.linux-x86_64-2.7/third_party/nanopb
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client/insecure
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/deadline
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/ssl
    creating python_build/temp.linux-x86_64-2.7/src/core/tsi/ssl/session_cache
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/client/secure
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/chttp2/server/insecure
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/transport/inproc
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/fake
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/pick_first
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/lb_policy/round_robin
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns/c_ares
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/dns/native
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/client_channel/resolver/sockaddr
    creating python_build/temp.linux-x86_64-2.7/src/cpp
    creating python_build/temp.linux-x86_64-2.7/src/cpp/ext
    creating python_build/temp.linux-x86_64-2.7/src/cpp/ext/filters
    creating python_build/temp.linux-x86_64-2.7/src/cpp/ext/filters/census
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/max_age
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/message_size
    creating python_build/temp.linux-x86_64-2.7/src/core/ext/filters/workarounds
    creating python_build/temp.linux-x86_64-2.7/src/core/plugin_registry
    creating python_build/temp.linux-x86_64-2.7/src/boringssl
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/asn1
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/base64
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bio
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bn_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/buf
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/bytestring
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/chacha
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/cipher_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/cmac
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/conf
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/curve25519
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/dh
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/digest_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/dsa
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ec_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ecdh
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/ecdsa_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/engine
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/err
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/evp
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/fipsmodule
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/hkdf
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/lhash
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/obj
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pem
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pkcs7
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pkcs8
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/poly1305
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/pool
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rand_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rc4
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/rsa_extra
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/stack
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/x509
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/crypto/x509v3
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/ssl
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/third_party
    creating python_build/temp.linux-x86_64-2.7/third_party/boringssl/third_party/fiat
    creating python_build/temp.linux-x86_64-2.7/third_party/zlib
    creating python_build/temp.linux-x86_64-2.7/third_party/cares
    creating python_build/temp.linux-x86_64-2.7/third_party/cares/cares
    cc -pthread -DNDEBUG -O2 -fPIC -DOPENSSL_NO_ASM=1 -D_WIN32_WINNT=1536 -DGPR_BACKWARDS_COMPATIBILITY_MODE=1 -DHAVE_CONFIG_H=1 -DGRPC_ENABLE_FORK_SUPPORT=1 -DPyMODINIT_FUNC=extern "C" __attribute__((visibility ("default"))) void -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 -Isrc/python/grpcio -Iinclude -I. -Ithird_party/boringssl/include -Ithird_party/zlib -Ithird_party/nanopb -Ithird_party/cares -Ithird_party/cares/cares -Ithird_party/cares/config_linux -Ithird_party/address_sorting/include -I/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include -c src/python/grpcio/grpc/_cython/cygrpc.cpp -o python_build/temp.linux-x86_64-2.7/src/python/grpcio/grpc/_cython/cygrpc.o -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv -fno-exceptions -DPB_FIELD_16BIT -pthread
    cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++
    In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:101:0,
                     from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/modsupport.h:90:0: warning: "PyMODINIT_FUNC" redefined
     #define PyMODINIT_FUNC extern "C" PyAPI_FUNC(void)
    
    <command-line>:0:0: note: this is the location of the previous definition
    src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16(const char*, Py_ssize_t, const char*)’:
    src/python/grpcio/grpc/_cython/cygrpc.cpp:2982:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                                 ^
    In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                     from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
     #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                   ^
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
     PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                            ^~~~~~~~~~~~~~~~~~~~~
    src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16LE(const char*, Py_ssize_t, const char*)’:
    src/python/grpcio/grpc/_cython/cygrpc.cpp:2986:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                                 ^
    In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                     from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
     #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                   ^
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
     PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                            ^~~~~~~~~~~~~~~~~~~~~
    src/python/grpcio/grpc/_cython/cygrpc.cpp: In function ‘PyObject* __Pyx_PyUnicode_DecodeUTF16BE(const char*, Py_ssize_t, const char*)’:
    src/python/grpcio/grpc/_cython/cygrpc.cpp:2990:61: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         return PyUnicode_DecodeUTF16(s, size, errors, &byteorder);
                                                                 ^
    In file included from /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/Python.h:141:0,
                     from src/python/grpcio/grpc/_cython/cygrpc.cpp:765:
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:886:31: note:   initializing argument 1 of ‘PyObject* PyPyUnicode_DecodeUTF16(char*, long int, const char*, int*)’
     #define PyUnicode_DecodeUTF16 PyPyUnicode_DecodeUTF16
                                   ^
    /usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include/pypy_decl.h:887:24: note: in expansion of macro ‘PyUnicode_DecodeUTF16’
     PyAPI_FUNC(PyObject *) PyUnicode_DecodeUTF16(char *arg0, Signed arg1, const char *arg2, int *arg3);
                            ^~~~~~~~~~~~~~~~~~~~~
    creating tmp/tmp7IG3M2
    cc -pthread -DNDEBUG -O2 -fPIC -I/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/include -c /tmp/tmp7IG3M2/a.c -o tmp/tmp7IG3M2/a.o
    Traceback (most recent call last):
      File "<module>", line 1, in <module>
      File "/tmp/pip-install-IMO2i8/grpcio/setup.py", line 348, in <module>
        cmdclass=COMMAND_CLASS,
      File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/__init__.py", line 140, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/install.py", line 613, in run
        self.run_command('build')
      File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/build.py", line 127, in run
        self.run_command(cmd_name)
      File "/usr/lib/pypy/lib-python/2.7/distutils/cmd.py", line 334, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/command/build_ext.py", line 78, in run
        _build_ext.run(self)
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 350, in run
        self.build_extensions()
      File "/tmp/pip-install-IMO2i8/grpcio/src/python/grpcio/commands.py", line 297, in build_extensions
        "Failed `build_ext` step:\n{}".format(formatted_exception))
    CommandError: Failed `build_ext` step:
    Traceback (most recent call last):
      File "/tmp/pip-install-IMO2i8/grpcio/src/python/grpcio/commands.py", line 292, in build_extensions
        build_ext.build_ext.build_extensions(self)
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 459, in build_extensions
        self.build_extension(ext)
      File "/usr/local/google/home/hkj/Projects/firebase-admin-python/public/.tox/pypy/site-packages/setuptools/command/build_ext.py", line 199, in build_extension
        _build_ext.build_extension(self, ext)
      File "/usr/lib/pypy/lib-python/2.7/distutils/command/build_ext.py", line 509, in build_extension
        depends=ext.depends)
      File "/usr/lib/pypy/lib-python/2.7/distutils/ccompiler.py", line 574, in compile
        self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
      File "/usr/lib/pypy/lib-python/2.7/distutils/unixccompiler.py", line 139, in _compile
        raise CompileError, msg
    CompileError: command 'cc' failed with exit status 1
@tseaver tseaver added grpc api: firestore Issues related to the Firestore API. status: invalid labels Sep 7, 2018
@tseaver
Copy link
Contributor

tseaver commented Sep 7, 2018

Thanks for the report! Unfortunately, this repository isn't the right place for it, as the failure is in building / installing grpcio under PyPy. Please report the issue in the grpcio repository

@hiranya911
Copy link
Author

I will raise it there, but please note that our dependency is on google-cloud-firestore and google-api-core, both of which are part of this repo.

Collecting grpcio>=1.8.2; extra == "grpc" (from google-api-core[grpc]<2.0.0dev,>=0.1.1->google-cloud-firestore>=0.27.0->firebase-admin==2.13.0)
  Using cached https://files.pythonhosted.org/packages/a4/92/be89519c8328d78f88136a4b11951378a28525fd9606fc51c279fff48e5c/grpcio-1.14.2.tar.gz

@theacodes
Copy link
Contributor

That's fair - but we're ultimately unable to fix this directly. Escalating to the grpcio team is the right thing to do here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the Firestore API. grpc status: invalid
Projects
None yet
Development

No branches or pull requests

3 participants