[Dovecot] v1.1.2 release candidate

Chris Wakelin c.d.wakelin at reading.ac.uk
Mon Jul 21 12:14:27 EEST 2008


Timo Sirainen wrote:
> I've finally read and answered most of the mails on this list. If you
> haven't received an answer to your question, resend it. There are a
> couple of tricky mbox issues left, but I'm not sure if I can do anything
> about them unless someone can show me how to reproduce the problems.

> Largest changes since v1.1.1 are:

> 	+ zlib plugin supports now bzip2 also.

This breaks for me on Solaris 8 and gcc 3.3.2

In file included from istream-bzlib.c:8:
/usr/include/bzlib.h:170: error: parse error before "FILE"
/usr/include/bzlib.h:198: error: parse error before "FILE"
In file included from istream-bzlib.c:19:
istream-zlib.c: In function `i_stream_zlib_close':
istream-zlib.c:38: warning: implicit declaration of function `BZ2_bzclose'
istream-zlib.c: In function `i_stream_zlib_read':
istream-zlib.c:90: warning: implicit declaration of function `BZ2_bzread'
istream-zlib.c: In function `i_stream_zlib_seek':
istream-zlib.c:128: warning: implicit declaration of function `BZ2_bzdopen'
istream-zlib.c:128: warning: assignment makes pointer from integer 
without a cast
istream-zlib.c: In function `i_stream_create_bzlib':
istream-zlib.c:220: warning: assignment makes pointer from integer 
without a cast

lines 168-175 of bzlib.h (part of SUNWbzip package):

BZ_EXTERN BZFILE* BZ_API(bzReadOpen) (
       int*  bzerror,
       FILE* f,
       int   verbosity,
       int   small,
       void* unused,
       int   nUnused
    );

and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the 
Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 
version 0.9.0c")?

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list