Skip to content

VCARD Ldap Crash #3782

Answered by badlop
mixman68 asked this question in Questions
Feb 23, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Aha!

The lib module was removed in OTP 21.0 (stdlib 3.5) erlang/otp#1786 as documented in https://www.erlang.org/doc/apps/stdlib/notes.html#stdlib-3.5

And the formatting options were moved to erl_error erlang/otp@a71c186

In ejabberd, the availability of erl_error is checked at compile time in rebar.config when using rebar2/rebar3, or in mix.exs when using Elixir's mix (and that's the case of the ejabberd docker image).

The bug was introduced in mix.exs in 8d8a317 That new line should have ++ at the end, so the next line gets added.

I've now fixed this in 7381b9d and then rewrote the workaround detection in f721374

Thanks for reporting!

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mixman68
Comment options

Comment options

You must be logged in to vote
2 replies
@mixman68
Comment options

@badlop
Comment options

Answer selected by mixman68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants