dovecot-2.3 (-git) Warning and Fatal Compile Error
Timo Sirainen
tss at iki.fi
Wed Oct 18 15:40:09 EEST 2017
On 18 Oct 2017, at 6.34, Reuben Farrelly <reuben-dovecot at reub.net> wrote:
>
> I haven't been tracking dovecot-2.3 until now, but I've just given it a quick run, and there are a few things that may need some attention.
>
> /usr/include/features.h:376:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
> # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Don't use -O0 or use configure --disable-hardening or just ignore it.
> The build then fails entirely with this:
>
> DMODULEDIR=\""/usr/lib64/dovecot"\" -O0 -g -pipe -march=native -mtune=native -ggdb -c -o realpath.lo realpath.c
> edit-mail.c: In function ‘edit_mail_wrap’:
> edit-mail.c:235:14: error: too few arguments to function ‘mailbox_transaction_begin’
> raw_trans = mailbox_transaction_begin(raw_box, 0);
I don't think your pigeonhole is from git master.
More information about the dovecot
mailing list