error: can't find Rust compiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
```
Stored in directory: /home/zuul/
2021-03-25 17:41:36.133301 | primary | Building wheel for cryptography (PEP 517): started
2021-03-25 17:41:37.155906 | primary | Building wheel for cryptography (PEP 517): finished with status 'error'
2021-03-25 17:41:37.156309 | primary | ERROR: Command errored out with exit status 1:
2021-03-25 17:41:37.156331 | primary | command: /home/zuul/
2021-03-25 17:41:37.156340 | primary | cwd: /tmp/pip-
2021-03-25 17:41:37.156347 | primary | Complete output (161 lines):
2021-03-25 17:41:37.156384 | primary | running bdist_wheel
2021-03-25 17:41:37.156398 | primary | running build
2021-03-25 17:41:37.156404 | primary | running build_py
2021-03-25 17:41:37.156411 | primary | creating build
2021-03-25 17:41:37.156479 | primary | creating build/lib.
2021-03-25 17:41:37.156501 | primary | creating build/lib.
2021-03-25 17:41:37.156509 | primary | copying src/cryptograph
2021-03-25 17:41:37.156534 | primary | copying src/cryptograph
2021-03-25 17:41:37.156545 | primary | copying src/cryptograph
2021-03-25 17:41:37.156551 | primary | copying src/cryptograph
2021-03-25 17:41:37.156557 | primary | copying src/cryptograph
2021-03-25 17:41:37.156563 | primary | creating build/lib.
2021-03-25 17:41:37.156654 | primary | copying src/cryptograph
2021-03-25 17:41:37.156675 | primary | copying src/cryptograph
2021-03-25 17:41:37.156683 | primary | copying src/cryptograph
2021-03-25 17:41:37.156710 | primary | copying src/cryptograph
2021-03-25 17:41:37.156721 | primary | copying src/cryptograph
2021-03-25 17:41:37.156727 | primary | copying src/cryptograph
2021-03-25 17:41:37.156733 | primary | copying src/cryptograph
2021-03-25 17:41:37.156740 | primary | copying src/cryptograph
2021-03-25 17:41:37.156747 | primary | creating build/lib.
2021-03-25 17:41:37.156771 | primary | copying src/cryptograph
2021-03-25 17:41:37.156781 | primary | copying src/cryptograph
2021-03-25 17:41:37.156787 | primary | copying src/cryptograph
2021-03-25 17:41:37.156793 | primary | copying src/cryptograph
2021-03-25 17:41:37.156799 | primary | creating build/lib.
2021-03-25 17:41:37.156806 | primary | copying src/cryptograph
2021-03-25 17:41:37.156813 | primary | copying src/cryptograph
2021-03-25 17:41:37.156819 | primary | copying src/cryptograph
2021-03-25 17:41:37.156852 | primary | copying src/cryptograph
2021-03-25 17:41:37.156859 | primary | copying src/cryptograph
2021-03-25 17:41:37.156956 | primary | copying src/cryptograph
2021-03-25 17:41:37.156970 | primary | copying src/cryptograph
2021-03-25 17:41:37.156977 | primary | copying src/cryptograph
2021-03-25 17:41:37.156983 | primary | copying src/cryptograph
2021-03-25 17:41:37.156990 | primary | copying src/cryptograph
2021-03-25 17:41:37.156996 | primary | copying src/cryptograph
2021-03-25 17:41:37.157002 | primary | creating build/lib.
2021-03-25 17:41:37.157008 | primary | copying src/cryptograph
2021-03-25 17:41:37.157015 | primary | copying src/cryptograph
2021-03-25 17:41:37.157022 | primary | creating build/lib.
2021-03-25 17:41:37.157029 | primary | copying src/cryptograph
2021-03-25 17:41:37.157036 | primary | creating build/lib.
2021-03-25 17:41:37.157069 | primary | copying src/cryptograph
2021-03-25 17:41:37.157098 | primary | copying src/cryptograph
2021-03-25 17:41:37.157109 | primary | copying src/cryptograph
2021-03-25 17:41:37.157115 | primary | copying src/cryptograph
2021-03-25 17:41:37.157138 | primary | copying src/cryptograph
2021-03-25 17:41:37.157146 | primary | creating build/lib.
2021-03-25 17:41:37.157152 | primary | copying src/cryptograph
2021-03-25 17:41:37.157173 | primary | copying src/cryptograph
2021-03-25 17:41:37.157180 | primary | copying src/cryptograph
2021-03-25 17:41:37.157186 | primary | copying src/cryptograph
2021-03-25 17:41:37.157192 | primary | copying src/cryptograph
2021-03-25 17:41:37.157197 | primary | copying src/cryptograph
2021-03-25 17:41:37.157203 | primary | copying src/cryptograph
2021-03-25 17:41:37.157209 | primary | copying src/cryptograph
2021-03-25 17:41:37.157214 | primary | copying src/cryptograph
2021-03-25 17:41:37.157219 | primary | copying src/cryptograph
2021-03-25 17:41:37.157269 | primary | copying src/cryptograph
2021-03-25 17:41:37.157279 | primary | creating build/lib.
2021-03-25 17:41:37.157284 | primary | copying src/cryptograph
2021-03-25 17:41:37.157290 | primary | copying src/cryptograph
2021-03-25 17:41:37.157299 | primary | copying src/cryptograph
2021-03-25 17:41:37.157305 | primary | copying src/cryptograph
2021-03-25 17:41:37.157311 | primary | copying src/cryptograph
2021-03-25 17:41:37.157316 | primary | creating build/lib.
2021-03-25 17:41:37.157322 | primary | copying src/cryptograph
2021-03-25 17:41:37.157342 | primary | copying src/cryptograph
2021-03-25 17:41:37.157362 | primary | copying src/cryptograph
2021-03-25 17:41:37.157369 | primary | copying src/cryptograph
2021-03-25 17:41:37.157374 | primary | copying src/cryptograph
2021-03-25 17:41:37.157380 | primary | copying src/cryptograph
2021-03-25 17:41:37.157385 | primary | copying src/cryptograph
2021-03-25 17:41:37.157391 | primary | creating build/lib.
2021-03-25 17:41:37.157405 | primary | copying src/cryptograph
2021-03-25 17:41:37.157417 | primary | copying src/cryptograph
2021-03-25 17:41:37.157430 | primary | copying src/cryptograph
2021-03-25 17:41:37.157436 | primary | copying src/cryptograph
2021-03-25 17:41:37.157442 | primary | creating build/lib.
2021-03-25 17:41:37.157447 | primary | copying src/cryptograph
2021-03-25 17:41:37.157453 | primary | copying src/cryptograph
2021-03-25 17:41:37.157459 | primary | copying src/cryptograph
2021-03-25 17:41:37.157475 | primary | copying src/cryptograph
2021-03-25 17:41:37.157482 | primary | copying src/cryptograph
2021-03-25 17:41:37.157488 | primary | copying src/cryptograph
2021-03-25 17:41:37.157499 | primary | copying src/cryptograph
2021-03-25 17:41:37.157505 | primary | copying src/cryptograph
2021-03-25 17:41:37.157511 | primary | copying src/cryptograph
2021-03-25 17:41:37.157534 | primary | copying src/cryptograph
2021-03-25 17:41:37.157543 | primary | copying src/cryptograph
2021-03-25 17:41:37.157549 | primary | copying src/cryptograph
2021-03-25 17:41:37.157555 | primary | copying src/cryptograph
2021-03-25 17:41:37.157622 | primary | copying src/cryptograph
2021-03-25 17:41:37.157638 | primary | copying src/cryptograph
2021-03-25 17:41:37.157645 | primary | copying src/cryptograph
2021-03-25 17:41:37.157652 | primary | copying src/cryptograph
2021-03-25 17:41:37.157658 | primary | copying src/cryptograph
2021-03-25 17:41:37.157664 | primary | copying src/cryptograph
2021-03-25 17:41:37.157671 | primary | copying src/cryptograph
2021-03-25 17:41:37.157677 | primary | copying src/cryptograph
2021-03-25 17:41:37.157683 | primary | creating build/lib.
2021-03-25 17:41:37.157689 | primary | copying src/cryptograph
2021-03-25 17:41:37.157696 | primary | copying src/cryptograph
2021-03-25 17:41:37.157702 | primary | copying src/cryptograph
2021-03-25 17:41:37.157708 | primary | running egg_info
2021-03-25 17:41:37.157714 | primary | writing src/cryptograph
2021-03-25 17:41:37.157720 | primary | writing dependency_links to src/cryptograph
2021-03-25 17:41:37.157726 | primary | writing requirements to src/cryptograph
2021-03-25 17:41:37.157732 | primary | writing top-level names to src/cryptograph
2021-03-25 17:41:37.157738 | primary | reading manifest file 'src/cryptograp
2021-03-25 17:41:37.157744 | primary | reading manifest template 'MANIFEST.in'
2021-03-25 17:41:37.157758 | primary | no previously-included directories found matching 'docs/_build'
2021-03-25 17:41:37.157765 | primary | warning: no previously-included files found matching 'vectors'
2021-03-25 17:41:37.157771 | primary | warning: no previously-included files matching '*' found under directory 'vectors'
2021-03-25 17:41:37.157778 | primary | warning: no previously-included files matching '*' found under directory '.github'
2021-03-25 17:41:37.157784 | primary | warning: no previously-included files found matching 'release.py'
2021-03-25 17:41:37.157797 | primary | warning: no previously-included files found matching '.coveragerc'
2021-03-25 17:41:37.157804 | primary | warning: no previously-included files found matching 'codecov.yml'
2021-03-25 17:41:37.157810 | primary | warning: no previously-included files found matching '.readthedocs.yml'
2021-03-25 17:41:37.157816 | primary | warning: no previously-included files found matching 'dev-requiremen
2021-03-25 17:41:37.157846 | primary | warning: no previously-included files found matching 'tox.ini'
2021-03-25 17:41:37.157860 | primary | warning: no previously-included files found matching 'mypy.ini'
2021-03-25 17:41:37.157875 | primary | warning: no previously-included files matching '*' found under directory '.zuul.d'
2021-03-25 17:41:37.157882 | primary | warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
2021-03-25 17:41:37.157888 | primary | writing manifest file 'src/cryptograp
2021-03-25 17:41:37.157894 | primary | copying src/cryptograph
2021-03-25 17:41:37.157900 | primary | running build_ext
2021-03-25 17:41:37.157906 | primary | generating cffi module 'build/
2021-03-25 17:41:37.157912 | primary | creating build/temp.
2021-03-25 17:41:37.157918 | primary | generating cffi module 'build/
2021-03-25 17:41:37.157939 | primary | running build_rust
2021-03-25 17:41:37.157950 | primary |
2021-03-25 17:41:37.157957 | primary | =======
2021-03-25 17:41:37.157963 | primary | If you are seeing a compilation error please try the following steps to
2021-03-25 17:41:37.157969 | primary | successfully install cryptography:
2021-03-25 17:41:37.157975 | primary | 1) Upgrade to the latest pip and try again. This will fix errors for most
2021-03-25 17:41:37.157981 | primary | users. See: https:/
2021-03-25 17:41:37.157987 | primary | 2) Read https:/
2021-03-25 17:41:37.157993 | primary | instructions for your platform.
2021-03-25 17:41:37.157999 | primary | 3) Check our frequently asked questions for more information:
2021-03-25 17:41:37.158006 | primary | https:/
2021-03-25 17:41:37.158012 | primary | 4) Ensure you have a recent Rust toolchain installed:
2021-03-25 17:41:37.158018 | primary | https:/
2021-03-25 17:41:37.158024 | primary | 5) If you are experiencing issues with Rust for *this release only* you may
2021-03-25 17:41:37.158030 | primary | set the environment variable `CRYPTOGRAPHY_
2021-03-25 17:41:37.158036 | primary | =======
2021-03-25 17:41:37.158042 | primary |
2021-03-25 17:41:37.158048 | primary | error: can't find Rust compiler
2021-03-25 17:41:37.158054 | primary |
2021-03-25 17:41:37.158081 | primary | 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.
2021-03-25 17:41:37.158104 | primary |
2021-03-25 17:41:37.158113 | primary | To update pip, run:
2021-03-25 17:41:37.158126 | primary |
2021-03-25 17:41:37.158142 | primary | pip install --upgrade pip
2021-03-25 17:41:37.158149 | primary |
2021-03-25 17:41:37.158155 | primary | and then retry package installation.
2021-03-25 17:41:37.158161 | primary |
2021-03-25 17:41:37.158176 | primary | 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:/
2021-03-25 17:41:37.158189 | primary |
2021-03-25 17:41:37.158196 | primary | This package requires Rust >=1.41.0.
2021-03-25 17:41:37.158202 | primary | -------
2021-03-25 17:41:37.158207 | primary | ERROR: Failed building wheel for cryptography
2021-03-25 17:41:37.158224 | primary | Building wheel for clif (setup.py): started
2021-03-25 17:41:37.490183 | primary | Building wheel for clif (setup.py): finished with status 'done'
2021-03-25 17:41:37.491035 | primary | Created wheel for clif: filename=
2021-03-25 17:41:37.491195 | primary | Stored in directory: /home/zuul/
2021-03-25 17:41:37.494393 | primary | Building wheel for clg (setup.py): started
2021-03-25 17:41:37.730719 | primary | Building wheel for clg (setup.py): finished with status 'done'
2021-03-25 17:41:37.731735 | primary | Created wheel for clg: filename=
2021-03-25 17:41:37.731969 | primary | Stored in directory: /home/zuul/
2021-03-25 17:41:37.737570 | primary | Building wheel for yamlordereddict
2021-03-25 17:41:38.011978 | primary | Building wheel for yamlordereddict
2021-03-25 17:41:38.013143 | primary | Created wheel for yamlordereddict
2021-03-25 17:41:38.013323 | primary | Stored in directory: /home/zuul/
2021-03-25 17:41:38.017854 | primary | Successfully built ansible-
2021-03-25 17:41:38.018026 | primary | Failed to build cryptography
2021-03-25 17:41:38.018377 | primary | ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
2021-03-25 17:41:39.820030 | primary | ERROR
2021-03-25 17:41:39.820709 | primary | {
2021-03-25 17:41:39.820820 | primary | "delta": "0:01:33.596116",
```
Need to fix cryptography package installation without rust.
Changed in tripleo: | |
milestone: | wallaby-rc1 → xena-1 |
Changed in tripleo: | |
status: | Triaged → Fix Released |
I think this might be related to: https:/ /github. com/pyca/ cryptography/ issues/ 5753