Replies: 7 comments 1 reply
-
We do not maintain Erlang/OTP, so either it is a problem with systemd detection in We do not maintain Erlang/OTP and don't have the time to investigate Erlang build failures. |
Beta Was this translation helpful? Give feedback.
-
Some 6-12 months ago someone from (IIRC) Red Hat set up a Fedora Copr builds for ARM64 based on this packages but official Fedora Erlang images do not list arm64 as a platform. It could be a package directory website limitation. However, for Fedora-based distributions such as Amazon Linux 2023, using The Erlang and Elixir packages are up-to-date, and the broader Fedora community is many orders of |
Beta Was this translation helpful? Give feedback.
-
An attempt to use Fedora packages on Amazon Linux 2023 (ARM64) in Docker, such as
Lead to a few unfortunate discoveries:
So it is Fedora-based mostly in spirit. |
Beta Was this translation helpful? Give feedback.
-
With #117, this RPM builds successfully on at least one target OS on ARM64: Fedora 38. |
Beta Was this translation helpful? Give feedback.
-
Here is an example ARM64 RPM produced in Docker on an ARM 64 host. You will need to use #119 or wait for it to be merged (assuming the changes work for Fedora, CentOS Stream as well). The file is a .zip because GitHub does not allow .rpm file uploads. |
Beta Was this translation helpful? Give feedback.
-
25.3 is the first release with aarch64 packages provided in binary form. As of #119, anyone with an ARM64 host and Docker installed can build aarm64 versions of this package aarch64 packages are not built by automatic pipelines, so I'd have to trigger their builds on my ARM64 host every so often (perhaps not for every patch release). Most importantly, #119 proves that the package did not have any aarch64 incompatibilities, it was a matter of modernizing the spec a bit and automating Docker builds for non-CentOS Stream distributions. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When I try to build on ARM based Amazon Linux 2, the following error is dropped:
checking for systemd/sd-daemon.h... no
configure: error: in /tmp/erlang-rpm-25.3/BUILD/otp-OTP-25.3/erts': configure: error: --enable-systemd was given, but test for systemd failed See config.log' for more details
ERROR: /tmp/erlang-rpm-25.3/BUILD/otp-OTP-25.3/erts/configure failed!
./configure: line 370: kill: (-39330) - No such process
D: waitpid(39138) rc 39138 status 100
D: /bin/sh failed: 100
error: Bad exit status from /tmp/erlang-rpm-25.3/tmp/rpm-tmp.RtzobR (%build)
RPM build errors:
line 54: It's not recommended to have unversioned Obsoletes: Obsoletes: erlang-docbuilder
Bad exit status from /tmp/erlang-rpm-25.3/tmp/rpm-tmp.RtzobR (%build)
ufdio: 1 reads, 17654 total bytes in 0.000011 secs
ufdio: 1 reads, 5707 total bytes in 0.000003 secs
ufdio: 1 reads, 17654 total bytes in 0.000002 secs
make: *** [Makefile:51: erlang] Error 1
Reproduction steps
Expected behavior
To get Erlang built and ready to be used by RabbitMQ
Additional context
Want to install and use RabbitMQ on ARM based Amazon Linux 2023 server
cat /etc/os-release
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"
Beta Was this translation helpful? Give feedback.
All reactions