Dovecot 2.3.15 upgrade error

DRKT

Verified User
Joined
Oct 8, 2003
Messages
217
Hi

i update my dovecot 2.3.14 to 2.3.15 and i have on all my servers this error (Centos 6)

=============
test-smtp-params.c:34: warning: missing initializer
test-smtp-params.c:34: warning: (near initialization for 'test_params_buffer2.<anonymous>.<anonymous>.used')
test-smtp-params.c:34: error: unknown field 'used' specified in initializer
test-smtp-params.c:35: warning: excess elements in struct initializer
test-smtp-params.c:35: warning: (near initialization for 'test_params_buffer2')
make[3]: *** [test-smtp-params.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-settings -I../../src/lib-master -I../../src/lib-sasl -I../../src/lib-ssl-iostream -I../../src/lib-dns -I../../src/lib-program-client -I../../src/lib-mail -DTEST_BIN_DIR=\"/usr/local/directadmin/custombuild/dovecot-2.3.15/src/lib-smtp/test-bin\" -I/usr/local/include -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=keep -mindirect-branch=keep -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT smtp-submit.lo -MD -MP -MF .deps/smtp-submit.Tpo -c smtp-submit.c -o smtp-submit.o >/dev/null 2>&1
mv -f .deps/test-smtp-address.Tpo .deps/test-smtp-address.Po
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-test -I../../src/lib-settings -I../../src/lib-master -I../../src/lib-sasl -I../../src/lib-ssl-iostream -I../../src/lib-dns -I../../src/lib-program-client -I../../src/lib-mail -DTEST_BIN_DIR=\"/usr/local/directadmin/custombuild/dovecot-2.3.15/src/lib-smtp/test-bin\" -I/usr/local/include -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mfunction-return=keep -mindirect-branch=keep -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -MT smtp-server-connection.lo -MD -MP -MF .deps/smtp-server-connection.Tpo -c smtp-server-connection.c -o smtp-server-connection.o >/dev/null 2>&1
mv -f .deps/smtp-submit.Tpo .deps/smtp-submit.Plo
mv -f .deps/smtp-server-connection.Tpo .deps/smtp-server-connection.Plo
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3.15/src/lib-smtp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3.15'
make: *** [all] Error 2
=============

How to fix exactly?

Thanks
 
I don't have problem with this version
maybe because EOL OS

could you post full log here ?

becarefully, Please don't post any sensitive information here
 
Via Directadmin (Custombuild 2.0.0 v. 2723) (too long for copy/past) in attachement here.
 
Yes, it's related to EOL of CentOS6. I've fixed it in CB 2.0 rev. 2724 though, please give it a try.
 
Yes, it's related to EOL of CentOS6. I've fixed it in CB 2.0 rev. 2724 though, please give it a try.
Please excuse me asking this, I have no previous relation to this forum, I'm just a private user with an old CentOS 6 box and found this page via web search. I have the exact same problem with manually compiling Dovecot 2.3.15 and haven't found a solution yet. (Dovecot 2.3.14.1 works but there are so many differences between those versions, I was not able to find the one causing that issue.)

Unfortunately, I don't understand what "CB 2.0 rev. 2724" means, I'm very sorry. I would be very happy and thankful if you could share your fix to make Dovecot 2.3.15 work again. Thanks a lot in advance and wish you a great weekend!
 
Back
Top