Re: cyrus imap 3.0.8 build in Linux: problem with unit test, test "badservice" failed

2018-09-15 Thread Sergey
On Monday 19 October 2015, Sergey wrote:

> I found messages with similag error (threads.c:342: krb5int_key_register ...)
> with krb5-1.13 (I use 1.13.1) in Google. I attempted to rollback to krb5 1.12
> and test was passed. That is probably it is the problem of krb5.

The problem remains with Cyrus-IMAP 3.0.8 and krb5-1.16.1:

Suite: backend
  Test: badhost ...passed
  Test: badservice ...lt-unit: threads.c:353: krb5int_key_register: Assertion 
`destructors_set[keynum] == 0' failed.

Ivan A. Melnikov found an interesting nuance (sorry, comments on Russian):
https://bugzilla.altlinux.org/show_bug.cgi?id=31381#c9

In short: test suite is not passed in all, but it passed by one by one.

It works:

for test in `./unit -l | grep backend` ; do ./unit -v "$test"; done

It isn't:

./unit -v "backend"

-- 
Regards,
Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: unit tests: /usr/bin/touch vs /bin/touch

2018-09-15 Thread Sergey
On Friday 14 September 2018, ellie timoney wrote:

> and then let us know if you find any other mismatched paths like this?
> Then we can patch them all in one go. :) 

I know about pcre. I wrote about it here:
https://lists.andrew.cmu.edu/pipermail/info-cyrus/2015-October/038549.html

Since it time I build Cyrus-IMAP with hack (in rpm's spec file):

sed "s|pcreposix\.h|pcre/pcreposix.h|g" -i configure.ac
sed 's|if test "$ac_cv_header_pcreposix_h" = 
"yes"|ac_cv_header_pcreposix_h="yes"; if test "$ac_cv_header_pcreposix_h" = 
"yes"|' -i configure.ac
%add_optflags -I%_includedir/pcre
sed "s|pcre\.h|pcre/pcre.h|" -i  lib/util.h#  include 
sed "s|pcreposix\.h|pcre/pcreposix.h|" -i  lib/util.h  #  include 

sed "s|@ZLIB@|@ZLIB@ -lpcreposix|" -i perl/imap/Makefile.PL.in
sed "s|@ZLIB@|@ZLIB@ -lpcreposix|" -i perl/sieve/managesieve/Makefile.PL.in

"-I%_includedir/pcre" helped for some cases, but excluding lib/util.h
And I now not remember, why I added "-lpcreposix".

-- 
Regards,
Sergey

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


got it

2018-09-15 Thread bluntroller via Info-cyrus
Okay, I got it now.
cyradm doesn't connect at all to imaps.

no need to reply, will figure the rest myself.
tnx
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus