Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate if Amazon Linux 2023 can be supported #116

Closed
michaelklishin opened this issue Apr 7, 2023 · 1 comment · Fixed by #119
Closed

Investigate if Amazon Linux 2023 can be supported #116

michaelklishin opened this issue Apr 7, 2023 · 1 comment · Fixed by #119
Assignees

Comments

@michaelklishin
Copy link
Member

michaelklishin commented Apr 7, 2023

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:

  • AL2023 only provides OpenSSL 3.0, which Erlang 25.3 is technically compatible with but there are nuances
  • AL2023 does not provide Erlang packages in its main repo, so it is not Fedora-based but CentOS-based in practice
  • AL2023 does not satisfy a few Erlang

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 michaelklishin self-assigned this Apr 7, 2023
michaelklishin added a commit that referenced this issue Apr 7, 2023
michaelklishin added a commit that referenced this issue Apr 7, 2023
 * Do not download Erlang/OTP source tarball if it is present locally
 * Makefile: pre-install build dependencies
@michaelklishin
Copy link
Member Author

michaelklishin commented Apr 7, 2023

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

@michaelklishin michaelklishin changed the title Investigate if Amazon Linux 2023 support Investigate if Amazon Linux 2023 can be supported Apr 7, 2023
michaelklishin added a commit that referenced this issue Apr 26, 2023
(cherry picked from commit 6500371)
michaelklishin added a commit that referenced this issue Apr 26, 2023
 * Do not download Erlang/OTP source tarball if it is present locally
 * Makefile: pre-install build dependencies

(cherry picked from commit 432380c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant