On Fri, 24 Oct 2014, Timo Sirainen wrote:
http://dovecot.org/releases/2.2/dovecot-2.2.15.tar.gz http://dovecot.org/releases/2.2/dovecot-2.2.15.tar.gz.sig
When building an rpm with dovecot 2.2.15. one test in the pigeonhole-0.4.3 test suite causes a segmentation fault:
Test case: ./tests/extensions/editheader/deleteheader.svtest:
1: Test 'Deleteheader - nonexistent' SUCCEEDED make: *** [tests/extensions/editheader/deleteheader.svtest] Segmentation fault error: Bad exit status from /var/tmp/rpm-tmp.kap6R7 (%check)
If I just replace the dovecot with the 2.2.14 soure the error disappears.
I am compiling on Scientific Linux 6, gcc 4.4.7, but there is no change with 4.8.2. The configure used was
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info INSTALL_DATA=install -c -p -m644 --docdir=/usr/share/doc/dovecot --disable-static --disable-rpath --with-nss --with-shadow --with-pam --with-gssapi=plugin --with-ldap=plugin --with-sql=plugin --with-pgsql --with-mysql --with-sqlite --with-zlib --without-lzma --with-libcap --with-ssl=openssl --with-ssldir=/etc/pki/dovecot --with-solr --with-docs
I am using --without-lzma as also the xz compression test fails, but this is hopefully because the liblzma is coming from a very old xz-4.999.9-0.3.beta package.
-- Best regards Wolfgang Friebel