dovecot 2.3.19 source tarball build failed

Dmitriy Fitisov dmitriy at radier.ca
Fri Jun 3 02:10:18 UTC 2022


Adding config (default):
Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : kqueue
I/O notifys .... : kqueue
SSL ............ : no
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file pam checkpassword
                 : -shadow -bsdauth -ldap -sql
userdbs ........ : static prefetch passwd passwd-file checkpassword
                 : -ldap -sql
CFLAGS ......... : -std=gnu99 -g -O2 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 
SYSTEMD ........ : simple - (no unit file)
SQL drivers .... :
                 : -pgsql -mysql -sqlite -cassandra
Full text search : squat
                 : -lucene -solr

> On Jun 2, 2022, at 10:09 PM, Dmitriy Fitisov <dmitriy at radier.ca> wrote:
> 
> Hello all again,
> building from 2.3.19 src tarball
> on Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101 arm64
> got failure:
> 
> ioloop-notify-kqueue.c:70:2: error: implicit declaration of function 'i_gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>         i_gettimeofday(&ioloop_timeval);
>         ^
> ioloop-notify-kqueue.c:70:2: note: did you mean 'gettimeofday'?
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/time.h:197:9: note: 'gettimeofday' declared here
> int     gettimeofday(struct timeval * __restrict, void * __restrict);
>         ^
> 1 error generated.
> 
> Not sure what is a proper way to report patches.
> Seem source generated by bison?
> Anyway, just added one liner added to src/lib/ioloop-notify-kqueue.c:
> 13a14
> > #include "time-util.h”
>  
> Builds fine.
> Thank you.
> Dmitriy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220602/3a39da3c/attachment.htm>


More information about the dovecot mailing list