Change History (7)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
got that access violation error while running the test suite:
... penalty .............................................................. : ok 0 / 1 tests failed make[3]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/anvil“ wird verlassen make[2]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/anvil“ wird verlassen Making check in auth make[2]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/auth“ wird betreten make check-local make[3]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/auth“ wird betreten for bin in test-libpassword test-auth-cache test-auth; do \ if ! ./$bin; then exit 1; fi; \ done /bin/sh: Zeile 1: 24176 Speicherzugriffsfehler ./$bin make[3]: *** [Makefile:1636: check-local] Fehler 1 make[3]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/auth“ wird verlassen make[2]: *** [Makefile:1497: check-am] Fehler 2 make[2]: Das Ziel „check“ wurde wegen Fehlern nicht aktualisiert. make[2]: Verzeichnis „/home/lfs/dovecot-2.3.2.1/src/auth“ wird verlassen Making check in dict ...
comment:3 by , 7 years ago
Two of the three test programs (test-libpassword and test-auth) fail with a segfault, test-auth-cache runs fine when calling them manually.
Appears thats a known issue with glibc-2.28: https://www.mail-archive.com/dovecot@dovecot.org/msg74134.html
follow-up: 7 comment:4 by , 7 years ago
Doing a small sed before compiling looks promising:
sed -e "s;#include <unistd.h>;&\n#include <crypt.h>;" \ -i src/auth/mycrypt.c
the log now contains
... make[3]: Verzeichnis „/home/lfs/tmp/dovecot/build/dovecot-2.3.2.1/src/auth“ wird betreten for bin in test-libpassword test-auth-cache test-auth; do \ if ! ./$bin; then exit 1; fi; \ done password scheme(PLAIN) ............................................... : ok password scheme(CRYPT) ............................................... : ok password scheme(PLAIN-MD4) ........................................... : ok password scheme(MD5) ................................................. : ok password scheme(SHA1) ................................................ : ok password scheme(LANMAN) .............................................. : ok password scheme(NTLM) ................................................ : ok password scheme(SMD5) ................................................ : ok password scheme(LDAP-MD5) ............................................ : ok password scheme(SHA256) .............................................. : ok password scheme(SHA512) .............................................. : ok password scheme(SSHA) ................................................ : ok password scheme(MD5-CRYPT) ........................................... : ok password scheme(OTP) ................................................. : ok password scheme(PBKDF2) .............................................. : ok password scheme(RPA) ................................................. : ok password scheme(SKEY) ................................................ : ok password scheme(CRAM-MD5) ............................................ : ok password scheme(DIGEST-MD5) .......................................... : ok password scheme(SCRAM-SHA-1) ......................................... : ok password scheme(BLF-CRYPT) ........................................... : ok password scheme failures ............................................. : ok 0 / 22 tests failed auth cache parse key ................................................. : ok 0 / 1 tests failed auth request var expand short and long ............................... : ok auth request var expand flags ........................................ : ok auth request var expand long-only .................................... : ok auth request var expand usernames .................................... : ok auth request var expand funcs ........................................ : ok db dict parse cache key .............................................. : ok test username_filter ................................................. : ok 0 / 7 tests failed make[3]: Verzeichnis „/home/lfs/tmp/dovecot/build/dovecot-2.3.2.1/src/auth“ wird verlassen make[2]: Verzeichnis „/home/lfs/tmp/dovecot/build/dovecot-2.3.2.1/src/auth“ wird verlassen Making check in dict ...
comment:5 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:7 by , 7 years ago
Replying to thomas:
Doing a small sed before compiling looks promising:
sed -e "s;#include <unistd.h>;&\n#include <crypt.h>;" \ -i src/auth/mycrypt.c
Just a note about seds. The a (append) operation is sometimes cleaner:
sed -i "/unistd.h/a #include <crypt.h>" src/auth/mycrypt.c
Note:
See TracTickets
for help on using tickets.
at least it compiles fine (cannot install&test as i have cyrus-imapd allready productiv)
i used
configure summary:
Even thou all tests are passed ("0 / xx test failed"), "make -k check" terminates with rc=1, no valgrind on system.
HTH