Learn about Centmin Mod LEMP Stack today
Register Now

Almalinux8 132.00stable with PHP 8.3 : MariaDB mirror issue + missing libffi-devel

Discussion in 'Bug Reports' started by Benjamin74, Aug 21, 2026 at 3:43 AM.

  1. Benjamin74

    Benjamin74 Member

    78
    8
    8
    May 2, 2016
    Ratings:
    +19
    Local Time:
    10:52 AM
    Hello !

    My brand new installation (couple hours ago) at Hetzner went south, here is what I found in the logs:

    Fresh AlmaLinux 8.10 install (132.00stable.b185) — 2 install-breaking issues

    Just did a clean CentminMod install on AlmaLinux 8.10 and hit two separate failures. Logs checked in /root/centminlogs/. Posting in case others hit the same.


    1. MariaDB never installs — yum.mariadb.org repo returns 404

      The generated /etc/yum.repos.d/mariadb.repo points at baseurl = https://yum.mariadb.org/10.6/centos8-amd64, which redirects to mirror.mariadb.org, and that path 404s:

      Code:
      Errors during downloading metadata for repository ‘mariadb’:
      
      * Status code: 404 for https://mirror.mariadb.org/yum/10.6/centos8-amd64/repodata/repomd.xml
          Error: Failed to download metadata for repo ‘mariadb’: Cannot download repomd.xml
          
      Verified live with curl — same 404 on both 10.6 and 10.11 paths. Looks like MariaDB’s own mirror infra for this repo layout is down/moved, not a local config typo.

      Result: no mariadb-server package, no mysql binary, service never existed (hence the empty *_mariadb-server-failed-startup.log — nothing ever started to log).
    2. PHP compile fails — missing libffi-devel

      PHP’s ./configure aborts here:

      Code:
      checking for FFI support… yes
      checking for libffi >= 3.0.11… no
      configure: error: Package requirements (libffi >= 3.0.11) were not met:
      Package ‘libffi’, required by ‘virtual:world’, not found
      
      Box has the runtime libffi-3.1-24.el8 but not libffi-devel. Since configure dies, no Makefile is generated, so the whole PHP build (and everything downstream: php-fpm, memcached PECL ext, etc.) fails in a chain reaction.

    I suppose @eva2000 had a really good reason to hardcode the MariaDB link and no clue why my almalinux is missing a library (maybe it's hetzner almalinux image?).

    Have a good day and thanks for the work on CMM, it almost always installs flawlessly !
     
  2. Benjamin74

    Benjamin74 Member

    78
    8
    8
    May 2, 2016
    Ratings:
    +19
    Local Time:
    10:52 AM
    Not too sure but maybe the mariaDB (for almalinux8) should be this URL nowadays(?):

    Index of /yum/10.6/almalinux8-amd64/

    Also it looks like the libffi-devel issue is actually a consequence of the "moved" repo error.
     
  3. eva2000

    eva2000 Administrator Staff Member

    59,560
    12,539
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,180
    Local Time:
    6:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  4. eva2000

    eva2000 Administrator Staff Member

    59,560
    12,539
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,180
    Local Time:
    6:52 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Thanks for the bug report. Just pushed out a fix for 132.00stable, 140.00beta01 and 141.00beta01. Another bug squashed :D

    Reload fresh operating system AlmaLinux 8 and try Centmin Mod install again and let me know how it goes. Right now 132.00stable defaults to MariaDB 10.6, and probably decide how to handle it's MariaDB 10.6 EOL run. Most likely time to promote 140.00beta01 to a new stable so it defaults to MariaDB 10.11 LTS