Package: ejabberd
Version: 16.03-1~bpo8+1
Severity: normal

The sqlite support of ejabberd is broken with the package of
erlang-sqlite3 currently available in debian: Version 1.1.4 of
erlang-sqlite3 doesn't contain the function sqlite3:changes, which is
used by ejabberd.

This results in error messages like:

2016-06-23 10:13:11.279 [error] <0.377.0> gen_fsm <0.377.0> in state 
session_established terminated with reason: call to undefined function 
sqlite3:changes('ejabberd_sqlite_[...]')

sqlite3:changes was added on Mar 15, 2015 in commit 84cd542 to
https://github.com/alexeyr/erlang-sqlite3/, but release 1.1.4 is older
than that (Oct 17, 2014).

A more recent release, 1.1.5 from Jan 22, 2016, is available at
https://github.com/processone/erlang-sqlite3/. Not sure if this is an
'official' release and who is the proper upstream for erlang-sqlite3,
but as processone is upstream for ejabberd, and ejabberd is the only
reverse-dependency of erlang-sqlite3, I guess it would be a good
solution to just package that version 1.1.5.
(Which was actually suggested by the ejabberd/erlang-sqlite3 package
maintainer, in the jabber chatroom ejabb...@chat.deb.at.)

Best regards, and thanks for packaging ejabberd!

Jan

Reply via email to