Re: Panic: file mdbox-save.c: line 337: unreached
Thanks Timo I will apply this patch and let you know if I encounter any more issues. On 11/07/16 17:09, Timo Sirainen wrote: On 10 Jul 2016, at 17:44, Leon Kyneur wrote: Recently updated to 2.2.25. Noticed a migration script I've been previously running fine started giving me the errors below. Remove server doesn't log any failure. doveconf -n attached. + /bin/doveadm -o mail_fsync=never backup -R -u u...@domain.com imapc: dsync(u...@domain.com): Panic: file mdbox-save.c: line 337: unreached Thanks, fixed: https://github.com/dovecot/core/commit/3aae8844765b1d74d847e8e37daa135ac7035e6b
Re: Pigeonhole vs dovecot gssapi option
I wound up just adding the same GSSAPI options to the pigeonhole port with a note that they must be the same as Dovecot. I'm not sure who the culprit is for NOT writing the -L.../lib/heimdal to dovecot-config. On Wed, Jul 13, 2016 at 9:43 AM, Stephan Bosch wrote: > Op 13-7-2016 om 15:42 schreef Larry Rosenman: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025 > > Basically, if dovecot is built with gssapi support, we need to pick up > .../dovecot-config's DOVECOT_LIBS in pigeonhole's link. > > > It does that: > > https://github.com/dovecot/pigeonhole/blob/master-0.4/m4/dovecot.m4#L112 > https://github.com/dovecot/pigeonhole/blob/master-0.4/configure.ac#L38 > > Looking at that bug report, this is what adds "-lkrb5 -lgssapi" and > subsequently triggers this error: > > /usr/bin/ld: cannot find -lkrb5 > > So, the problem is not that Pigeonhole is not following Dovecot's > DOVECOT_LIBS definition from dovecot-config. Rather, it seems to me that > dovecot-config is missing a > > -L${LOCALBASE}/lib/heimdal > > in $DOVECOT_LIBS, as suggested by the poster of this bug. > > I am not sure why. > > > Regards, > > Stephan. > > On Wed, Jul 13, 2016 at 1:52 AM, Stephan Bosch > wrote: > > > Op 7/13/2016 om 4:12 AM schreef Larry Rosenman: > > Stephan, > Is there a reason you don't pick up the dovecot-config file to set > additional libraries like the Kerberos libs? > > I'm the FreeBSD Ports Maintainer for pigeonhole, and a user filed a PR > about missing the krb5 libs. > > Could you elaborate? > > Regards, > > Stephan. > > > > > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larry...@gmail.com US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
Re: Pigeonhole vs dovecot gssapi option
Op 13-7-2016 om 15:42 schreef Larry Rosenman: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025 Basically, if dovecot is built with gssapi support, we need to pick up .../dovecot-config's DOVECOT_LIBS in pigeonhole's link. It does that: https://github.com/dovecot/pigeonhole/blob/master-0.4/m4/dovecot.m4#L112 https://github.com/dovecot/pigeonhole/blob/master-0.4/configure.ac#L38 Looking at that bug report, this is what adds "-lkrb5 -lgssapi" and subsequently triggers this error: /usr/bin/ld: cannot find -lkrb5 So, the problem is not that Pigeonhole is not following Dovecot's DOVECOT_LIBS definition from dovecot-config. Rather, it seems to me that dovecot-config is missing a -L${LOCALBASE}/lib/heimdal in $DOVECOT_LIBS, as suggested by the poster of this bug. I am not sure why. Regards, Stephan. On Wed, Jul 13, 2016 at 1:52 AM, Stephan Bosch wrote: Op 7/13/2016 om 4:12 AM schreef Larry Rosenman: Stephan, Is there a reason you don't pick up the dovecot-config file to set additional libraries like the Kerberos libs? I'm the FreeBSD Ports Maintainer for pigeonhole, and a user filed a PR about missing the krb5 libs. Could you elaborate? Regards, Stephan.
Re: Pigeonhole vs dovecot gssapi option
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211025 Basically, if dovecot is built with gssapi support, we need to pick up .../dovecot-config's DOVECOT_LIBS in pigeonhole's link. On Wed, Jul 13, 2016 at 1:52 AM, Stephan Bosch wrote: > Op 7/13/2016 om 4:12 AM schreef Larry Rosenman: > > Stephan, > > Is there a reason you don't pick up the dovecot-config file to set > > additional libraries like the Kerberos libs? > > > > I'm the FreeBSD Ports Maintainer for pigeonhole, and a user filed a PR > > about missing the krb5 libs. > > Could you elaborate? > > Regards, > > Stephan. > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: larry...@gmail.com US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281