Pleroma won't compile with OTP 24 (syslog, again)
EDIT: A fix for this problem is here: https://gitlab.com/-/snippets/2121092
#1845 (closed) is looking very familiar
➜ soapbox git:(blurhash) ✗ elixir -v Erlang/OTP 24 [erts-12.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [jit] Elixir 1.11.2 (compiled with Erlang/OTP 23) ➜ soapbox git:(blurhash) ✗ mix compile ===> Analyzing applications... ===> Compiling syslog ===> Missing artifact priv/syslog_drv.so ** (Mix) Could not compile dependency :syslog, "/home/alex/.mix/rebar3 bare compile --paths /home/alex/Projects/soapbox/_build/dev/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile syslog", update it with "mix deps.update syslog" or clean it with "mix deps.clean syslog"
I managed to update mix and rebar:
mix local.rebar mix local.hex
I ended up having to download the nightly version of rebar:
wget https://s3.amazonaws.com/rebar3-nightly/rebar3 mix local.rebar rebar3 ./rebar3
Finally it brings us to the error above.
I opened an issue with syslog: https://github.com/Vagabond/erlang-syslog/issues/40
Downstream issue: https://gitlab.com/soapbox-pub/soapbox/-/issues/15