Skip to content

MDEV-39928 Fix GitLab CI centos9 job failure#5198

Draft
FarihaIS wants to merge 1 commit into
MariaDB:10.11from
FarihaIS:mdev-39928
Draft

MDEV-39928 Fix GitLab CI centos9 job failure#5198
FarihaIS wants to merge 1 commit into
MariaDB:10.11from
FarihaIS:mdev-39928

Conversation

@FarihaIS

@FarihaIS FarihaIS commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Description

The centos9 job in .gitlab-ci.yml fails because it uses yum-builddep -y mariadb-server to install build dependencies, but the mariadb-server source 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:

  • Remove the yum-builddep -y mariadb-server call
  • Replace with explicit installation of the required build dependencies

Release 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:

$ yum-builddep -y mariadb-server
enabling baseos-source repository
enabling appstream-source repository
enabling extras-common-source repository
enabling epel-source repository
enabling epel-cisco-openh264-source repository
CentOS Stream 9 - BaseOS - Source               1.9 MB/s | 698 kB     00:00    
CentOS Stream 9 - AppStream - Source            3.4 MB/s | 1.4 MB     00:00    
CentOS Stream 9 - Extras packages - Source       29 kB/s |  15 kB     00:00    
Extra Packages for Enterprise Linux 9 - x86_64   18 MB/s | 4.3 MB     00:00    
Extra Packages for Enterprise Linux 9 openh264   75  B/s | 1.2 kB     00:15    
no package matched: mariadb-server
Error: Some packages could not be found.

After this change:

Basing the PR against the correct MariaDB version

  • This is a minor fix and the PR is based against the earliest maintained branch in which the bug can be reproduced.

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.

@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@FarihaIS FarihaIS marked this pull request as ready for review June 8, 2026 21:44
@gkodinov gkodinov added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Jun 9, 2026

@gkodinov gkodinov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
@CLAassistant

CLAassistant commented Jun 9, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@FarihaIS FarihaIS changed the base branch from main to 10.11 June 9, 2026 21:00
@FarihaIS FarihaIS marked this pull request as draft June 9, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

3 participants