From 4443dda1d040c2cc93bb181e37895b5b3634eb70 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Mon, 11 Mar 2024 17:51:03 +0000 Subject: [PATCH] ducktape: temp fix for erlang 26.2.3 arm (cherry picked from commit 20d9f9fbb8b24a87e8086e4923ad58b19b709b84) --- tests/docker/ducktape-deps/ocsf-server | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/docker/ducktape-deps/ocsf-server b/tests/docker/ducktape-deps/ocsf-server index d6b6a96e15b64..e60aa528fc981 100644 --- a/tests/docker/ducktape-deps/ocsf-server +++ b/tests/docker/ducktape-deps/ocsf-server @@ -25,6 +25,13 @@ apt-get install -qq elixir erlang-dev erlang-xmerl mix local.hex --force && mix local.rebar --force pushd /opt/ocsf-server + +# temporary workaround for erlang 26.2.3 arm core dump +# https://github.com/erlang/otp/issues/8238#issuecomment-1987173291 +if [ $(uname -m) = "aarch64" ]; then + MIX_ENV=prod mix archive.install --force github hexpm/hex branch latest +fi + ./build_server.sh # The following is required because the server attempts to write logs # to the `dist/tmp` directory. This is fine in docker ducktape as the user