Dovecot errors after updating

jvdwilk

Verified User
Joined
Aug 2, 2006
Messages
39
Trying to update Dovecot from a version 2.2.33.2 (d6601f4ec) to the current latest version 2.3.0.1 (ffd8a29) with pidgonhole enabled in the Custombuild config, I am getting an error while compiling pidgeonhole which stops the compilation and leaves me with a non functioning Dovecot...

Temporary work-around is disabling pidgeonhole in the Custombuild config, and rebuilding Dovecot without the pidgeonhole, after which Dovecot runs again.

Errors while compiling pidgeonhole:
Code:
make[3]: Entering directory `/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.1/src/sieve-tools'
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2  -I../..  -export-dynamic -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now  -o sievec sievec-sievec.o ../../src/lib-sieve/libdovecot-sieve.la ../../src/lib-sieve-tool/libsieve-tool.la -ldovecot-storage  -ldovecot-lda -L/usr/lib/dovecot -ldovecot -lrt
libtool: link: gcc -std=gnu99 -g -O2 -fstack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I../.. -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/sievec sievec-sievec.o -Wl,--export-dynamic  ../../src/lib-sieve/.libs/libdovecot-sieve.so ../../src/lib-sieve-tool/.libs/libsieve-tool.a /usr/lib/dovecot/libdovecot-storage.so /usr/lib/dovecot/libdovecot-lda.so -L/usr/lib/dovecot /usr/lib/dovecot/libdovecot.so -lrt -Wl,-rpath -Wl,/usr/lib/dovecot
../../src/lib-sieve/.libs/libdovecot-sieve.so: undefined reference to `array_idx_get_space'
collect2: ld returned 1 exit status
make[3]: *** [sievec] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.1/src/sieve-tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.3-pigeonhole-0.5.1'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n):


Then, after recompiling Dovecot with the pidgeonhole disabled, still some errors show when starting Dovecot, but at least it runs again..:
Code:
Starting dovecot: doveconf: Error: Couldn't load plugin /usr/lib/dovecot/settings/libmanagesieve_login_settings.so: Module is for different ABI version 2.2.ABIv33(2.2.33.2) (we have 2.3.ABIv0(2.3.0.1))
doveconf: Error: Couldn't load plugin /usr/lib/dovecot/settings/libmanagesieve_settings.so: Module is for different ABI version 2.2.ABIv33(2.2.33.2) (we have 2.3.ABIv0(2.3.0.1))
doveconf: Error: Couldn't load plugin /usr/lib/dovecot/settings/libpigeonhole_settings.so: Module is for different ABI version 2.2.ABIv33(2.2.33.2) (we have 2.3.ABIv0(2.3.0.1))
                                                           [  OK  ]

Could anyone with some more insight give a hint here ..?

Thanks in advance,

Jorge.
 
Last edited:
Hello Jorge,


Custombuild is messed with Dovecot + Sieve today. It offers Dovecot 2.3.0.1 and dovecot-2.3-pigeonhole-0.5.1 which fails.


Try this:

Code:
cd /usr/local/directadmin/custombuild
wget https://www.dovecot.org/releases/2.3/dovecot-2.3.1.tar.gz -O dovecot-2.3.1.tar.gz
perl -pi -e "s#dovecot:.*#dovecot:2.3.1:fc89b6130bcc09e99ae21003b474acc2#" versions.txt
./build dovecot
 
Hello Alex,

Thanks for your quick-fix. It works and I currently have Dovecot running at version 2.3.1, including pidgeonhole.


Kind regards,

Jorge.
 
Back
Top