rabbitmq / erlang-rpm

Latest Erlang/OTP releases packaged as a zero dependency RPM, just enough for running RabbitMQ
https://rabbitmq.com/install-rpm.html
Other
549 stars 117 forks source link

Investigate if Amazon Linux 2023 can be supported #116

Closed michaelklishin closed 1 year ago

michaelklishin commented 1 year ago

Is your feature request related to a problem? Please describe.

Amazon Linux 2023 claims to be Fedora-based (if we simplify).

These days Fedora provides very recent Erlang packages in their standard repositories, so I thought we wouldn't need to do anything specifically for Amazon Linux 2023. See #115 for some background.

Fedora-based in Spirit

An attempt to use Fedora packages on Amazon Linux 2023 (ARM64) in Docker, such as

dnf install -y https://kojipkgs.fedoraproject.org//packages/erlang/25.3/1.fc37/aarch64/erlang-erts-25.3-1.fc37.aarch64.rpm

Lead to a few unfortunate discoveries:

Describe the solution you'd like

We should investigate if this package could be built on Amazon Linux 2023. If this takes more than a few hours, we can close this as a wontfix because we don't have the resources to do distribution maintainers' job (and Erlang/OTP core team's job to some extent).

Describe alternatives you've considered

Using Fedora 37+ packages. it did not work.

Additional context

No response

michaelklishin commented 1 year ago

Here is an example ARM64 RPM produced in Docker on an ARM 64 host with the changes from #119.

The file is a .zip because GitHub does not allow .rpm file uploads.

erlang-25.3-1.amzn2023.aarch64.rpm.zip