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

Fix for GitHub Actions failing for GCC build tools #23

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

jpshivakavi
Copy link
Contributor

GitHub Actions failing for GCC build tools

Ref: #22

GitHub actions for the GCC build is failing with an error saying
'python3-distutils has no installation candidate'.
This package is not available in the ubuntu package version 24.04.
The action has been set to runs on ubuntu-latest which was using 22.04
version earlier has switched to use 24.04 version since last 2 days.
So to fix the issue updated the runs on parameter in .yaml file
to use 22.04 version of ubuntu.

Signed-off-by: Jayaprakash N [email protected]

GitHub Actions failing for GCC build tools

Ref: tianocore#22

GitHub actions for the GCC build is failing with an error saying
'python3-distutils has no installation candidate'.
This package is not available in the ubunutu package version 24.04.
The action has been set to runs on ubuntu-latest which was using 22.04
version earlier has switched to use 24.04 version since last 2 days.
So to fix the issue updated the runs on parameter in .yaml file
to use 22.04 version of ubuntu.

Signed-off-by: Jayaprakash N <[email protected]>
@JohnAZoidberg
Copy link

Can we use sudo apt install python3-setuptools instead, as suggested here https://stackoverflow.com/questions/78438738/how-to-install-python3-distutils-on-ubuntu-24-04?

@jpshivakavi
Copy link
Contributor Author

Can we use sudo apt install python3-setuptools instead, as suggested here https://stackoverflow.com/questions/78438738/how-to-install-python3-distutils-on-ubuntu-24-04?

It needs full testing of the build with Ubuntu-24-04 version of the OS. I am planning to take it up through another issue.

@jpshivakavi
Copy link
Contributor Author

@mdkinney @bexcran
Please review and approve. Its a very simple change.

@bexcran
Copy link
Contributor

bexcran commented Dec 16, 2024

Thanks. I've been wary of the decision to run on ubuntu-latest for a long time because things can change under us.

@jpshivakavi jpshivakavi merged commit 2cc0f4d into tianocore:master Dec 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants