Skip to content

Docker bootstrap script fails on MariaDB version 11.4.2 has been removed from mirror.mariadb.org #425

@dorinand

Description

@dorinand

It looks like the MariaDB 11.4.2-1.fc38 RPM is no longer available on the mirror, leading to a 404 Not Found error when downloading the package. The issue originates in bootstrap.sh when attempting to fetch the outdated package.

https://github.com/aws/aws-mwaa-local-runner/blob/v2.10.1/docker/script/bootstrap.sh#L56

68.02 + wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-common-11.4.2-1.fc38.aarch64.rpm -P /mariadb_rpm
68.03 --2025-02-04 23:33:28--  https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-common-11.4.2-1.fc38.aarch64.rpm
68.06 Resolving mirror.mariadb.org (mirror.mariadb.org)... 162.55.42.214, 2a01:4f8:1c17:e53d::1
68.06 Connecting to mirror.mariadb.org (mirror.mariadb.org)|162.55.42.214|:443... connected.
68.13 HTTP request sent, awaiting response... 302 Found
68.17 Location: https://mirror.its.dal.ca/mariadb/mariadb-11.4.5/yum/fedora/38/aarch64/rpms/MariaDB-common-11.4.2-1.fc38.aarch64.rpm [following]
68.17 --2025-02-04 23:33:28--  https://mirror.its.dal.ca/mariadb/mariadb-11.4.5/yum/fedora/38/aarch64/rpms/MariaDB-common-11.4.2-1.fc38.aarch64.rpm
68.17 Resolving mirror.its.dal.ca (mirror.its.dal.ca)... 192.75.96.254
68.17 Connecting to mirror.its.dal.ca (mirror.its.dal.ca)|192.75.96.254|:443... connected.
68.48 HTTP request sent, awaiting response... 404 Not Found
68.60 2025-02-04 23:33:29 ERROR 404: Not Found.
68.60
------
Dockerfile:35
--------------------
  33 |
  34 |     RUN chmod u+x /systemlibs.sh && /systemlibs.sh
  35 | >>> RUN chmod u+x /bootstrap.sh && /bootstrap.sh
  36 |     RUN chmod u+x /generate_key.sh && /generate_key.sh
  37 |     RUN chmod u+x /run-startup.sh
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod u+x /bootstrap.sh && /bootstrap.sh" did not complete successfully: exit code: 8

I checked https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-common-11.4.2-1.fc38.aarch64.rpm and it returnss 404 Not Found.

I can build it with 11.4.3-1.fc38:

if [[ $(uname -p) == "aarch64" ]]; then
  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-common-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-shared-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.4/fedora38-aarch64/rpms/MariaDB-devel-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
else
  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-common-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-shared-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
  wget https://mirror.mariadb.org/yum/11.4/fedora38-amd64/rpms/MariaDB-devel-11.4.3-1.fc38.$(uname -p).rpm -P /mariadb_rpm
fi

Similar to #409

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions