dovecot-2.3 (-git) Warning and Fatal Compile Error

Stephan Bosch stephan at rename-it.nl
Sat Oct 21 17:27:35 EEST 2017


Op 10/20/2017 om 12:22 PM schreef Stephan Bosch:
>
>
> Op 20-10-2017 om 4:23 schreef Reuben Farrelly:
>> On 18/10/2017 11:40 PM, Timo Sirainen wrote:
>>> 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.
>>
>> Thanks.  That was it...
>>
>> Now onto 2.3 -git, there is a repeatable crash occurring in lmtp. In
>> fact it looks like there could be more than one problem, because even
>> invoking lmtp (with gdb) and no arguments results in a gdb error
>> about an unaddressable byte.
>>
>> However when lmtp is used normally within dovecot it crashes out on a
>> few but not all mails.
>
> I see what that smtp-submit problem is already. Will push fix later
> today.
>

Fix is merged:
https://github.com/dovecot/core/commit/9dd47ae5c1f0c20f1994a7ec1a862fe8beef8913

Regards,

Stephan.



More information about the dovecot mailing list