storage stqe: Failed to build ssh2-python
Snippet of test failure
Requirement already satisfied: charset-normalizer~=2.0 in /usr/lib/python3.11/site-packages (from requests->libsan->stqe) (2.1.0)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.11/site-packages (from pycparser->cffi>=1.0.0->python-augeas->stqe) (3.11)
Skipping wheel build for stqe, due to binaries being disabled for it.
Building wheels for collected packages: ssh2-python
Building wheel for ssh2-python (setup.py): started
Building wheel for ssh2-python (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
/bin/sh: line 1: cmake: command not found
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-fagqz7qm/ssh2-python_9f89b09619a84f46b2ef9a03c4ee9156/setup.py", line 34, in <module>
build_ssh2()
^^^^^^^^^^^^
File "/tmp/pip-install-fagqz7qm/ssh2-python_9f89b09619a84f46b2ef9a03c4ee9156/_setup_libssh2.py", line 36, in build_ssh2
check_call('cmake ../libssh2 -DBUILD_SHARED_LIBS=ON \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/subprocess.py", line 402, in check_call
raise CalledProcessError(retcode, cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
subprocess.CalledProcessError: Command 'cmake ../libssh2 -DBUILD_SHARED_LIBS=ON -DENABLE_ZLIB_COMPRESSION=ON -DENABLE_CRYPT_NONE=ON -DENABLE_MAC_NONE=ON -DCRYPTO_BACKEND=OpenSSL' returned non-zero exit status 127.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ssh2-python
Running setup.py clean for ssh2-python
Failed to build ssh2-python
Test logs on DataWarehouse
https://datawarehouse.cki-project.org/kcidb/tests/4064449
DataWarehouse issue
https://datawarehouse.cki-project.org/issue/1360
Additional details
Please include any additional information you have about the issue here.
In case opening the links above result in a 404 page on DataWarehouse, please make sure you are correctly logged into DataWarehouse via Red Hat SSO.
Edited by Bruno Goncalves