Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39928

Fix GitLab CI centos9 job fail

    XMLWordPrintable

Details

    • Not for Release Notes

    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.

      Error:

      $ 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.8 MB/s | 698 kB     00:00    
      CentOS Stream 9 - AppStream - Source            2.6 MB/s | 1.4 MB     00:00    
      CentOS Stream 9 - Extras packages - Source       46 kB/s |  15 kB     00:00    
      Extra Packages for Enterprise Linux 9 - x86_64   15 MB/s | 4.3 MB     00:00    
      Extra Packages for Enterprise Linux 9 openh264  4.2 kB/s | 1.2 kB     00:00    
      no package matched: mariadb-server
      Error: Some packages could not be found.
      

      This affects all branches that define the centos9 job (main, 11.4, 11.8, 12.3).

      The fix could be to replace yum-builddep with explicit package installation of the required build dependencies.

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              farihais Fariha Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.