Hi all,

I am trying to install webssh, which is a python package, on OpenBSD 7.5.
My goal is to provide a tool for my email server users a means to change
their passwords. Some of them access their emails from Windows machines,
and they are not very comfortable using ssh, etc. I thought this would be a
good way to streamline the process. The next challenge will be limiting
their ssh usage only to change their passwords, but I need to solve this
problem first. This is my workflow so far:

# mkdir /usr/local/share/webssh
# python -m venv /usr/local/share/webssh
# cd /usr/local/share/webssh
# bin/pip3 install webssh
... snipped
error: failed to run custom build command for `cryptography-cffi v0.1.0
(/tmp/pip-install-qfhky3w1/cryptography_8892942be34a4a4db7e87bf9fb785a72/src/rust/cryptography-cffi)`


     Caused by:
       process didn't exit successfully:
`/tmp/pip-install-qfhky3w1/cryptography_8892942be34a4a4db7e87bf9fb785a72/src/rust/target/release/build/cryptography-cffi-69dd56dd49fae026/
build-script-build` (exit status: 101)
       --- stdout
       cargo:rerun-if-env-changed=PYO3_PYTHON
       cargo:rerun-if-changed=../../_cffi_src/
       cargo:rerun-if-changed=../../cryptography/__about__.py
       cargo:rustc-cfg=python_implementation="CPython"

       --- stderr
       thread 'main' panicked at cryptography-cffi/build.rs:61:49:
       unable to find openssl include path
       note: run with `RUST_BACKTRACE=1` environment variable to display a
backtrace
     warning: build failed, waiting for other jobs to finish...
     error: `cargo rustc --lib --message-format=json-render-diagnostics
--manifest-path src/rust/Cargo.toml --release -v --features
pyo3/extension-module --crate-type cdylib --` f
ailed with code 101
     [end of output]

 note: This error originates from a subprocess, and is likely not a problem
with pip.
 ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to
install pyproject.toml-based projects

 Any pointers will be greatly appreciated.

Hakan

Reply via email to