Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Issues
  • #2647
Closed
Open
Issue created May 14, 2021 by Alex Gleason@alexgleasonContributor

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

Edited May 23, 2021 by Alex Gleason
Assignee
Assign to
Time tracking