Closed bmacer closed 2 years ago
Basic local configuration, I clone the repository, cd into it, and run docker-compose up --build. It fails with this output:
docker-compose up --build
BMACER-M-83DS:amp4e_splunk_events_input bmacer$ docker-compose up --build Removing amp4e_splunk_events_input_splunk_1 Building splunk [+] Building 0.7s (15/15) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/splunk/splunk:8.1.2-debian 0.5s => [ 1/10] FROM docker.io/splunk/splunk:8.1.2-debian@sha256:35f11f0e4e62ddb3cd04063d9c02b9a84c31090c6193a3a1ed9130eb5bf67c93 0.0s => [internal] load build context 0.0s => => transferring context: 7.63kB 0.0s => CACHED [ 2/10] RUN apt-get update 0.0s => CACHED [ 3/10] RUN apt-get install -y libxml2-dev libxslt-dev libssl-dev python3-cffi libffi-dev openssl netcat 0.0s => CACHED [ 4/10] RUN apt-get install -y python3-pip python3-dev python3-requests 0.0s => CACHED [ 5/10] RUN apt-get install -y python3-setuptools 0.0s => CACHED [ 6/10] RUN python3 -m pip install fabric 0.0s => CACHED [ 7/10] RUN python3 -m pip uninstall enum 0.0s => CACHED [ 8/10] COPY amp_entrypoint.sh /sbin 0.0s => CACHED [ 9/10] COPY . /opt/splunk/etc/apps/amp4e_events_input 0.0s => CACHED [10/10] WORKDIR /opt/splunk/etc/apps/amp4e_events_input 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:0ba64ad8916375f37f0407d939fb6cf10b2bbfdb59dee45d6f04cd52e2907841 0.0s => => naming to docker.io/amp4e/amp4e_splunk_events_input:latest 0.0s Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them Recreating df7d2c741ce1_amp4e_splunk_events_input_splunk_1 ... done Attaching to amp4e_splunk_events_input_splunk_1 splunk_1 | Collecting pika==0.13.1 (from -r requirements.txt (line 2)) splunk_1 | Downloading https://files.pythonhosted.org/packages/52/cd/452c69f5963ef6dbbe4286e774f3e2e3eae10efd0bb9816c886ebdef3070/pika-0.13.1-py2.py3-none-any.whl (109kB) splunk_1 | Collecting requests (from -r requirements.txt (line 4)) splunk_1 | Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB) splunk_1 | Collecting requests_mock (from -r requirements.txt (line 5)) splunk_1 | Downloading https://files.pythonhosted.org/packages/d7/50/1230e4524fc109727bb7eae4ba927d995270662b1270c259a246b5325ef7/requests_mock-1.9.3-py2.py3-none-any.whl splunk_1 | Collecting six (from -r requirements.txt (line 6)) splunk_1 | Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl splunk_1 | Collecting fabric (from -r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/c1/9d/59df62b620985871a4ba7d8b509b84340bbd1573257e55a427ae2df2d56e/fabric-2.6.0-py2.py3-none-any.whl splunk_1 | Collecting enum34 (from -r requirements.txt (line 8)) splunk_1 | Downloading https://files.pythonhosted.org/packages/63/f6/ccb1c83687756aeabbf3ca0f213508fcfb03883ff200d201b3a4c60cedcc/enum34-1.1.10-py3-none-any.whl splunk_1 | Collecting PyYAML (from -r requirements.txt (line 9)) splunk_1 | Downloading https://files.pythonhosted.org/packages/7a/a5/393c087efdc78091afa2af9f1378762f9821c9c1d7a22c5753fb5ac5f97a/PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (636kB) splunk_1 | Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests->-r requirements.txt (line 4)) splunk_1 | Downloading https://files.pythonhosted.org/packages/3f/65/69e6754102dcd018a0f29e4db673372eb323ee504431125ab6c9109cb21c/charset_normalizer-2.0.6-py3-none-any.whl splunk_1 | Collecting urllib3<1.27,>=1.21.1 (from requests->-r requirements.txt (line 4)) splunk_1 | Downloading https://files.pythonhosted.org/packages/af/f4/524415c0744552cce7d8bf3669af78e8a069514405ea4fcbd0cc44733744/urllib3-1.26.7-py2.py3-none-any.whl (138kB) splunk_1 | Collecting idna<4,>=2.5; python_version >= "3" (from requests->-r requirements.txt (line 4)) splunk_1 | Downloading https://files.pythonhosted.org/packages/d7/77/ff688d1504cdc4db2a938e2b7b9adee5dd52e34efbd2431051efc9984de9/idna-3.2-py3-none-any.whl (59kB) splunk_1 | Collecting certifi>=2017.4.17 (from requests->-r requirements.txt (line 4)) splunk_1 | Downloading https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl (145kB) splunk_1 | Collecting pathlib2 (from fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/76/67/dc02c72177ec79f0176e5bf9921e9c1745a381ed556afb3b3ecc2bb8ba2e/pathlib2-2.3.6-py2.py3-none-any.whl splunk_1 | Collecting invoke<2.0,>=1.3 (from fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/de/8b/6fea06c4e75a9c2390103c9960ab3533b64e9816207744665072e094336c/invoke-1.6.0-py3-none-any.whl splunk_1 | Collecting paramiko>=2.4 (from fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl splunk_1 | Collecting pynacl>=1.0.1 (from paramiko>=2.4->fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/9d/57/2f5e6226a674b2bcb6db531e8b383079b678df5b10cdaa610d6cf20d77ba/PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl splunk_1 | Collecting bcrypt>=3.1.3 (from paramiko>=2.4->fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/52/a7/51ab6481ac355517696477889d8ab232106a0ddadda642c54e47a2ab40b9/bcrypt-3.2.0-cp36-abi3-manylinux1_x86_64.whl splunk_1 | Collecting cryptography>=2.5 (from paramiko>=2.4->fabric->-r requirements.txt (line 7)) splunk_1 | Downloading https://files.pythonhosted.org/packages/10/91/90b8d4cd611ac2aa526290ae4b4285aa5ea57ee191c63c2f3d04170d7683/cryptography-35.0.0.tar.gz (559kB) splunk_1 | Installing build dependencies: started splunk_1 | Installing build dependencies: finished with status 'done' splunk_1 | Collecting cffi>=1.4.1 (from pynacl>=1.0.1->paramiko>=2.4->fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/46/5e/2f5f83be1586e04f4f14b32c48aafb29197355cca8f62d430f915706fafa/cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl splunk_1 | Collecting pycparser (from cffi>=1.4.1->pynacl>=1.0.1->paramiko>=2.4->fabric->-r requirements.txt (line 7)) splunk_1 | Using cached https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl splunk_1 | Building wheels for collected packages: cryptography splunk_1 | Running setup.py bdist_wheel for cryptography: started splunk_1 | Running setup.py bdist_wheel for cryptography: finished with status 'error' splunk_1 | Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qd_j83rc/cryptography/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-kecq3xnb --python-tag cp37: splunk_1 | Failed building wheel for cryptography splunk_1 | running bdist_wheel splunk_1 | running build splunk_1 | running build_py splunk_1 | creating build splunk_1 | creating build/lib.linux-x86_64-3.7 splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings splunk_1 | copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | running egg_info splunk_1 | writing src/cryptography.egg-info/PKG-INFO splunk_1 | writing dependency_links to src/cryptography.egg-info/dependency_links.txt splunk_1 | writing requirements to src/cryptography.egg-info/requires.txt splunk_1 | writing top-level names to src/cryptography.egg-info/top_level.txt splunk_1 | reading manifest file 'src/cryptography.egg-info/SOURCES.txt' splunk_1 | reading manifest template 'MANIFEST.in' splunk_1 | no previously-included directories found matching 'docs/_build' splunk_1 | warning: no previously-included files found matching 'vectors' splunk_1 | warning: no previously-included files matching '*' found under directory 'vectors' splunk_1 | warning: no previously-included files matching '*' found under directory '.github' splunk_1 | warning: no previously-included files found matching 'release.py' splunk_1 | warning: no previously-included files found matching '.coveragerc' splunk_1 | warning: no previously-included files found matching 'codecov.yml' splunk_1 | warning: no previously-included files found matching '.readthedocs.yml' splunk_1 | warning: no previously-included files found matching 'dev-requirements.txt' splunk_1 | warning: no previously-included files found matching 'tox.ini' splunk_1 | warning: no previously-included files found matching 'mypy.ini' splunk_1 | warning: no previously-included files matching '*' found under directory '.zuul.d' splunk_1 | warning: no previously-included files matching '*' found under directory '.zuul.playbooks' splunk_1 | adding license file 'LICENSE' splunk_1 | adding license file 'LICENSE.APACHE' splunk_1 | adding license file 'LICENSE.BSD' splunk_1 | adding license file 'LICENSE.PSF' splunk_1 | writing manifest file 'src/cryptography.egg-info/SOURCES.txt' splunk_1 | copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | running build_ext splunk_1 | generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c' splunk_1 | creating build/temp.linux-x86_64-3.7 splunk_1 | running build_rust splunk_1 | splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | If you are seeing a compilation error please try the following steps to splunk_1 | successfully install cryptography: splunk_1 | 1) Upgrade to the latest pip and try again. This will fix errors for most splunk_1 | users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip splunk_1 | 2) Read https://cryptography.io/en/latest/installation/ for specific splunk_1 | instructions for your platform. splunk_1 | 3) Check our frequently asked questions for more information: splunk_1 | https://cryptography.io/en/latest/faq/ splunk_1 | 4) Ensure you have a recent Rust toolchain installed: splunk_1 | https://cryptography.io/en/latest/installation/#rust splunk_1 | splunk_1 | Python: 3.7.3 splunk_1 | platform: Linux-5.10.47-linuxkit-x86_64-with-debian-10.3 splunk_1 | pip: 18.1 splunk_1 | setuptools: 58.2.0 splunk_1 | setuptools_rust: 0.12.1 splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | splunk_1 | error: can't find Rust compiler splunk_1 | splunk_1 | If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. splunk_1 | splunk_1 | To update pip, run: splunk_1 | splunk_1 | pip install --upgrade pip splunk_1 | splunk_1 | and then retry package installation. splunk_1 | splunk_1 | If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. splunk_1 | splunk_1 | This package requires Rust >=1.41.0. splunk_1 | splunk_1 | ---------------------------------------- splunk_1 | Running setup.py clean for cryptography splunk_1 | Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qd_j83rc/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all: splunk_1 | running clean splunk_1 | removing 'build/temp.linux-x86_64-3.7' (and everything under it) splunk_1 | removing 'build/lib.linux-x86_64-3.7' (and everything under it) splunk_1 | 'build/bdist.linux-x86_64' does not exist -- can't clean it splunk_1 | 'build/scripts-3.7' does not exist -- can't clean it splunk_1 | removing 'build' splunk_1 | running clean_rust splunk_1 | splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | If you are seeing a compilation error please try the following steps to splunk_1 | successfully install cryptography: splunk_1 | 1) Upgrade to the latest pip and try again. This will fix errors for most splunk_1 | users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip splunk_1 | 2) Read https://cryptography.io/en/latest/installation/ for specific splunk_1 | instructions for your platform. splunk_1 | 3) Check our frequently asked questions for more information: splunk_1 | https://cryptography.io/en/latest/faq/ splunk_1 | 4) Ensure you have a recent Rust toolchain installed: splunk_1 | https://cryptography.io/en/latest/installation/#rust splunk_1 | splunk_1 | Python: 3.7.3 splunk_1 | platform: Linux-5.10.47-linuxkit-x86_64-with-debian-10.3 splunk_1 | pip: 18.1 splunk_1 | setuptools: 58.2.0 splunk_1 | setuptools_rust: 0.12.1 splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | splunk_1 | error: can't find Rust compiler splunk_1 | splunk_1 | If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. splunk_1 | splunk_1 | To update pip, run: splunk_1 | splunk_1 | pip install --upgrade pip splunk_1 | splunk_1 | and then retry package installation. splunk_1 | splunk_1 | If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. splunk_1 | splunk_1 | This package requires Rust >=1.41.0. splunk_1 | splunk_1 | ---------------------------------------- splunk_1 | Failed cleaning build dir for cryptography splunk_1 | Failed to build cryptography splunk_1 | Installing collected packages: pika, charset-normalizer, urllib3, idna, certifi, requests, six, requests-mock, pathlib2, invoke, pycparser, cffi, pynacl, bcrypt, cryptography, paramiko, fabric, enum34, PyYAML splunk_1 | Running setup.py install for cryptography: started splunk_1 | Running setup.py install for cryptography: finished with status 'error' splunk_1 | Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qd_j83rc/cryptography/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-giy0s5e6/install-record.txt --single-version-externally-managed --compile --home=/tmp/pip-target-387nwxgm: splunk_1 | running install splunk_1 | running build splunk_1 | running build_py splunk_1 | creating build splunk_1 | creating build/lib.linux-x86_64-3.7 splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509 splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings splunk_1 | copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf splunk_1 | running egg_info splunk_1 | writing src/cryptography.egg-info/PKG-INFO splunk_1 | writing dependency_links to src/cryptography.egg-info/dependency_links.txt splunk_1 | writing requirements to src/cryptography.egg-info/requires.txt splunk_1 | writing top-level names to src/cryptography.egg-info/top_level.txt splunk_1 | reading manifest file 'src/cryptography.egg-info/SOURCES.txt' splunk_1 | reading manifest template 'MANIFEST.in' splunk_1 | no previously-included directories found matching 'docs/_build' splunk_1 | warning: no previously-included files found matching 'vectors' splunk_1 | warning: no previously-included files matching '*' found under directory 'vectors' splunk_1 | warning: no previously-included files matching '*' found under directory '.github' splunk_1 | warning: no previously-included files found matching 'release.py' splunk_1 | warning: no previously-included files found matching '.coveragerc' splunk_1 | warning: no previously-included files found matching 'codecov.yml' splunk_1 | warning: no previously-included files found matching '.readthedocs.yml' splunk_1 | warning: no previously-included files found matching 'dev-requirements.txt' splunk_1 | warning: no previously-included files found matching 'tox.ini' splunk_1 | warning: no previously-included files found matching 'mypy.ini' splunk_1 | warning: no previously-included files matching '*' found under directory '.zuul.d' splunk_1 | warning: no previously-included files matching '*' found under directory '.zuul.playbooks' splunk_1 | adding license file 'LICENSE' splunk_1 | adding license file 'LICENSE.APACHE' splunk_1 | adding license file 'LICENSE.BSD' splunk_1 | adding license file 'LICENSE.PSF' splunk_1 | writing manifest file 'src/cryptography.egg-info/SOURCES.txt' splunk_1 | copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography splunk_1 | creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/_rust splunk_1 | running build_ext splunk_1 | generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c' splunk_1 | creating build/temp.linux-x86_64-3.7 splunk_1 | running build_rust splunk_1 | splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | If you are seeing a compilation error please try the following steps to splunk_1 | successfully install cryptography: splunk_1 | 1) Upgrade to the latest pip and try again. This will fix errors for most splunk_1 | users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip splunk_1 | 2) Read https://cryptography.io/en/latest/installation/ for specific splunk_1 | instructions for your platform. splunk_1 | 3) Check our frequently asked questions for more information: splunk_1 | https://cryptography.io/en/latest/faq/ splunk_1 | 4) Ensure you have a recent Rust toolchain installed: splunk_1 | https://cryptography.io/en/latest/installation/#rust splunk_1 | splunk_1 | Python: 3.7.3 splunk_1 | platform: Linux-5.10.47-linuxkit-x86_64-with-debian-10.3 splunk_1 | pip: 18.1 splunk_1 | setuptools: 58.2.0 splunk_1 | setuptools_rust: 0.12.1 splunk_1 | =============================DEBUG ASSISTANCE============================= splunk_1 | splunk_1 | error: can't find Rust compiler splunk_1 | splunk_1 | If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler. splunk_1 | splunk_1 | To update pip, run: splunk_1 | splunk_1 | pip install --upgrade pip splunk_1 | splunk_1 | and then retry package installation. splunk_1 | splunk_1 | If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain. splunk_1 | splunk_1 | This package requires Rust >=1.41.0. splunk_1 | splunk_1 | ---------------------------------------- splunk_1 | Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-qd_j83rc/cryptography/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-giy0s5e6/install-record.txt --single-version-externally-managed --compile --home=/tmp/pip-target-387nwxgm" failed with error code 1 in /tmp/pip-install-qd_j83rc/cryptography/ splunk_1 | Collecting splunk-sdk (from -r bin/requirements-splunk.txt (line 1)) splunk_1 | Downloading https://files.pythonhosted.org/packages/a3/1e/a2d66b32dc553c95cd4c57ddc8f2dd82d02295f78aea9910225c35a2aeb1/splunk-sdk-1.6.16.tar.gz (105kB) splunk_1 | Collecting pika==0.13.1 (from -r bin/requirements-splunk.txt (line 2)) splunk_1 | Using cached https://files.pythonhosted.org/packages/52/cd/452c69f5963ef6dbbe4286e774f3e2e3eae10efd0bb9816c886ebdef3070/pika-0.13.1-py2.py3-none-any.whl splunk_1 | Collecting requests_mock (from -r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/d7/50/1230e4524fc109727bb7eae4ba927d995270662b1270c259a246b5325ef7/requests_mock-1.9.3-py2.py3-none-any.whl splunk_1 | Collecting six (from requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl splunk_1 | Collecting requests<3,>=2.3 (from requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl splunk_1 | Collecting certifi>=2017.4.17 (from requests<3,>=2.3->requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/05/1b/0a0dece0e8aa492a6ec9e4ad2fe366b511558cdc73fd3abc82ba7348e875/certifi-2021.5.30-py2.py3-none-any.whl splunk_1 | Collecting idna<4,>=2.5; python_version >= "3" (from requests<3,>=2.3->requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/d7/77/ff688d1504cdc4db2a938e2b7b9adee5dd52e34efbd2431051efc9984de9/idna-3.2-py3-none-any.whl splunk_1 | Collecting urllib3<1.27,>=1.21.1 (from requests<3,>=2.3->requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/af/f4/524415c0744552cce7d8bf3669af78e8a069514405ea4fcbd0cc44733744/urllib3-1.26.7-py2.py3-none-any.whl splunk_1 | Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests<3,>=2.3->requests_mock->-r bin/requirements-splunk.txt (line 3)) splunk_1 | Using cached https://files.pythonhosted.org/packages/3f/65/69e6754102dcd018a0f29e4db673372eb323ee504431125ab6c9109cb21c/charset_normalizer-2.0.6-py3-none-any.whl splunk_1 | Building wheels for collected packages: splunk-sdk splunk_1 | Running setup.py bdist_wheel for splunk-sdk: started splunk_1 | Running setup.py bdist_wheel for splunk-sdk: finished with status 'done' splunk_1 | Stored in directory: /root/.cache/pip/wheels/42/82/88/0627f124f662fb5bc2a691b49dc6746c2537ea63b0798c5840 splunk_1 | Successfully built splunk-sdk splunk_1 | Installing collected packages: splunk-sdk, pika, six, certifi, idna, urllib3, charset-normalizer, requests, requests-mock splunk_1 | Successfully installed certifi-2021.5.30 charset-normalizer-2.0.6 idna-3.2 pika-0.13.1 requests-2.26.0 requests-mock-1.9.3 six-1.16.0 splunk-sdk-1.6.16 urllib3-1.26.7 splunk_1 | Target directory /opt/splunk/lib/python3.7/site-packages/six.py already exists. Specify --upgrade to force replacement. splunk_1 | Target directory /opt/splunk/lib/python3.7/site-packages/urllib3 already exists. Specify --upgrade to force replacement. splunk_1 | Target directory /opt/splunk/lib/python3.7/site-packages/requests already exists. Specify --upgrade to force replacement. splunk_1 | Target directory /opt/splunk/lib/python3.7/site-packages/certifi already exists. Specify --upgrade to force replacement. splunk_1 | Target directory /opt/splunk/lib/python3.7/site-packages/idna already exists. Specify --upgrade to force replacement. splunk_1 | Traceback (most recent call last): splunk_1 | File "/usr/bin/ansible-playbook", line 34, in <module> splunk_1 | from ansible import context splunk_1 | ModuleNotFoundError: No module named 'ansible' splunk_1 | ERROR: Couldn't read "/opt/splunk/etc/splunk-launch.conf" -- maybe $SPLUNK_HOME or $SPLUNK_ETC is set wrong? amp4e_splunk_events_input_splunk_1 exited with code 1
Basic local configuration, I clone the repository, cd into it, and run
docker-compose up --build
. It fails with this output: