Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
7 of 11 tasks
manneharikrishna opened this issue Mar 6, 2024 · 4 comments

Comments

@manneharikrishna
Copy link

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 AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

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

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

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

  • '[' -f /output/bindep/epel.txt ']'
    ++ cat /output/bindep/epel.txt

  • EPEL_PACKAGES=

  • '[' '!' -z '' ']'

  • '[' -f /output/upper-constraints.txt ']'

  • '[' -f /output/requirements.txt ']'

  • /usr/bin/python3 -m pip install --cache-dir=/output/wheels -r /output/requirements.txt
    Requirement already satisfied: pytz in /usr/lib/python3.8/site-packages (from -r /output/requirements.txt (line 1)) (2019.3)
    Collecting python_dateutil>=2.7.0
    Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
    Collecting awxkit
    Using cached awxkit-23.9.0-py3-none-any.whl (123 kB)
    Requirement already satisfied: packaging in /usr/local/lib/python3.8/site-packages (from -r /output/requirements.txt (line 4)) (21.3)
    Requirement already satisfied: requests>=2.4.2 in /usr/lib/python3.8/site-packages (from -r /output/requirements.txt (line 5)) (2.22.0)
    Requirement already satisfied: xmltodict in /usr/local/lib/python3.8/site-packages (from -r /output/requirements.txt (line 6)) (0.12.0)
    Collecting msgraph_sdk==1.0.0
    Using cached msgraph_sdk-1.0.0-py3-none-any.whl (20.1 MB)
    Collecting azure_cli_core==2.34.0
    Using cached azure_cli_core-2.34.0-py3-none-any.whl (179 kB)
    Collecting azure_common==1.1.11
    Using cached azure_common-1.1.11-py2.py3-none-any.whl (9.7 kB)
    Collecting azure_identity==1.14.0
    Using cached azure_identity-1.14.0-py3-none-any.whl (160 kB)
    Collecting azure_mgmt_authorization==2.0.0
    Using cached azure_mgmt_authorization-2.0.0-py2.py3-none-any.whl (465 kB)
    Collecting azure_mgmt_apimanagement==3.0.0
    Using cached azure_mgmt_apimanagement-3.0.0-py3-none-any.whl (588 kB)
    Collecting azure_mgmt_batch==16.2.0
    Using cached azure_mgmt_batch-16.2.0-py3-none-any.whl (126 kB)
    Collecting azure_mgmt_cdn==11.0.0
    Using cached azure_mgmt_cdn-11.0.0-py2.py3-none-any.whl (252 kB)
    Collecting azure_mgmt_compute==26.1.0
    Using cached azure_mgmt_compute-26.1.0-py3-none-any.whl (4.8 MB)
    Collecting azure_mgmt_containerinstance==9.0.0
    Using cached azure_mgmt_containerinstance-9.0.0-py2.py3-none-any.whl (57 kB)
    Collecting azure_mgmt_core==1.3.0
    Using cached azure_mgmt_core-1.3.0-py2.py3-none-any.whl (25 kB)
    Collecting azure_mgmt_containerregistry==9.1.0
    Using cached azure_mgmt_containerregistry-9.1.0-py3-none-any.whl (1.1 MB)
    Collecting azure_containerregistry==1.1.0
    Using cached azure_containerregistry-1.1.0-py3-none-any.whl (101 kB)
    Collecting azure_mgmt_containerservice==20.0.0
    Using cached azure_mgmt_containerservice-20.0.0-py3-none-any.whl (3.1 MB)
    Collecting azure_mgmt_datalake_store==1.0.0
    Using cached azure_mgmt_datalake_store-1.0.0-py2.py3-none-any.whl (63 kB)
    Collecting azure_mgmt_datafactory==2.0.0
    Using cached azure_mgmt_datafactory-2.0.0-py2.py3-none-any.whl (514 kB)
    Collecting azure_mgmt_dns==8.0.0
    Using cached azure_mgmt_dns-8.0.0-py2.py3-none-any.whl (118 kB)
    Collecting azure_mgmt_marketplaceordering==1.1.0
    Using cached azure_mgmt_marketplaceordering-1.1.0-py2.py3-none-any.whl (26 kB)
    Collecting azure_mgmt_monitor==3.0.0
    Using cached azure_mgmt_monitor-3.0.0-py2.py3-none-any.whl (839 kB)
    Collecting azure_mgmt_managedservices==6.0.0
    Using cached azure_mgmt_managedservices-6.0.0-py2.py3-none-any.whl (47 kB)
    Collecting azure_mgmt_managementgroups==1.0.0
    Using cached azure_mgmt_managementgroups-1.0.0-py2.py3-none-any.whl (58 kB)
    Collecting azure_mgmt_network==19.1.0
    Using cached azure_mgmt_network-19.1.0-py2.py3-none-any.whl (22.0 MB)
    Collecting azure_mgmt_nspkg==2.0.0
    Using cached azure_mgmt_nspkg-2.0.0-py2.py3-none-any.whl (2.8 kB)
    Collecting azure_mgmt_privatedns==1.0.0
    Using cached azure_mgmt_privatedns-1.0.0-py2.py3-none-any.whl (43 kB)
    Collecting azure_mgmt_redis==13.0.0
    Using cached azure_mgmt_redis-13.0.0-py2.py3-none-any.whl (75 kB)
    Collecting azure_mgmt_resource==21.1.0
    Using cached azure_mgmt_resource-21.1.0-py3-none-any.whl (1.8 MB)
    Collecting azure_mgmt_rdbms==10.0.0
    Using cached azure_mgmt_rdbms-10.0.0-py2.py3-none-any.whl (644 kB)
    Collecting azure_mgmt_search==8.0.0
    Using cached azure_mgmt_search-8.0.0-py2.py3-none-any.whl (71 kB)
    Collecting azure_mgmt_servicebus==7.1.0
    Using cached azure_mgmt_servicebus-7.1.0-py2.py3-none-any.whl (539 kB)
    Collecting azure_mgmt_sql==3.0.1
    Using cached azure_mgmt_sql-3.0.1-py2.py3-none-any.whl (912 kB)
    Collecting azure_mgmt_storage==19.0.0
    Using cached azure_mgmt_storage-19.0.0-py2.py3-none-any.whl (1.8 MB)
    Collecting azure_mgmt_trafficmanager==1.0.0b1
    Using cached azure_mgmt_trafficmanager-1.0.0b1-py2.py3-none-any.whl (49 kB)
    Collecting azure_mgmt_web==6.1.0
    Using cached azure_mgmt_web-6.1.0-py3-none-any.whl (3.9 MB)
    Collecting azure_nspkg==2.0.0
    Using cached azure_nspkg-2.0.0-py2.py3-none-any.whl (2.6 kB)
    Collecting azure_storage_blob==12.11.0
    Using cached azure_storage_blob-12.11.0-py3-none-any.whl (346 kB)
    Collecting azure_core==1.28.0
    Using cached azure_core-1.28.0-py3-none-any.whl (185 kB)
    Collecting azure_keyvault==4.2.0
    Using cached azure_keyvault-4.2.0-py2.py3-none-any.whl (4.3 kB)
    Collecting azure_mgmt_keyvault==10.0.0
    Using cached azure_mgmt_keyvault-10.0.0-py3-none-any.whl (489 kB)
    Collecting azure_mgmt_cosmosdb==6.4.0
    Using cached azure_mgmt_cosmosdb-6.4.0-py2.py3-none-any.whl (290 kB)
    Collecting azure_mgmt_hdinsight==9.0.0
    Using cached azure_mgmt_hdinsight-9.0.0-py2.py3-none-any.whl (125 kB)
    Collecting azure_mgmt_devtestlabs==9.0.0
    Using cached azure_mgmt_devtestlabs-9.0.0-py2.py3-none-any.whl (238 kB)
    Collecting azure_mgmt_loganalytics==12.0.0
    Using cached azure_mgmt_loganalytics-12.0.0-py2.py3-none-any.whl (146 kB)
    Collecting azure_mgmt_automation==1.0.0
    Using cached azure_mgmt_automation-1.0.0-py2.py3-none-any.whl (287 kB)
    Collecting azure_mgmt_iothub==2.2.0
    Using cached azure_mgmt_iothub-2.2.0-py3-none-any.whl (839 kB)
    Collecting azure_iot_hub==2.6.1
    Using cached azure_iot_hub-2.6.1-py2.py3-none-any.whl (102 kB)
    Collecting azure_mgmt_recoveryservices==2.0.0
    Using cached azure_mgmt_recoveryservices-2.0.0-py2.py3-none-any.whl (79 kB)
    Collecting azure_mgmt_recoveryservicesbackup==3.0.0
    Using cached azure_mgmt_recoveryservicesbackup-3.0.0-py2.py3-none-any.whl (422 kB)
    Collecting azure_mgmt_notificationhubs==7.0.0
    Using cached azure_mgmt_notificationhubs-7.0.0-py2.py3-none-any.whl (47 kB)
    Collecting azure_mgmt_eventhub==10.1.0
    Using cached azure_mgmt_eventhub-10.1.0-py3-none-any.whl (598 kB)
    Collecting google_auth
    Using cached google_auth-2.28.1-py2.py3-none-any.whl (186 kB)
    Collecting google_cloud_storage
    Using cached google_cloud_storage-2.15.0-py2.py3-none-any.whl (123 kB)
    Collecting kubernetes>=24.2.0
    Using cached kubernetes-29.0.0-py2.py3-none-any.whl (1.6 MB)
    Collecting requests_oauthlib
    Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
    Collecting jsonpatch
    Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB)
    Collecting openstacksdk>=1.0.0
    Using cached openstacksdk-3.0.0-py3-none-any.whl (1.7 MB)
    Collecting ovirt_engine_sdk_python>=4.5.0
    Using cached ovirt-engine-sdk-python-4.6.1.tar.gz (15.9 MB)
    Preparing metadata (setup.py): started
    Preparing metadata (setup.py): finished with status 'done'
    Collecting ovirt_imageio
    Using cached ovirt-imageio-2.5.0.tar.gz (1.7 MB)
    Preparing metadata (setup.py): started
    Preparing metadata (setup.py): finished with status 'done'
    Collecting ipaddress
    Using cached ipaddress-1.0.23-py2.py3-none-any.whl (18 kB)
    Collecting microsoft-kiota-serialization-json<2.0.0,>=1.0.0
    Using cached microsoft_kiota_serialization_json-1.1.0-py2.py3-none-any.whl (10 kB)
    Collecting msgraph-core>=1.0.0a2
    Using cached msgraph_core-1.0.0-py3-none-any.whl (14 kB)
    Collecting microsoft-kiota-serialization-text<2.0.0,>=1.0.0
    Using cached microsoft_kiota_serialization_text-1.0.0-py2.py3-none-any.whl (8.6 kB)
    Collecting microsoft-kiota-authentication-azure<2.0.0,>=1.0.0
    Using cached microsoft_kiota_authentication_azure-1.0.0-py2.py3-none-any.whl (6.5 kB)
    Collecting microsoft-kiota-abstractions<2.0.0,>=1.0.0
    Using cached microsoft_kiota_abstractions-1.3.1-py2.py3-none-any.whl (42 kB)
    Collecting microsoft-kiota-http<2.0.0,>=1.0.0
    Using cached microsoft_kiota_http-1.3.1-py2.py3-none-any.whl (30 kB)
    Collecting msrestazure~=0.6.4
    Using cached msrestazure-0.6.4-py2.py3-none-any.whl (40 kB)
    Collecting jmespath
    Using cached jmespath-1.0.1-py3-none-any.whl (20 kB)
    Collecting azure-cli-telemetry==1.0.6.*
    Using cached azure_cli_telemetry-1.0.6-py3-none-any.whl (10 kB)
    Collecting argcomplete~=1.8
    Using cached argcomplete-1.12.3-py2.py3-none-any.whl (38 kB)
    Requirement already satisfied: paramiko<3.0.0,>=2.0.8 in /usr/local/lib/python3.8/site-packages (from azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (2.10.4)
    Collecting pkginfo>=1.5.0.1
    Using cached pkginfo-1.10.0-py3-none-any.whl (30 kB)
    Collecting msal-extensions<0.4,>=0.3.1
    Using cached msal_extensions-0.3.1-py2.py3-none-any.whl (18 kB)
    Collecting knack~=0.9.0
    Using cached knack-0.9.0-py3-none-any.whl (59 kB)
    Collecting PyJWT>=2.1.0
    Using cached PyJWT-2.8.0-py3-none-any.whl (22 kB)
    Collecting msal<2.0.0,>=1.16.0
    Using cached msal-1.27.0-py2.py3-none-any.whl (101 kB)
    Requirement already satisfied: cryptography in /usr/lib64/python3.8/site-packages (from azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (2.8)
    Collecting humanfriendly~=10.0
    Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
    Requirement already satisfied: pyopenssl>=17.1.0 in /usr/local/lib/python3.8/site-packages (from azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (19.1.0)
    Collecting psutil~=5.9
    Using cached psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288 kB)
    Collecting msrest>=0.6.21
    Using cached msrest-0.7.1-py3-none-any.whl (85 kB)
    Collecting isodate>=0.6.0
    Using cached isodate-0.6.1-py2.py3-none-any.whl (41 kB)
    Collecting typing-extensions>=4.3.0
    Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB)
    Requirement already satisfied: six>=1.11.0 in /usr/lib/python3.8/site-packages (from azure_core==1.28.0->-r /output/requirements.txt (line 42)) (1.12.0)
    Collecting azure-keyvault-certificates~=4.4
    Using cached azure_keyvault_certificates-4.8.0-py3-none-any.whl (114 kB)
    Collecting azure-keyvault-keys~=4.5
    Using cached azure_keyvault_keys-4.9.0-py3-none-any.whl (149 kB)
    Collecting azure-keyvault-secrets~=4.4
    Using cached azure_keyvault_secrets-4.8.0-py3-none-any.whl (82 kB)
    Collecting uamqp<2.0.0,>=1.2.14
    Using cached uamqp-1.6.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
    Collecting applicationinsights<0.12,>=0.11.1
    Using cached applicationinsights-0.11.10-py2.py3-none-any.whl (55 kB)
    Collecting portalocker~=1.2
    Using cached portalocker-1.7.1-py2.py3-none-any.whl (10 kB)
    Requirement already satisfied: PyYAML in /usr/lib64/python3.8/site-packages (from awxkit->-r /output/requirements.txt (line 3)) (5.4.1)
    Requirement already satisfied: setuptools in /usr/lib/python3.8/site-packages (from awxkit->-r /output/requirements.txt (line 3)) (41.6.0)
    Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.8/site-packages (from packaging->-r /output/requirements.txt (line 4)) (3.0.8)
    Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests>=2.4.2->-r /output/requirements.txt (line 5)) (3.0.4)
    Requirement already satisfied: idna<2.9,>=2.5 in /usr/lib/python3.8/site-packages (from requests>=2.4.2->-r /output/requirements.txt (line 5)) (2.8)
    Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests>=2.4.2->-r /output/requirements.txt (line 5)) (1.25.7)
    Collecting cachetools<6.0,>=2.0.0
    Using cached cachetools-5.3.3-py3-none-any.whl (9.3 kB)
    Collecting pyasn1-modules>=0.2.1
    Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
    Collecting rsa<5,>=3.1.4
    Using cached rsa-4.9-py3-none-any.whl (34 kB)
    Collecting google-cloud-core<3.0dev,>=2.3.0
    Using cached google_cloud_core-2.4.1-py2.py3-none-any.whl (29 kB)
    Collecting google-resumable-media>=2.6.0
    Using cached google_resumable_media-2.7.0-py2.py3-none-any.whl (80 kB)
    Collecting google-crc32c<2.0dev,>=1.0
    Using cached google_crc32c-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32 kB)
    Collecting google-api-core<3.0.0dev,>=2.15.0
    Using cached google_api_core-2.17.1-py3-none-any.whl (137 kB)
    Collecting certifi>=14.05.14
    Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
    Collecting oauthlib>=3.2.2
    Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
    Collecting websocket-client!=0.40.0,!=0.41.,!=0.42.,>=0.32.0
    Using cached websocket_client-1.7.0-py3-none-any.whl (58 kB)
    Collecting jsonpointer>=1.9
    Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
    Requirement already satisfied: decorator>=4.4.1 in /usr/local/lib/python3.8/site-packages (from openstacksdk>=1.0.0->-r /output/requirements.txt (line 61)) (5.1.1)
    Collecting requestsexceptions>=1.2.0
    Using cached requestsexceptions-1.4.0-py2.py3-none-any.whl (3.8 kB)
    Collecting iso8601>=0.1.11
    Using cached iso8601-2.1.0-py3-none-any.whl (7.5 kB)
    Collecting dogpile.cache>=0.6.5
    Using cached dogpile.cache-1.3.2-py3-none-any.whl (58 kB)
    Collecting os-service-types>=1.7.0
    Using cached os_service_types-1.7.0-py2.py3-none-any.whl (24 kB)
    Collecting pbr!=2.1.0,>=2.0.0
    Downloading pbr-6.0.0-py2.py3-none-any.whl (107 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.5/107.5 KB 10.4 MB/s eta 0:00:00
    Collecting platformdirs>=3
    Using cached platformdirs-4.2.0-py3-none-any.whl (17 kB)
    Collecting keystoneauth1>=3.18.0
    Using cached keystoneauth1-5.6.0-py3-none-any.whl (323 kB)
    Collecting netifaces>=0.10.4
    Using cached netifaces-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (33 kB)
    Collecting pycurl>=7.19.0
    Using cached pycurl-7.45.3-cp38-cp38-manylinux_2_28_x86_64.whl (4.6 MB)
    Collecting azure-keyvault-certificates~=4.4
    Using cached azure_keyvault_certificates-4.7.0-py3-none-any.whl (428 kB)
    Collecting azure-keyvault-keys~=4.5
    Using cached azure_keyvault_keys-4.8.0-py3-none-any.whl (452 kB)
    Collecting azure-keyvault-secrets~=4.4
    Using cached azure_keyvault_secrets-4.7.0-py3-none-any.whl (348 kB)
    Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib64/python3.8/site-packages (from cryptography->azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (1.13.2)
    Collecting stevedore>=3.0.0
    Using cached stevedore-5.2.0-py3-none-any.whl (49 kB)
    Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5
    Using cached protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
    Collecting googleapis-common-protos<2.0.dev0,>=1.56.2
    Using cached googleapis_common_protos-1.62.0-py2.py3-none-any.whl (228 kB)
    Collecting pygments
    Using cached pygments-2.17.2-py3-none-any.whl (1.2 MB)
    Collecting tabulate
    Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
    Collecting std-uritemplate>=0.0.38
    Using cached std_uritemplate-0.0.54-py3-none-any.whl (6.5 kB)
    Collecting opentelemetry-sdk>=1.19.0
    Using cached opentelemetry_sdk-1.23.0-py3-none-any.whl (105 kB)
    Collecting opentelemetry-api>=1.19.0
    Using cached opentelemetry_api-1.23.0-py3-none-any.whl (58 kB)
    Collecting aiohttp>=3.8.0
    Using cached aiohttp-3.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
    Collecting httpx[http2]>=0.23.0
    Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
    Collecting pendulum>=3.0.0b1
    Using cached pendulum-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (385 kB)
    Collecting adal<2.0.0,>=0.6.0
    Using cached adal-1.2.7-py2.py3-none-any.whl (55 kB)
    Requirement already satisfied: pynacl>=1.0.1 in /usr/local/lib64/python3.8/site-packages (from paramiko<3.0.0,>=2.0.8->azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (1.5.0)
    Requirement already satisfied: bcrypt>=3.1.3 in /usr/local/lib64/python3.8/site-packages (from paramiko<3.0.0,>=2.0.8->azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (3.2.0)
    Collecting pyasn1<0.6.0,>=0.4.6
    Using cached pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
    Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/lib/python3.8/site-packages (from requests>=2.4.2->-r /output/requirements.txt (line 5)) (1.7.1)
    Collecting async-timeout<5.0,>=4.0
    Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
    Collecting aiosignal>=1.1.2
    Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
    Collecting multidict<7.0,>=4.5
    Using cached multidict-6.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)
    Collecting frozenlist>=1.1.1
    Using cached frozenlist-1.4.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (240 kB)
    Collecting yarl<2.0,>=1.0
    Using cached yarl-1.9.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (308 kB)
    Collecting attrs>=17.3.0
    Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
    Requirement already satisfied: pycparser in /usr/lib/python3.8/site-packages (from cffi!=1.11.3,>=1.8->cryptography->azure_cli_core==2.34.0->-r /output/requirements.txt (line 8)) (2.19)
    Collecting httpcore==1.*
    Using cached httpcore-1.0.4-py3-none-any.whl (77 kB)
    Collecting sniffio
    Using cached sniffio-1.3.1-py3-none-any.whl (10 kB)
    Collecting anyio
    Using cached anyio-4.3.0-py3-none-any.whl (85 kB)
    Collecting h2<5,>=3
    Using cached h2-4.1.0-py3-none-any.whl (57 kB)
    Collecting h11<0.15,>=0.13
    Using cached h11-0.14.0-py3-none-any.whl (58 kB)
    Collecting importlib-metadata<7.0,>=6.0
    Using cached importlib_metadata-6.11.0-py3-none-any.whl (23 kB)
    Collecting deprecated>=1.2.6
    Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
    Collecting opentelemetry-semantic-conventions==0.44b0
    Using cached opentelemetry_semantic_conventions-0.44b0-py3-none-any.whl (36 kB)
    Collecting time-machine>=2.6.0
    Using cached time_machine-2.14.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35 kB)
    Collecting tzdata>=2020.1
    Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB)
    Collecting backports.zoneinfo>=0.2.1
    Using cached backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl (74 kB)
    Collecting importlib-resources>=5.9.0
    Using cached importlib_resources-6.1.2-py3-none-any.whl (34 kB)
    Collecting cryptography
    Using cached cryptography-42.0.5-cp37-abi3-manylinux_2_28_x86_64.whl (4.6 MB)
    Collecting wrapt<2,>=1.10
    Using cached wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83 kB)
    Collecting hyperframe<7,>=6.0
    Using cached hyperframe-6.0.1-py3-none-any.whl (12 kB)
    Collecting hpack<5,>=4.0
    Using cached hpack-4.0.0-py3-none-any.whl (32 kB)
    Collecting zipp>=0.5
    Using cached zipp-3.17.0-py3-none-any.whl (7.4 kB)
    Collecting exceptiongroup>=1.0.2
    Using cached exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
    WARNING: The candidate selected for download or install is a yanked version: 'azure-mgmt-datalake-store' candidate (version 1.0.0 at https://files.pythonhosted.org/packages/ff/24/9212a136eeb98aa9031d8d58c90733e0527647ceabb4776bcf42a0316bd8/azure_mgmt_datalake_store-1.0.0-py2.py3-none-any.whl#sha256=02c0ceed26f9188e588dc1d4b1191184767f48a631e43f4d38de7d114ff61034 (from https://pypi.org/simple/azure-mgmt-datalake-store/))
    Reason for being yanked: Retiring this version of the SDK.
    Using legacy 'setup.py install' for ovirt_engine_sdk_python, since package 'wheel' is not installed.
    Using legacy 'setup.py install' for ovirt_imageio, since package 'wheel' is not installed.
    Installing collected packages: requestsexceptions, portalocker, netifaces, ipaddress, azure_nspkg, argcomplete, applicationinsights, zipp, wrapt, websocket-client, tzdata, typing-extensions, tabulate, std-uritemplate, sniffio, python_dateutil, PyJWT, pygments, pycurl, pyasn1, psutil, protobuf, platformdirs, pkginfo, pbr, ovirt_imageio, opentelemetry-semantic-conventions, oauthlib, multidict, jsonpointer, jmespath, isodate, iso8601, hyperframe, humanfriendly, hpack, h11, google-crc32c, frozenlist, exceptiongroup, certifi, cachetools, backports.zoneinfo, azure_mgmt_nspkg, azure_common, azure-cli-telemetry, attrs, async-timeout, yarl, uamqp, time-machine, stevedore, rsa, requests_oauthlib, pyasn1-modules, ovirt_engine_sdk_python, os-service-types, knack, jsonpatch, importlib-resources, importlib-metadata, httpcore, h2, googleapis-common-protos, google-resumable-media, deprecated, cryptography, azure_core, awxkit, anyio, aiosignal, pendulum, opentelemetry-api, msrest, keystoneauth1, httpx, google_auth, dogpile.cache, azure_mgmt_core, azure-keyvault-secrets, azure-keyvault-keys, azure-keyvault-certificates, azure_containerregistry, aiohttp, adal, opentelemetry-sdk, openstacksdk, msrestazure, msal, kubernetes, google-api-core, azure_storage_blob, azure_mgmt_web, azure_mgmt_trafficmanager, azure_mgmt_storage, azure_mgmt_sql, azure_mgmt_servicebus, azure_mgmt_search, azure_mgmt_resource, azure_mgmt_redis, azure_mgmt_recoveryservicesbackup, azure_mgmt_recoveryservices, azure_mgmt_rdbms, azure_mgmt_privatedns, azure_mgmt_notificationhubs, azure_mgmt_network, azure_mgmt_monitor, azure_mgmt_marketplaceordering, azure_mgmt_managementgroups, azure_mgmt_managedservices, azure_mgmt_loganalytics, azure_mgmt_keyvault, azure_mgmt_iothub, azure_mgmt_hdinsight, azure_mgmt_eventhub, azure_mgmt_dns, azure_mgmt_devtestlabs, azure_mgmt_datalake_store, azure_mgmt_datafactory, azure_mgmt_cosmosdb, azure_mgmt_containerservice, azure_mgmt_containerregistry, azure_mgmt_containerinstance, azure_mgmt_compute, azure_mgmt_cdn, azure_mgmt_batch, azure_mgmt_automation, azure_mgmt_authorization, azure_mgmt_apimanagement, azure_keyvault, azure_iot_hub, msal-extensions, microsoft-kiota-abstractions, google-cloud-core, microsoft-kiota-serialization-text, microsoft-kiota-serialization-json, microsoft-kiota-http, microsoft-kiota-authentication-azure, google_cloud_storage, azure_identity, azure_cli_core, msgraph-core, msgraph_sdk
    Running setup.py install for ovirt_imageio: started
    Running setup.py install for ovirt_imageio: finished with status 'error'
    error: subprocess-exited-with-error

    × Running setup.py install for ovirt_imageio did not run successfully.
    │ exit code: 1
    ╰─> [73 lines of output]
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/ovirt_imageio
    copying ovirt_imageio/init.py -> build/lib.linux-x86_64-3.8/ovirt_imageio
    creating build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/util.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/errors.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/server.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/directio.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/http.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/config.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/ipv6.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/extent.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/nbd.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/cors.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/units.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/ops.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/sockutil.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/init.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/ssl.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/nbdutil.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/measure.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/stats.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/auth.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/qemu_nbd.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/blkhash.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/uhttp.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/configloader.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/version.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/services.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/qemu_img.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    copying ovirt_imageio/_internal/validate.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal
    creating build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/file.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/http.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/nbd.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/init.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/memory.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    copying ovirt_imageio/_internal/backends/common.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/backends
    package init file 'ovirt_imageio/_internal/handlers/init.py' not found (or not a regular file)
    creating build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/info.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/tickets.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/profile.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/checksum.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/images.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    copying ovirt_imageio/_internal/handlers/extents.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/_internal/handlers
    creating build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_io.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_ovirt.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_app.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_download.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/init.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_upload.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_tool.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_options.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_ui.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    copying ovirt_imageio/client/_api.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/client
    creating build/lib.linux-x86_64-3.8/ovirt_imageio/admin
    copying ovirt_imageio/admin/init.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/admin
    copying ovirt_imageio/admin/_api.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/admin
    copying ovirt_imageio/admin/tool.py -> build/lib.linux-x86_64-3.8/ovirt_imageio/admin
    running build_ext
    building 'ovirt_imageio/_internal/ioutil' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/ovirt_imageio
    creating build/temp.linux-x86_64-3.8/ovirt_imageio/_internal
    gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.8 -c ovirt_imageio/_internal/ioutil.c -o build/temp.linux-x86_64-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.

Additional information

Can you please help me to create ee image

@manneharikrishna
Copy link
Author

ee build log.txt
Attached full build logs for reference

@fosterseth fosterseth transferred this issue from ansible/awx Mar 6, 2024
@fosterseth
Copy link
Member

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants