Date: Wed, 13 Dec 2017 09:57:12 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 224320] net-im/ejabberd: Does not start when built against LibreSSL Message-ID: <bug-224320-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224320 Bug ID: 224320 Summary: net-im/ejabberd: Does not start when built against LibreSSL Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ashish@FreeBSD.org Reporter: romain@FreeBSD.org Assignee: ashish@FreeBSD.org Flags: maintainer-feedback?(ashish@FreeBSD.org) Hi I have a setup where ejabberd runs with TLS and authenticate users to LDAP = over TLS too. When switching from security/openssl to security/libressl, the se= rver build fine but does not start: --------------------------8<-------------------------- 2017-12-13 09:59:57.769 [info] <0.14018.0> Application ssl started on node ejabberd@localhost 2017-12-13 09:59:57.788 [info] <0.14018.0> Application p1_utils started on = node ejabberd@localhost 2017-12-13 09:59:57.820 [info] <0.14018.0> Application fast_yaml started on node ejabberd@localhost 2017-12-13 09:59:57.842 [error] <0.14129.0>@erl_ddll:format_error:239 CRASH REPORT Process <0.14129.0> with 0 neighbours exited with reason: bad argume= nt in call to erl_ddll:format_error_int({load_failed,"Failed to load NIF libra= ry: '/usr/local/lib/erlang/lib/ejabberd-17.09/lib/fast_tls..."}) in erl_ddll:format_error/1 line 239 2017-12-13 09:59:57.843 [error] <0.14128.0>@erl_ddll:format_error:239 Supervisor fast_tls_sup had child fast_tls started with fast_tls:start_link= () at undefined exit with reason bad argument in call to erl_ddll:format_error_int({load_failed,"Failed to load NIF library: '/usr/local/lib/erlang/lib/ejabberd-17.09/lib/fast_tls..."}) in erl_ddll:format_error/1 line 239 in context start_error 2017-12-13 09:59:57.843 [error] <0.14126.0> CRASH REPORT Process <0.14126.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,fast_tls,{badarg,[{erl_ddll,format_error_= int,[{load_failed,"Failed to load NIF library: '/usr/local/lib/erlang/lib/ejabberd-17.09/lib/fast_tls-1.0.16/priv/lib/fast= _tls.so: Undefined symbol \"OPENSSL_cleanup\"'"}],[]},{erl_ddll,format_error,1,[{file,"erl_ddll.erl"}= ,{line,239}]},{fast_tls,load_nif,1,[{file,"src/fast_tls.erl"},{line,444}]},= {fast_tls,init,1,[{file,"src/fast_tls.erl"},{line,89}]},{gen_server,init_it= ,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,...}]}}},...} in application_master:init/4 line 134 2017-12-13 09:59:57.844 [critical] <0.14049.0>@ejabberd:exit_or_halt:131 fa= iled to start application 'fast_tls': {error, {{shutdown, {failed_to_start_child,fast_tls, {badarg, [{erl_ddll,format_error_int, [{load_failed, "Failed to load NIF librar= y: '/usr/local/lib/erlang/lib/ejabberd-17.09/lib/fast_tls-1.0.16/priv/lib/fast= _tls.so: Undefined symbol \"OPENSSL_cleanup\"'"}], []}, {erl_ddll,format_error,1, [{file,"erl_ddll.erl"}, {line,239}]}, {fast_tls,load_nif,1, [{file,"src/fast_tls.erl"}, {line,444}]}, {fast_tls,init,1, [{file,"src/fast_tls.erl"}, {line,89}]}, {gen_server,init_it,6, [{file,"gen_server.erl"}, {line,328}]}, {proc_lib,init_p_do_apply,3, [{file,"proc_lib.erl"}, {line,247}]}]}}}, {fast_tls_app,start,[normal,[]]}}} 2017-12-13 09:59:57.844 [info] <0.14018.0> Application fast_tls exited with reason: {{shutdown,{failed_to_start_child,fast_tls,{badarg,[{erl_ddll,format_error_= int,[{load_failed,"Failed to load NIF library: '/usr/local/lib/erlang/lib/ejabberd-17.09/lib/fast_tls-1.0.16/priv/lib/fast= _tls.so: Undefined symbol \"OPENSSL_cleanup\"'"}],[]},{erl_ddll,format_error,1,[{file,"erl_ddll.erl"}= ,{line,239}]},{fast_tls,load_nif,1,[{file,"src/fast_tls.erl"},{line,444}]},= {fast_tls,init,1,[{file,"src/fast_tls.erl"},{line,89}]},{gen_server,init_it= ,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,...}]}}},...} --------------------------8<-------------------------- I tried different versions of the fast_tls dependency and got the following results: 1.0.17 - Does not start (Undefined symbol "OPENSSL_cleanup") 1.0.16 - Does not start (Undefined symbol "OPENSSL_cleanup") (version curre= ntly packaged) 1.0.15 - Does not start (Undefined symbol "OPENSSL_cleanup") 1.0.14 - Does not start (Undefined symbol "OPENSSL_cleanup") 1.0.13 - Does not start (Undefined symbol "OPENSSL_cleanup") 1.0.12 - OK 1.0.11 - OK 1.0.10 - OK 1.0.9 - OK 1.0.8 - Not tested (Not supported according to CHANGELOG) Can you please consider repackaging ejabberd dependencies with an older ver= sion of fast_tls while a fix is being worked on? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224320-13>