Could not compile dependency :syslog
fresh installation attempt, happens on both stable and develop
:/opt/churro# sudo -Hu churro MIX_ENV=prod mix pleroma.instance gen
warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen`
Could not find "rebar3", which is needed to build dependency :syslog
I can install a local copy which is just used by Mix
Shall I install rebar3? (if running non-interactively, use "mix local.rebar --force") [Yn]
* creating /var/lib/churro/.mix/rebar
* creating /var/lib/churro/.mix/rebar3
===> Compiling syslog
===> Linking /opt/churro/_build/prod/lib/syslog/priv/syslog_drv.so
===> Missing artifact priv/syslog_drv.so
** (Mix) Could not compile dependency :syslog, "/var/lib/churro/.mix/rebar3 bare compile --paths /opt/churro/_build/prod/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"
output of dumpfile:
:/opt/churro# cat rebar3.crashdump
Error: {badmatch,[]}
[]
ubuntu 20.04 erlang 1:23.3.1-1 elixir 1.11.2-1
Edited by Moon Man