ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
129 stars 151 forks source link

unable to execute 'gcc': No such file or directory.... error: command 'gcc' failed with exit status 1 #236

Closed manneharikrishna closed 3 months ago

manneharikrishna commented 4 months ago

Please confirm the following

Bug Summary

3.8/ovirt_imageio/_internal/ioutil.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> ovirt_imageio

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 24.0 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. The command '/bin/sh -c /output/scripts/install-from-bindep && rm -rf /output/wheels' returned a non-zero code: 1

An error occurred (rc=1), see output line(s) above for details.

AWX version

23.3.0

Select the relevant components

Installation method

kubernetes

Modifications

no

Ansible version

2.12.5

Operating system

centos 8

Web browser

No response

Steps to reproduce

git clone https://github.com/ansible/awx-ee.git -b 0.5.0 cd awx-ee ansible-builder build --context=. --tag=quay.io/user/ee:1 --container-runtime=docker --file execution-environment.yml -v 3

Expected results

Broken while building the ee image

Actual results

× Encountered error while trying to install package. ╰─> ovirt_imageio

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 24.0 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. The command '/bin/sh -c /output/scripts/install-from-bindep && rm -rf /output/wheels' returned a non-zero code: 1

An error occurred (rc=1), see output line(s) above for details.

Additional information

Can you please help me to create ee image

manneharikrishna commented 4 months ago

ee build log.txt Attached full build logs for reference

fosterseth commented 4 months ago

what operating system (and architecture, check with uname -a) is the machine you are running ansible-builder from?

also, was your locally checked out awx-ee repo latest? we recently pushed some changes that addressed similar error messages

https://github.com/ansible/awx-ee/pull/235/files

manneharikrishna commented 4 months ago

Here is the machine details.. ubuntu@ip-172-31-16-28:~/code/awx-ee$ uname -a Linux ip-172-31-16-28 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

I am using 0.5.0 tag from awx-ee repo.

manneharikrishna commented 4 months ago

Thank you so much @fosterseth I am able to create ee image with latest code.

I didn't see builder and runner images from latest code is this ee image runs without builder and runner images?