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

fix(tools): fabric all-in-one build cannot find rust compiler #617

Closed
petermetz opened this issue Mar 1, 2021 · 0 comments · Fixed by #630
Closed

fix(tools): fabric all-in-one build cannot find rust compiler #617

petermetz opened this issue Mar 1, 2021 · 0 comments · Fixed by #630
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Developer_Experience

Comments

@petermetz
Copy link
Contributor

Describe the bug

When I try to build the Fabric AIO image locally it errors out at the part where the pip installation of docker-compose happens.

To Reproduce

DOCKER_BUILDKIT=1 docker build ./tools/docker/fabric-all-in-one/ -f ./tools/docker/fabric-all-in-one/Dockerfile_v1.4.x -t faio14x

Expected behavior

Image can be built without errors.

Logs/Stack traces

 => ERROR [7/39] RUN pip install docker-compose                                                                                                                                 109.6s 
------                                                                                                                                                                                 
 > [7/39] RUN pip install docker-compose:
#10 0.945 Collecting docker-compose
#10 0.980   Downloading docker_compose-1.28.5-py2.py3-none-any.whl (114 kB)
#10 1.124 Collecting requests<3,>=2.20.0
#10 1.131   Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
#10 1.245 Collecting PyYAML<6,>=3.10
#10 1.255   Downloading PyYAML-5.4.1.tar.gz (175 kB)
#10 1.495   Installing build dependencies: started
#10 4.554   Installing build dependencies: finished with status 'done'
#10 4.556   Getting requirements to build wheel: started
#10 6.839   Getting requirements to build wheel: finished with status 'done'
#10 6.842     Preparing wheel metadata: started
#10 7.175     Preparing wheel metadata: finished with status 'done'
#10 7.207 Collecting dockerpty<1,>=0.4.1
#10 7.216   Downloading dockerpty-0.4.1.tar.gz (13 kB)
#10 7.517 Collecting jsonschema<4,>=2.5.1
#10 7.526   Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
#10 7.564 Collecting cached-property<2,>=1.2.0
#10 7.572   Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
#10 7.623 Collecting websocket-client<1,>=0.32.0
#10 7.631   Downloading websocket_client-0.57.0-py2.py3-none-any.whl (200 kB)
#10 7.675 Collecting distro<2,>=1.5.0
#10 7.682   Downloading distro-1.5.0-py2.py3-none-any.whl (18 kB)
#10 7.705 Collecting docopt<1,>=0.6.1
#10 7.713   Downloading docopt-0.6.2.tar.gz (25 kB)
#10 8.015 Collecting python-dotenv<1,>=0.13.0
#10 8.022   Downloading python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB)
#10 8.093 Collecting docker[ssh]<5,>=4.4.4
#10 8.101   Downloading docker-4.4.4-py2.py3-none-any.whl (147 kB)
#10 8.159 Collecting texttable<2,>=0.9.0
#10 8.166   Downloading texttable-1.6.3-py2.py3-none-any.whl (10 kB)
#10 8.229 Collecting six>=1.4.0
#10 8.237   Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
#10 8.356 Collecting paramiko>=2.4.2
#10 8.365   Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
#10 8.533 Collecting importlib-metadata
#10 8.542   Downloading importlib_metadata-3.7.0-py3-none-any.whl (11 kB)
#10 8.582 Collecting attrs>=17.4.0
#10 8.591   Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
#10 8.606 Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from jsonschema<4,>=2.5.1->docker-compose) (54.0.0)
#10 8.649 Collecting pyrsistent>=0.14.0
#10 8.659   Downloading pyrsistent-0.17.3.tar.gz (106 kB)
#10 9.079 Collecting pynacl>=1.0.1
#10 9.099   Downloading PyNaCl-1.4.0.tar.gz (3.4 MB)
#10 9.656   Installing build dependencies: started
#10 16.21   Installing build dependencies: finished with status 'done'
#10 16.22   Getting requirements to build wheel: started
#10 16.40   Getting requirements to build wheel: finished with status 'done'
#10 16.40     Preparing wheel metadata: started
#10 17.12     Preparing wheel metadata: finished with status 'done'
#10 17.23 Collecting bcrypt>=3.1.3
#10 17.25   Downloading bcrypt-3.2.0.tar.gz (42 kB)
#10 17.27   Installing build dependencies: started
#10 23.46   Installing build dependencies: finished with status 'done'
#10 23.47   Getting requirements to build wheel: started
#10 23.67   Getting requirements to build wheel: finished with status 'done'
#10 23.68     Preparing wheel metadata: started
#10 24.03     Preparing wheel metadata: finished with status 'done'
#10 24.49 Collecting cryptography>=2.5
#10 24.50   Downloading cryptography-3.4.6.tar.gz (546 kB)
#10 24.68   Installing build dependencies: started
#10 31.21   Installing build dependencies: finished with status 'done'
#10 31.21   Getting requirements to build wheel: started
#10 31.40   Getting requirements to build wheel: finished with status 'done'
#10 31.41     Preparing wheel metadata: started
#10 32.39     Preparing wheel metadata: finished with status 'done'
#10 32.75 Collecting cffi>=1.1
#10 32.75   Using cached cffi-1.14.5.tar.gz (475 kB)
#10 33.21 Collecting pycparser
#10 33.21   Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
#10 33.39 Collecting urllib3<1.27,>=1.21.1
#10 33.40   Downloading urllib3-1.26.3-py2.py3-none-any.whl (137 kB)
#10 33.44 Collecting chardet<5,>=3.0.2
#10 33.45   Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)
#10 33.50 Collecting certifi>=2017.4.17
#10 33.51   Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
#10 33.56 Collecting idna<3,>=2.5
#10 33.56   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
#10 33.73 Collecting zipp>=0.5
#10 33.75   Downloading zipp-3.4.0-py3-none-any.whl (5.2 kB)
#10 33.78 Collecting typing-extensions>=3.6.4
#10 33.79   Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
#10 33.90 Using legacy 'setup.py install' for dockerpty, since package 'wheel' is not installed.
#10 33.90 Using legacy 'setup.py install' for docopt, since package 'wheel' is not installed.
#10 33.90 Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
#10 33.90 Using legacy 'setup.py install' for pyrsistent, since package 'wheel' is not installed.
#10 33.90 Building wheels for collected packages: bcrypt, cryptography, pynacl, PyYAML
#10 33.90   Building wheel for bcrypt (PEP 517): started
#10 35.26   Building wheel for bcrypt (PEP 517): finished with status 'done'
#10 35.26   Created wheel for bcrypt: filename=bcrypt-3.2.0-cp37-cp37m-linux_x86_64.whl size=56019 sha256=9873fdf0821e42a9dbcf11d451e9380fca3024c1b4ac902037bbf2266399e77e
#10 35.26   Stored in directory: /root/.cache/pip/wheels/c8/ef/5b/5866ddf8e9944d7968fcb3782ad6a68f234bdd13ec3b04ee7c
#10 35.26   Building wheel for cryptography (PEP 517): started
#10 36.54   Building wheel for cryptography (PEP 517): finished with status 'error'
#10 36.54   ERROR: Command errored out with exit status 1:
#10 36.54    command: /usr/bin/python3.7 /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp76ywygfm
#10 36.54        cwd: /tmp/pip-install-tx8ta4ku/cryptography_561681006b1649a18c581c62d4b9ddff
#10 36.54   Complete output (149 lines):
#10 36.54   running bdist_wheel
#10 36.54   running build
#10 36.54   running build_py
#10 36.54   creating build
#10 36.54   creating build/lib.linux-x86_64-3.7
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography
#10 36.54   copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat
#10 36.54   copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#10 36.54   copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#10 36.54   copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#10 36.54   copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#10 36.54   copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#10 36.54   copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#10 36.54   copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#10 36.54   copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#10 36.54   copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#10 36.54   copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#10 36.54   copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#10 36.54   copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#10 36.54   copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#10 36.54   copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric
#10 36.54   creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers
#10 36.54   running egg_info
#10 36.54   writing src/cryptography.egg-info/PKG-INFO
#10 36.54   writing dependency_links to src/cryptography.egg-info/dependency_links.txt
#10 36.54   writing requirements to src/cryptography.egg-info/requires.txt
#10 36.54   writing top-level names to src/cryptography.egg-info/top_level.txt
#10 36.54   reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
#10 36.54   reading manifest template 'MANIFEST.in'
#10 36.54   no previously-included directories found matching 'docs/_build'
#10 36.54   warning: no previously-included files found matching 'vectors'
#10 36.54   warning: no previously-included files matching '*' found under directory 'vectors'
#10 36.54   warning: no previously-included files matching '*' found under directory '.github'
#10 36.54   warning: no previously-included files found matching 'release.py'
#10 36.54   warning: no previously-included files found matching '.coveragerc'
#10 36.54   warning: no previously-included files found matching 'codecov.yml'
#10 36.54   warning: no previously-included files found matching '.readthedocs.yml'
#10 36.54   warning: no previously-included files found matching 'dev-requirements.txt'
#10 36.54   warning: no previously-included files found matching 'tox.ini'
#10 36.54   warning: no previously-included files found matching 'mypy.ini'
#10 36.54   warning: no previously-included files matching '*' found under directory '.zuul.d'
#10 36.54   warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
#10 36.54   writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#10 36.54   copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography
#10 36.54   running build_ext
#10 36.54   generating cffi module 'build/temp.linux-x86_64-3.7/_padding.c'
#10 36.54   creating build/temp.linux-x86_64-3.7
#10 36.54   generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c'
#10 36.54   running build_rust
#10 36.54   
#10 36.54       =============================DEBUG ASSISTANCE=============================
#10 36.54       If you are seeing a compilation error please try the following steps to
#10 36.54       successfully install cryptography:
#10 36.54       1) Upgrade to the latest pip and try again. This will fix errors for most
#10 36.54          users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#10 36.54       2) Read https://cryptography.io/en/latest/installation.html for specific
#10 36.54          instructions for your platform.
#10 36.54       3) Check our frequently asked questions for more information:
#10 36.54          https://cryptography.io/en/latest/faq.html
#10 36.54       4) Ensure you have a recent Rust toolchain installed:
#10 36.54          https://cryptography.io/en/latest/installation.html#rust
#10 36.54       5) If you are experiencing issues with Rust for *this release only* you may
#10 36.54          set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
#10 36.54       =============================DEBUG ASSISTANCE=============================
#10 36.54   
#10 36.54   error: Can not find Rust compiler
#10 36.54   ----------------------------------------
#10 36.55   ERROR: Failed building wheel for cryptography
#10 36.55   Building wheel for pynacl (PEP 517): started
#10 96.58   Building wheel for pynacl (PEP 517): still running...
#10 108.8   Building wheel for pynacl (PEP 517): finished with status 'done'
#10 108.8   Created wheel for pynacl: filename=PyNaCl-1.4.0-cp37-cp37m-linux_x86_64.whl size=883014 sha256=deed17898033c7014a50246dc6d04ddbd673b4c5efcd51c41cc06bf8d4bb29e6
#10 108.8   Stored in directory: /root/.cache/pip/wheels/f9/fb/34/d15387bc2e4a748e0eb2b9788c34e1d0c2167265e04bc6bb49
#10 108.8   Building wheel for PyYAML (PEP 517): started
#10 109.3   Building wheel for PyYAML (PEP 517): finished with status 'done'
#10 109.3   Created wheel for PyYAML: filename=PyYAML-5.4.1-cp37-cp37m-linux_x86_64.whl size=45644 sha256=185cd1ecb37fbe4fa227eb1ff61a33628350f4fc3c6211a167ebb3778f548cb5
#10 109.3   Stored in directory: /root/.cache/pip/wheels/f4/51/cc/858604f7bb9cab887106ff266a541546ad783b4fa20875051d
#10 109.3 Successfully built bcrypt pynacl PyYAML
#10 109.3 Failed to build cryptography
#10 109.3 ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

Screenshots

N/A

Cloud provider or hardware configuration:

Dev machine

Operating system name, version, build:

Linux 5.4.0-54-generic x86_64
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Hyperledger Cactus release version or commit (git rev-parse --short HEAD):

b892655c

Hyperledger Cactus Plugins/Connectors Used

N/A

Additional context

  1. Seems like this has the solution: Install using pip requires rust docker/compose#8105
  2. Got hit by this while trying to fix another issue with the image where the OpenSSH server refuses the connection despite the correct private key being supplied (unknown root cause as of right now).

cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo

@petermetz petermetz added the bug Something isn't working label Mar 1, 2021
@petermetz petermetz self-assigned this Mar 1, 2021
@petermetz petermetz added dependencies Pull requests that update a dependency file Developer_Experience labels Mar 1, 2021
petermetz added a commit to petermetz/cacti that referenced this issue Mar 5, 2021
…dger-cacti#617

Fixes hyperledger-cacti#617

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz added a commit that referenced this issue Mar 5, 2021
Fixes #617

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file Developer_Experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant