-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Please confirm the following
- I agree to follow this project's code of conduct.
- I have checked the current issues for duplicates.
- I understand that event-driven-ansible collection is open source software provided for free and that I might not receive a timely response.
Bug Summary
Get the following error when trying to include on rhel9 for an ansible excecution environment.
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'
[end of output]
As a result if I do the following
When I include as a depenency
dependencies:
system:
- pkg-config [platform:rpm]
I get the following
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
Cannot find libsystemd or libsystemd-journal:
I suspect the problem is https://github.com/ansible/event-driven-ansible/blob/main/requirements.txt
Contains requirements for both EDA AND the collection, and with the python included on the rhel9 minimal something is incompatible.
Environment
/python3.11
registry.gitlab.com/ansible-community/execution-environments/ansible-automation-platform-images/aap25-ee-minimal-rhel9:latest
Steps to reproduce
Run ansible builder.
with the following EE definition
---
version: 3
build_arg_defaults:
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: '-vvv'
options:
package_manager_path: /usr/bin/microdnf
dependencies:
system:
- pkg-config [platform:rpm]
galaxy:
collections:
- name: ansible.eda
images:
base_image:
name: >-
registry.gitlab.com/tmobile/ansible-community/execution-environments/ansible-automation-platform-images/aap25-ee-minimal-rhel9:latest
Actual results
it fails to build the container.
Expected results
it builds an EE with the collection installed.
Additional information
No response
Metadata
Metadata
Assignees
Labels
No labels