[Dovecot] issues with 2.1b1 on OS X

Timo Sirainen tss at iki.fi
Sat Nov 19 22:34:36 EET 2011


On 19.11.2011, at 21.05, metro_domain_admin at fastmail.fm wrote:

> Two issues came up for me when building 2.1beta1 on OS X (10.5.8 on
> PPC). The first was already mentioned in an earlier thread by a BSD user
> (http://dovecot.org/list/dovecot/2011-September/061201.html). I just
> wanted to point out that the error is still occurring in spite of a new
> test for GNU ld in the configure script. I needed to remove
> "-no-undefined" specifically:

This error?

Undefined symbols:
  "_environ", referenced from:
      _env_clean in env-util.o

http://hg.dovecot.org/dovecot-2.1/rev/b2c9298e981 and http://hg.dovecot.org/dovecot-2.1/rev/9d022d3fba42 fixes it.

> More important, Dovecot aborts on launch with the following error:
> 
>    Nov 19 10:23:52 kerio2 dovecot[33553]: master: Fatal: kevent(EV_ADD,
>    READ, 16) failed: Invalid argument
> I configured using the same args as I had used successfully on 2.0.15: 
> --with-gssapi --with-ldap --with-sql --prefix=/opt/dovecot-2.X.X. I also
> tried an exact copy of my known-good config from 2.0.15, to no avail.


Works in 10.6. What is the gdb backtrace of the crash with the attached patch?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 577 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20111119/d67ea063/attachment.obj>


More information about the dovecot mailing list