MDEV-39928 Fix GitLab CI centos9 job failure#5198
Draft
FarihaIS wants to merge 1 commit into
Draft
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
gkodinov
requested changes
Jun 9, 2026
gkodinov
left a comment
Member
There was a problem hiding this comment.
Thank you for your contribution! This is a preliminary review.
I have tried looking into when CentOS9 lost its mariadb server package, but couldn't find anything.
Nevertheless, this sounds like a bug fix to me, so I'd like to request that you rebase this towards 11.8 (this seems to be the earliest release train that has centos 9).
FWIW, 10.11 has CentOS7, but I'm not sure if that one is affected.
The centos9 job uses yum-builddep -y mariadb-server to install build dependencies, but the mariadb-server source package has been removed from CentOS Stream 9 repositories. Replace with explicit installation of the required build dependencies. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The centos9 job in
.gitlab-ci.ymlfails because it usesyum-builddep -y mariadb-serverto install build dependencies, but themariadb-serversource package has been removed from CentOS Stream 9 repositories. This affects all branches that define the centos9 job (main,10.11,11.4,11.8,12.3).Fix:
yum-builddep -y mariadb-servercallRelease Notes
N/A
How can this PR be tested?
Run GitLab CI on this branch and verify the centos9 job passes. The build should complete successfully.
Before this change:
After this change:
Basing the PR against the correct MariaDB version
Copyright
All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.