ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila Charm |
Fix Committed
|
Undecided
|
Felipe Reyes | ||
2023.1 |
Fix Committed
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Octavia Charm |
Fix Committed
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
FTBS on s390x
::
:: Caused by:
:: process didn't exit successfully: `/root/
:: --- stdout
:: cargo:rerun-
:: S390X_UNKNOWN_
:: cargo:rerun-
:: OPENSSL_LIB_DIR unset
:: cargo:rerun-
:: S390X_UNKNOWN_
:: cargo:rerun-
:: OPENSSL_INCLUDE_DIR unset
:: cargo:rerun-
:: S390X_UNKNOWN_
:: cargo:rerun-
:: OPENSSL_DIR unset
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: cargo:rerun-
:: run pkg_config fail: Could not run `"pkg-config" "--libs" "--cflags" "openssl"`
:: The pkg-config command could not be found.
::
:: Most likely, you need to install a pkg-config package for your OS.
:: Try `apt install pkg-config`, or `yum install pkg-config`,
:: or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
::
:: If you've already installed it, ensure the pkg-config command is one of the
:: directories in the PATH environment variable.
::
:: If you did not expect this build to link to a pre-installed system library,
:: then check documentation of the openssl-sys crate for an option to
:: build the library from source, or disable features or dependencies
:: that require pkg-config.
::
:: --- stderr
:: thread 'main' panicked at '
::
:: Could not find directory of OpenSSL installation, and this `-sys` crate cannot
:: proceed without this knowledge. If OpenSSL is installed and this crate had
:: trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
:: compilation process.
::
:: Make sure you also have the development packages of openssl installed.
:: For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
::
:: If you're in a situation where you think the directory *should* be found
:: automatically, please open a bug at https:/
:: and include information about your system as well as this message.
::
:: $HOST = s390x-unknown-
:: $TARGET = s390x-unknown-
:: openssl-sys = 0.9.85
::
::
:: It looks like you're compiling on Linux and also targeting Linux. Currently this
:: requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
:: could not be found. If you have OpenSSL installed you can likely fix this by
:: installing `pkg-config`.
::
:: ', /root/.
:: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:: warning: build failed, waiting for other jobs to finish...
::
:: =======
:: If you are seeing a compilation error please try the following steps to
:: successfully install cryptography:
:: 1) Upgrade to the latest pip and try again. This will fix errors for most
:: users. See: https:/
:: 2) Read https:/
:: instructions for your platform.
:: 3) Check our frequently asked questions for more information:
:: https:/
:: 4) Ensure you have a recent Rust toolchain installed:
:: https:/
::
:: Python: 3.10.6
:: platform: Linux-5.
:: pip: n/a
:: setuptools: 67.6.1
:: setuptools_rust: 1.5.2
:: rustc: 1.65.0
:: =======
::
:: error: `cargo rustc --lib --message-
:: -------
:: ERROR: Failed building wheel for cryptography
:: Building wheel for ruamel.yaml.clib (setup.py): started
:: Building wheel for ruamel.yaml.clib (setup.py): finished with status 'done'
:: Created wheel for ruamel.yaml.clib: filename=
:: Stored in directory: /root/snap/
:: Building wheel for parse (setup.py): started
:: Building wheel for parse (setup.py): finished with status 'done'
:: Created wheel for parse: filename=
:: Stored in directory: /root/snap/
:: Building wheel for cffi (setup.py): started
:: Building wheel for cffi (setup.py): finished with status 'done'
:: Created wheel for cffi: filename=
:: Stored in directory: /root/snap/
:: Successfully built charm-tools cheetah3 pyyaml jujubundlelib dict2colander vergit ruamel.yaml.clib parse cffi
:: Failed to build cryptography
:: ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
Changed in charm-manila: | |
assignee: | nobody → Felipe Reyes (freyes) |
https:/ /launchpad. net/~openstack- charmers/ charm-octavia/ +charm/ charm-octavia. stable- zed.zed/ +build/ 7711