Re: [qmailtoaster] error while installing dovecot-2.2.25-12.qt.src.rpm
Rajesh, This is good to know. What was the old version of ssl you had installed, I'll put a minimum version of ssl in the spec file. Eric On 11/5/2016 10:05 PM, Rajesh M wrote: eric this got resolved after i updated openssl. thanks rajesh - Original Message - From: Rajesh M [mailto:24x7ser...@24x7server.net] To: qmailtoaster-list@qmailtoaster.com Sent: Sun, 6 Nov 2016 08:45:36 +0530 Subject: hi eric i am getting an error while installing the latest version dovecot i am receiving the same error on 3 of my servers this is what i am doing wget ftp://ftp.whitehorsetc.com/pub/qmail/CentOS6/qmt/srpms/updates/dovecot-2.2.25-12.qt.src.rpm rpmbuild --rebuild --define "dist .qt.el6" dovecot-2.2.25-12.qt.src.rpm during make i get the error make check-am make[3]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' make[3]: Nothing to be done for `check-am'. make[3]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' Making check in lib-settings make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-settings' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-settings' Making check in lib-auth make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-auth' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-auth' Making check in lib-master make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-master' for bin in test-master-service-settings-cache; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done 0 / 0 tests failed make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-master' Making check in lib-charset make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-charset' for bin in test-charset; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done charset_is_utf8 .. : ok charset utf8 . : ok charset iconv : ok charset iconv crashes : ok charset iconv utf7 state . : ok 0 / 5 tests failed make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-charset' Making check in lib-ssl-iostream make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-ssl-iostream' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-ssl-iostream' Making check in lib-dcrypt make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-dcrypt' for bin in test-crypto test-stream; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done test_cipher_test_vectors . : ok test_cipher_aead_test_vectors : ok test_hmac_test_vectors ... : ok test-crypto.c:269: Assert failed: ret == TRUE test-crypto.c:270: Assert failed: error == NULL Panic: file dcrypt-openssl.c: line 880 (dcrypt_openssl_load_private_key_dovecot_v1): assertion failed: (dec_key != NULL) test: random seed #2 was 1478388283 Error: Raw backtrace: ./test-crypto() [0x412e7a] -> ./test-crypto(default_fatal_handler+0x32) [0x4136b2] -> ./test-crypto() [0x40a90a] -> .libs/libdcrypt_openssl.so(+0x1ca0b) [0x503ca0b] -> .libs/libdcrypt_openssl.so(+0x1ccf7) [0x503ccf7] -> ./test-crypto() [0x40ebee] -> ./test-crypto() [0x4102b1] -> ./test-crypto(test_run+0x11) [0x4103b1] -> ./test-crypto(main+0x1e) [0x40e24e] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x342001ed5d] -> ./test-crypto() [0x40a935] ../../run-test.sh: line 21: 22465 Aborted (core dumped) valgrind -q --trace-children=yes --leak-check=full --suppressions="$supp_path" --log-file=test.out.$$ $* ==22465== 96 (24 direct, 72 indirect) bytes in 1 blocks are definitely lost in loss record 541 of 611 ==22465==at 0x4A069EE: malloc (vg_replace_malloc.c:270) ==22465==by 0x503DA78: dovecot_openssl_malloc (dovecot-openssl-common.c:17) ==22465==by 0x3428068B2D: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.1e) ==22465==by 0x34280A5229: BN_new (in /usr/lib64/libcrypto.so.1.0.1e) ==22465==by 0x503C684: dcrypt_openssl_load_private_key_dovecot_v1 (dcrypt-openssl.c:864) ==22465==by 0x503CCF6: dcrypt_openssl_load_private_key (dcrypt-openssl.c:1212) ==22465==by 0x40EBA9: test_load_v1_keys (test-crypto.c:268) ==22465==by 0x4102B0: test_run_funcs (test-common.c:354) ==22465==by 0x4103B0: test_run (test-common.c:404) ==22465==by 0x40E24D: main (test-crypto.c:554) ==22465== Failed to run: ./test-crypto make[2]:
RE: [qmailtoaster] error while installing dovecot-2.2.25-12.qt.src.rpm
eric this got resolved after i updated openssl. thanks rajesh - Original Message - From: Rajesh M [mailto:24x7ser...@24x7server.net] To: qmailtoaster-list@qmailtoaster.com Sent: Sun, 6 Nov 2016 08:45:36 +0530 Subject: hi eric i am getting an error while installing the latest version dovecot i am receiving the same error on 3 of my servers this is what i am doing wget ftp://ftp.whitehorsetc.com/pub/qmail/CentOS6/qmt/srpms/updates/dovecot-2.2.25-12.qt.src.rpm rpmbuild --rebuild --define "dist .qt.el6" dovecot-2.2.25-12.qt.src.rpm during make i get the error make check-am make[3]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' make[3]: Nothing to be done for `check-am'. make[3]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib' Making check in lib-settings make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-settings' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-settings' Making check in lib-auth make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-auth' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-auth' Making check in lib-master make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-master' for bin in test-master-service-settings-cache; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done 0 / 0 tests failed make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-master' Making check in lib-charset make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-charset' for bin in test-charset; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done charset_is_utf8 .. : ok charset utf8 . : ok charset iconv : ok charset iconv crashes : ok charset iconv utf7 state . : ok 0 / 5 tests failed make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-charset' Making check in lib-ssl-iostream make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-ssl-iostream' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-ssl-iostream' Making check in lib-dcrypt make[2]: Entering directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-dcrypt' for bin in test-crypto test-stream; do \ if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \ done test_cipher_test_vectors . : ok test_cipher_aead_test_vectors : ok test_hmac_test_vectors ... : ok test-crypto.c:269: Assert failed: ret == TRUE test-crypto.c:270: Assert failed: error == NULL Panic: file dcrypt-openssl.c: line 880 (dcrypt_openssl_load_private_key_dovecot_v1): assertion failed: (dec_key != NULL) test: random seed #2 was 1478388283 Error: Raw backtrace: ./test-crypto() [0x412e7a] -> ./test-crypto(default_fatal_handler+0x32) [0x4136b2] -> ./test-crypto() [0x40a90a] -> .libs/libdcrypt_openssl.so(+0x1ca0b) [0x503ca0b] -> .libs/libdcrypt_openssl.so(+0x1ccf7) [0x503ccf7] -> ./test-crypto() [0x40ebee] -> ./test-crypto() [0x4102b1] -> ./test-crypto(test_run+0x11) [0x4103b1] -> ./test-crypto(main+0x1e) [0x40e24e] -> /lib64/libc.so.6(__libc_start_main+0xfd) [0x342001ed5d] -> ./test-crypto() [0x40a935] ../../run-test.sh: line 21: 22465 Aborted (core dumped) valgrind -q --trace-children=yes --leak-check=full --suppressions="$supp_path" --log-file=test.out.$$ $* ==22465== 96 (24 direct, 72 indirect) bytes in 1 blocks are definitely lost in loss record 541 of 611 ==22465==at 0x4A069EE: malloc (vg_replace_malloc.c:270) ==22465==by 0x503DA78: dovecot_openssl_malloc (dovecot-openssl-common.c:17) ==22465==by 0x3428068B2D: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.1e) ==22465==by 0x34280A5229: BN_new (in /usr/lib64/libcrypto.so.1.0.1e) ==22465==by 0x503C684: dcrypt_openssl_load_private_key_dovecot_v1 (dcrypt-openssl.c:864) ==22465==by 0x503CCF6: dcrypt_openssl_load_private_key (dcrypt-openssl.c:1212) ==22465==by 0x40EBA9: test_load_v1_keys (test-crypto.c:268) ==22465==by 0x4102B0: test_run_funcs (test-common.c:354) ==22465==by 0x4103B0: test_run (test-common.c:404) ==22465==by 0x40E24D: main (test-crypto.c:554) ==22465== Failed to run: ./test-crypto make[2]: *** [check-test] Error 1 make[2]: Leaving directory `/root/rpmbuild/BUILD/dovecot-2.2.25/src/lib-dcrypt' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory