dovecot / imaptest

IMAP server tester
Other
51 stars 21 forks source link

imaptest fails to compile against dovecot 2.3.20 #21

Closed pexarkh closed 1 year ago

pexarkh commented 1 year ago

what i did

all the above commands succeeded but running make failed with:

> make
make  all-recursive
make[1]: Entering directory '/Users/pvl/imaptest/dovecot--imaptest_git'
Making all in src
make[2]: Entering directory '/Users/pvl/imaptest/dovecot--imaptest_git/src'
  CC       imaptest-checkpoint.o
  CC       imaptest-client.o
client.c:156:30: error: too many arguments to function call, expected 7, have 8
                                                &client->ssl_iostream, &error) < 0)
                                                                       ^~~~~~
/Users/pvl/imaptest/dovecot-2.3.20/src/lib-ssl-iostream/iostream-ssl.h:58:5: note: 'io_stream_create_ssl_client' declared here
int io_stream_create_ssl_client(struct ssl_iostream_context *ctx, const char *host,
    ^
1 error generated.
make[2]: *** [Makefile:660: imaptest-client.o] Error 1
make[2]: Leaving directory '/Users/pvl/imaptest/dovecot--imaptest_git/src'
make[1]: *** [Makefile:487: all-recursive] Error 1
make[1]: Leaving directory '/Users/pvl/imaptest/dovecot--imaptest_git'
make: *** [Makefile:415: all] Error 2

if it's relevant, i'm on mac os 13 (ventura) on M1

please kindly advise how to resolve the issue. thank you.

cmouse commented 1 year ago

Hi! Please use branch release-2.3 to compile against 2.3.20.

pexarkh commented 1 year ago

@cmouse using release-2.3 has indeed worked. thank you so much! closing.