Bug 207958

Summary: net-im/ejabberd version 16.02 fails to start
Product: Ports & Packages Reporter: gwright
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (ashish)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description gwright 2016-03-13 22:33:37 UTC
Version 16.02 of ejabberd fails to start if built with the default configuration. The error on startup (from /var/log/ejabberd/error.log) is

2016-03-13 18:00:35.393 [critical] <0.37.0>@ejabberd:exit_or_halt:133 failed to
start application 'ezlib': {error,
                                      {"no such file or directory",
                                       "ezlib.app"}}

The workaround I found was to deinstall then reinstall with the configuration option "zlib compression support" enabled.  Ejabberd then started correctly.

It appears that a dependency on compression has slipped in.  I have not had a chance to look at it more closely.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-03-14 05:37:30 UTC
A commit references this bug:

Author: ashish
Date: Mon Mar 14 05:37:05 UTC 2016
New revision: 411045
URL: https://svnweb.freebsd.org/changeset/ports/411045

Log:
  - Remove ZLIB option, doesn't work in practise

  PR:		207958

Changes:
  head/net-im/ejabberd/Makefile
  head/net-im/ejabberd/pkg-plist
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2016-03-14 05:39:59 UTC
I have committed a fix. This should hopefully resolve the problem.

It seems like the option ZLIB is not quite optional as it seems[1].

Thanks for your report.

[1] https://github.com/processone/ejabberd/blob/master/src/ejabberd_app.erl#L259