-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Issue
Hi,
I am using Semaphore to run ansible playbooks. For some playbook to connect to switches I need ansible-pylibssh.
I tried adding this in the /etc/semaphore/requirements.txt file, but this leads to errors on container startup:
Building wheels for collected packages: ansible-pylibssh
Building wheel for ansible-pylibssh (pyproject.toml): started
Building wheel for ansible-pylibssh (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ansible-pylibssh (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/_libssh_version.pyx
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/sftp.pyx
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/channel.pyx
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/scp.pyx
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/errors.pyx
[1/1] Cythonizing /tmp/.tmp-ansible-pylibssh-pep517-wbur1tmn/src/src/pylibsshext/session.pyx
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Failed to build ansible-pylibssh
ERROR: Failed building wheel for ansible-pylibssh
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> ansible-pylibssh
In the past I needed more modification of the image, so I built my own.
Now only package installation is left and I would like to get rid of the additional step.
What can I/we do?
Impact
Ansible (task execution)
Installation method
Docker
Database
Postgres
Browser
No response
Semaphore Version
v2.16.45
Ansible Version
Logs & errors
No response
Manual installation - system information
No response
Configuration
No response
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels