Warnings and issues apeparing on Debian Buster 10.0 during installation
Debian Buster 10.0 is pretty recent, and Pleroma shall be so tuned that it fits to popular VPS operating systems. As if you make it installable only for power users, who know how to build all kinds of packages, it will gain less distribution. I can, but I would not like to install so many dependencies, I like opening up VPS and installing it fast. Please rethink about making dependencies that are growing out of the pretty standard or popular distributions of GNU/Linux operating systems on the common VPS providers.
$ cd pleroma
$ mix deps.compile gettext
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
==> gettext
Compiling 1 file (.yrl)
Compiling 1 file (.erl)
Compiling 20 files (.ex)
Generated gettext app
$ mix deps.get
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
Resolving Hex dependencies...
Dependency resolution completed:
Unchanged:
accept 0.3.5
base64url 0.0.1
bbcode 0.1.1
benchee 1.0.1
bunt 0.2.0
cachex 3.0.3
calendar 0.17.6
certifi 2.5.1
combine 0.10.0
comeonin 4.1.2
connection 1.0.4
cors_plug 1.5.2
cowboy 2.6.3
cowlib 2.7.3
credo 0.9.3
crontab 1.1.7
db_connection 2.0.6
decimal 1.8.0
deep_merge 1.0.0
earmark 1.3.2
ecto 3.1.4
ecto_sql 3.1.3
esshd 0.1.0
eternal 1.2.0
ex2ms 1.5.0
ex_aws 2.1.0
ex_aws_s3 2.0.1
ex_const 0.2.4
ex_doc 0.20.2
ex_machina 2.3.0
ex_rated 1.3.3
excoveralls 0.11.1
floki 0.20.4
gen_smtp 0.14.0
gettext 0.17.0
hackney 1.15.1
html_entities 0.4.0
html_sanitize_ex 1.3.0
httpoison 1.2.0
idna 6.0.0
jason 1.1.2
joken 2.0.1
jose 1.9.0
makeup 0.8.0
makeup_elixir 0.13.0
meck 0.8.13
metrics 1.0.1
mime 1.3.1
mimerl 1.2.0
mochiweb 2.18.0
mock 0.3.3
mogrify 0.6.1
mox 0.5.1
nimble_parsec 0.5.0
parse_trans 3.3.0
pbkdf2_elixir 0.12.3
phoenix 1.4.9
phoenix_ecto 4.0.0
phoenix_html 2.13.1
phoenix_pubsub 1.1.2
phoenix_swoosh 0.2.0
pleroma_job_queue 0.3.0
plug 1.8.2
plug_cowboy 2.1.0
plug_crypto 1.0.0
plug_static_index_html 1.0.0
poison 3.1.0
postgrex 0.14.3
prometheus 4.4.1
prometheus_ecto 1.4.1
prometheus_ex 3.0.5
prometheus_phoenix 1.3.0
prometheus_plugs 1.1.5
quack 0.1.1
ranch 1.7.1
ssl_verify_fun 1.1.4
sweet_xml 0.6.6
swoosh 0.23.2
telemetry 0.4.0
tesla 1.2.1
timex 3.6.1
trailing_format_plug 0.0.7
tzdata 1.0.1
ueberauth 0.6.1
unicode_util_compat 0.4.1
unsafe 1.0.1
web_push_encryption 0.2.1
All dependencies up to date
$ $ mix generate_config
C-c C-c
$ mix generate_config
!!! RUNNING IN LOCALHOST DEV MODE! !!!
FEDERATION WON'T WORK UNTIL YOU CONFIGURE A dev.secret.exs
==> deep_merge
Compiling 2 files (.ex)
Generated deep_merge app
==> jose
Compiling 90 files (.erl)
Compiling 8 files (.ex)
warning: function Poison.EncodeError.exception/1 is undefined (module Poison.EncodeError is not available)
lib/jose/poison/lexical_encoder.ex:8
Generated jose app
==> benchee
Compiling 39 files (.ex)
Generated benchee app
===> Fetching pc ({git,"git://github.com/blt/port_compiler.git",{tag,"1.6.0"}})
===> Compiling pc
===> Compiling syslog
===> Compiling c_src/syslog_drv.c
===> Linking priv/syslog_drv.so
===> Compiling ranch
===> Compiling telemetry
==> decimal
Compiling 1 file (.ex)
Generated decimal app
warning: found quoted keyword "docs" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them
/home/pleroma/pleroma/deps/eternal/mix.exs:38
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them
/home/pleroma/pleroma/deps/eternal/mix.exs:39
==> eternal
Compiling 5 files (.ex)
Generated eternal app
==> cachex
Compiling 51 files (.ex)
warning: "not expr1 in expr2" is deprecated. Instead use "expr1 not in expr2" if you require Elixir v1.5+, or "not(expr1 in expr2)" if you have to support earlier Elixir versions
lib/cachex/policy/lrw.ex:108
Generated cachex app
==> comeonin
Compiling 2 files (.ex)
Generated comeonin app
warning: String.strip/1 is deprecated. Use String.trim/1 instead
/home/pleroma/pleroma/deps/poison/mix.exs:4
==> poison
Compiling 4 files (.ex)
warning: Integer.to_char_list/2 is deprecated. Use Integer.to_charlist/2 instead
lib/poison/encoder.ex:173
Generated poison app
==> ex_syslogger
Compiling 2 files (.ex)
Generated ex_syslogger app
==> jason
Compiling 8 files (.ex)
Generated jason app
===> Compiling recon
==> ssl_verify_fun
Compiling 7 files (.erl)
Generated ssl_verify_fun app
===> Compiling gen_smtp
src/smtp_socket.erl:126: Warning: ssl:ssl_accept/1: deprecated; use ssl:handshake/1 instead
src/smtp_socket.erl:235: Warning: ssl:ssl_accept/3: deprecated; use ssl:handshake/3 instead
src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
src/smtp_util.erl:71: Warning: crypto:rand_uniform/2 is deprecated and will be removed in a future release; use rand:uniform/1
==> html_entities
Compiling 2 files (.ex)
Generated html_entities app
==> prometheus
Compiling 28 files (.erl)
Generated prometheus app
==> prometheus_ex
Compiling 19 files (.ex)
Generated prometheus_ex app
==> ex_const
Compiling 1 file (.ex)
Generated ex_const app
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted, and quotes should only be used to introduce keywords with foreign characters in them
/home/pleroma/pleroma/deps/esshd/mix.exs:23
==> esshd
Compiling 10 files (.ex)
warning: @behaviour :ssh_server_key_api does not exist (in module Sshd.KeyAuthentication)
lib/esshd/key_authentication.ex:1
warning: function :ssh.daemon/2 is undefined (module :ssh is not available)
lib/esshd/server.ex:54
warning: function :ssh.default_algorithms/0 is undefined (module :ssh is not available)
lib/esshd/server.ex:52
Generated esshd app
==> combine
Compiling 6 files (.ex)
Generated combine app
==> bbcode
Compiling 3 files (.ex)
Generated bbcode app
==> mogrify
Compiling 9 files (.ex)
Generated mogrify app
===> Compiling certifi
===> Compiling hackney
==> tzdata
warning: the dependency :tzdata requires Elixir "~> 1.8" but you are running on v1.7.4
Compiling 15 files (.ex)
warning: @behaviour Calendar.TimeZoneDatabase does not exist (in module Tzdata.TimeZoneDatabase)
lib/tzdata/time_zone_database.ex:1
warning: got "@impl true" for function time_zone_period_from_utc_iso_days/2 but no behaviour specifies such callback. There are no known callbacks, please specify the proper @behaviour and make sure it defines callbacks
lib/tzdata/time_zone_database.ex:10
warning: got "@impl true" for function time_zone_periods_from_wall_datetime/2 but no behaviour specifies such callback. There are no known callbacks, please specify the proper @behaviour and make sure it defines callbacks
lib/tzdata/time_zone_database.ex:28
Generated tzdata app
==> calendar
Compiling 20 files (.ex)
Generated calendar app
==> timex
Compiling 58 files (.ex)
Generated timex app
==> earmark
Compiling 1 file (.yrl)
Compiling 2 files (.xrl)
Compiling 3 files (.erl)
Compiling 24 files (.ex)
Generated earmark app
==> sweet_xml
Compiling 1 file (.ex)
Generated sweet_xml app
==> ex_aws
Compiling 25 files (.ex)
Generated ex_aws app
==> ex_aws_s3
Compiling 7 files (.ex)
warning: Stream.chunk/4 is deprecated. Use Stream.chunk_every/4 instead
lib/ex_aws/s3/delete_all_objects.ex:34
Generated ex_aws_s3 app
==> db_connection
Compiling 16 files (.ex)
Generated db_connection app
==> httpoison
Compiling 2 files (.ex)
Generated httpoison app
==> web_push_encryption
Compiling 6 files (.ex)
Generated web_push_encryption app
==> credo
Compiling 178 files (.ex)
Generated credo app
==> ecto
Compiling 54 files (.ex)
Generated ecto app
==> crontab
Compiling 7 files (.ex)
Generated crontab app
==> makeup_elixir
Compiling 4 files (.ex)
Generated makeup_elixir app
==> ex_doc
Compiling 19 files (.ex)
Generated ex_doc app
==> phoenix_pubsub
Compiling 13 files (.ex)
Generated phoenix_pubsub app
===> Compiling mochiweb
src/mochiweb_socket.erl:91: Warning: ssl:ssl_accept/2: deprecated; use ssl:handshake/2 instead
==> html_sanitize_ex
Compiling 11 files (.ex)
Generated html_sanitize_ex app
==> floki
Compiling 1 file (.xrl)
Compiling 1 file (.erl)
Compiling 21 files (.ex)
Generated floki app
===> Compiling cowlib
===> Compiling cowboy
==> http_signatures
Compiling 2 files (.ex)
Generated http_signatures app
===> Compiling crypt
make: Entering directory '/home/pleroma/pleroma/deps/crypt/c_src'
cc -DHAVE_CRYPT_R -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes -fPIC -I /usr/lib/erlang/erts-10.2.4/include/ -I /usr/lib/erlang/lib/erl_interface-3.10.4/include -c -o /home/pleroma/pleroma/deps/crypt/c_src/crypt.o /home/pleroma/pleroma/deps/crypt/c_src/crypt.c
/home/pleroma/pleroma/deps/crypt/c_src/crypt.c:51:9: note: #pragma message: using crypt_r
#pragma message "using crypt_r"
^~~~~~~
cc /home/pleroma/pleroma/deps/crypt/c_src/crypt.o -lpthread -lcrypt -shared -L /usr/lib/erlang/lib/erl_interface-3.10.4/lib -lerl_interface -lei -o /home/pleroma/pleroma/deps/crypt/c_src/../priv/crypt.so
make: Leaving directory '/home/pleroma/pleroma/deps/crypt/c_src'
==> ex_rated
Compiling 3 files (.ex)
Generated ex_rated app
===> Package rebar3_archive_plugin-0.0.2 not found. Fetching registry updates and trying again...
===> Updating package registry...
===> Writing registry to /home/pleroma/.cache/rebar3/hex/default/registry
===> Generating package index...
===> Writing index to /home/pleroma/.cache/rebar3/hex/default/packages.idx
===> Fetching rebar3_archive_plugin ({pkg,<<"rebar3_archive_plugin">>,
<<"0.0.2">>})
===> Downloaded package, caching at /home/pleroma/.cache/rebar3/hex/default/packages/rebar3_archive_plugin-0.0.2.tar
===> Fetching rebar3_elvis_plugin ({git,
"https://github.com/deadtrickster/rebar3_elvis_plugin.git",
"master"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Fetching katana_code ({pkg,<<"katana_code">>,<<"0.1.0">>})
===> Downloaded package, caching at /home/pleroma/.cache/rebar3/hex/default/packages/katana_code-0.1.0.tar
===> Fetching zipper ({pkg,<<"zipper">>,<<"1.0.1">>})
===> Downloaded package, caching at /home/pleroma/.cache/rebar3/hex/default/packages/zipper-1.0.1.tar
===> Fetching aleppo ({pkg,<<"inaka_aleppo">>,<<"1.0.0">>})
===> Downloaded package, caching at /home/pleroma/.cache/rebar3/hex/default/packages/inaka_aleppo-1.0.0.tar
===> Compiling aleppo
_build/default/plugins/aleppo/src/aleppo.erl:6: Warning: record ale_context has field(s) without type information
_build/default/plugins/aleppo/src/aleppo.erl:12: Warning: missing specification for function process_file/1
_build/default/plugins/aleppo/src/aleppo.erl:15: Warning: missing specification for function process_file/2
_build/default/plugins/aleppo/src/aleppo.erl:25: Warning: missing specification for function process_tokens/1
_build/default/plugins/aleppo/src/aleppo.erl:32: Warning: missing specification for function process_tokens/2
_build/default/plugins/aleppo/src/aleppo.erl:307: Warning: missing specification for function scan_file/1
===> Compiling zipper
===> Compiling katana_code
===> Compiling rebar3_elvis_plugin
===> Compiling rebar3_archive_plugin
===> Compiling accept
==> mime
Compiling 2 files (.ex)
warning: this clause cannot match because a previous clause at line 2 always matches
lib/mime.ex:2
warning: this clause cannot match because a previous clause at line 2 always matches
lib/mime.ex:2
warning: this clause cannot match because a previous clause at line 2 always matches
lib/mime.ex:2
warning: this clause cannot match because a previous clause at line 2 always matches
lib/mime.ex:2
Generated mime app
==> tesla
Compiling 23 files (.ex)
Generated tesla app
==> quack
Compiling 6 files (.ex)
Generated quack app
==> pleroma_job_queue
Compiling 7 files (.ex)
Generated pleroma_job_queue app
==> postgrex
Compiling 61 files (.ex)
Generated postgrex app
==> ecto_sql
Compiling 25 files (.ex)
Generated ecto_sql app
==> joken
Compiling 7 files (.ex)
Generated joken app
==> plug_crypto
Compiling 4 files (.ex)
Generated plug_crypto app
==> plug
Compiling 1 file (.erl)
Compiling 39 files (.ex)
warning: System.stacktrace/0 outside of rescue/catch clauses is deprecated. If you want to support only Elixir v1.7+, you must access __STACKTRACE__ inside a rescue/catch. If you want to support earlier Elixir versions, move System.stacktrace/0 inside a rescue/catch
lib/plug/conn/wrapper_error.ex:23
Generated plug app
==> plug_cowboy
Compiling 6 files (.ex)
Generated plug_cowboy app
==> phoenix
Compiling 67 files (.ex)
Generated phoenix app
==> prometheus_phoenix
Compiling 1 file (.ex)
Generated prometheus_phoenix app
==> swoosh
Compiling 32 files (.ex)
Generated swoosh app
==> trailing_format_plug
Compiling 1 file (.ex)
Generated trailing_format_plug app
==> phoenix_html
Compiling 8 files (.ex)
Generated phoenix_html app
==> phoenix_swoosh
Compiling 1 file (.ex)
Generated phoenix_swoosh app
==> cors_plug
Compiling 1 file (.ex)
Generated cors_plug app
==> ueberauth
Compiling 9 files (.ex)
Generated ueberauth app
==> prometheus_plugs
Compiling 3 files (.ex)
Generated prometheus_plugs app
==> plug_static_index_html
Compiling 1 file (.ex)
Generated plug_static_index_html app
==> phoenix_ecto
Compiling 6 files (.ex)
Generated phoenix_ecto app
==> prometheus_ecto
Compiling 1 file (.ex)
Generated prometheus_ecto app
==> pleroma
Compiling 254 files (.ex)
Compiling lib/pleroma/scheduled_activity_worker.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/views/user_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/views/object_view.ex (it's taking more than 15s)
Compiling lib/pleroma/plugs/set_user_session_id_plug.ex (it's taking more than 15s)
Compiling lib/pleroma/web/websub/websub_client_subscription.ex (it's taking more than 15s)
Compiling lib/pleroma/web/admin_api/views/config_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/conversation_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/twitter_api/twitter_api_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/media_proxy/media_proxy_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/mention_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/user_allowlist_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/no_placeholder_text_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/list_view.ex (it's taking more than 15s)
Compiling lib/pleroma/plugs/rate_limiter.ex (it's taking more than 15s)
Compiling lib/pleroma/plugs/ensure_authenticated_plug.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/web/auth/pleroma_authenticator.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/drop_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/signature.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/utils.ex (it's taking more than 15s)
Compiling lib/pleroma/password_reset_token.ex (it's taking more than 15s)
Compiling lib/pleroma/notification.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/activity_pub_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/channels/user_socket.ex (it's taking more than 15s)
Compiling lib/pleroma/web/activity_pub/mrf/tag_policy.ex (it's taking more than 15s)
Compiling lib/pleroma/web/auth/ldap_authenticator.ex (it's taking more than 15s)
Compiling lib/pleroma/web/views/mailer/subscription_view.ex (it's taking more than 15s)
Compiling lib/pleroma/plugs/legacy_authentication_plug.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/account_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/federator/publisher.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/app_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/twitter_api/views/password_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/mastodon_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/oauth/fallback_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/filter_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/subscription_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/views/error_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/websub/websub.ex (it's taking more than 15s)
Compiling lib/pleroma/web/uploader_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/mastodon_api_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mongooseim/mongoose_im_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/admin_api/views/account_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/controller_helper.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/scheduled_activity_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/status_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/twitter_api/controllers/password_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/web_finger/web_finger_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/oauth/oauth_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/views/layout_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/websub/websub_controller.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/push_subscription_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/twitter_api/views/activity_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/twitter_api/views/user_view.ex (it's taking more than 15s)
Compiling lib/pleroma/web/mastodon_api/views/notification_view.ex (it's taking more than 15s)
Generated pleroma app
** (Mix) The task "generate_config" could not be found
$