angristan/docker-pleroma

Unable to build Pleroma on latest develop commit

Open

#35 opened on Oct 15, 2021

View on GitHub
 (7 comments) (1 reaction) (0 assignees)Elixir (82 forks)github user discovery
help wanted

Repository metrics

Stars
 (376 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Pleroma build fails seemingly stating a missing dependency "crypt".

Generated http_signatures app
make: Entering directory '/pleroma/deps/crypt/c_src'
cc -DHAVE_CRYPT_R -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -pedantic -fwrapv -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -fPIC -I /usr/local/lib/erlang/erts-11.2.2.6/include/ -c -o /pleroma/deps/crypt/c_src/explicit_bzero.o /pleroma/deps/crypt/c_src/explicit_bzero.c
/pleroma/deps/crypt/c_src/explicit_bzero.c:35:54: error: 'bzero' undeclared here (not in a function)
   35 | static void (* volatile ssh_bzero)(void *, size_t) = bzero;
      |                                                      ^~~~~
make: *** [Makefile:61: /pleroma/deps/crypt/c_src/explicit_bzero.o] Error 1
make: Leaving directory '/pleroma/deps/crypt/c_src'
===> Hook for compile failed!

==> pleroma
** (Mix) Could not compile dependency :crypt, "/pleroma/.mix/rebar3 bare compile --paths="/pleroma/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile crypt", update it with "mix deps.update crypt" or clean it with "mix deps.clean crypt"
The command '/bin/sh -c mix local.rebar --force     && mix local.hex --force     && mix deps.get     && mix compile' returned a non-zero code: 1

Contributor guide