[Dovecot] post 2.0rc1 compilation issue

Michal Hlavinka mhlavink at redhat.com
Wed Jul 7 14:52:30 EEST 2010


On Wednesday, July 07, 2010 13:27:41 Timo Sirainen wrote:
> On 7.7.2010, at 11.42, Michal Hlavinka wrote:
> >> I was just updating dovecot to nightly snapshot for Fedora rawhide, but
> >> got following issue:
> >> fts-backend-solr.c: In function 'fts_box_name_get_root':
> >> fts-backend-solr.c:60: error: 'NAMESPACE_FLAG_INBOX' undeclared (first
> >> use in this function)
> >> fts-backend-solr.c:60: error: (Each undeclared identifier is reported
> >> only once
> 
> Fixed: http://hg.dovecot.org/dovecot-2.0/rev/912a11f476cc

confirmed

> > ==769== Invalid read of size 1
> > ==769==    at 0x405E60: dsync_worker_has_failed (dsync-worker.c:271)
> > ==769==    by 0x40488B: dsync_brain_deinit (dsync-brain.c:79)
> 
> Fixed: http://hg.dovecot.org/dovecot-2.0/rev/056c3240a912

unfortunately still not enough, the same issue is on line 216

--- dovecot-2.0.rc1/src/dsync/test-dsync-brain.c.betahotfix     2010-07-02 
04:00:08.000000000 +0200
+++ dovecot-2.0.rc1/src/dsync/test-dsync-brain.c        2010-07-07 
13:45:59.887603676 +0200
@@ -211,9 +211,9 @@ static void test_dsync_brain(void)
        test_assert(!test_dsync_worker_next_box_event(src_test_worker, 
&box_event));
        test_assert(!test_dsync_worker_next_box_event(dest_test_worker, 
&box_event));
 
+       dsync_brain_deinit(&brain);
        dsync_worker_deinit(&src_worker);
        dsync_worker_deinit(&dest_worker);
-       dsync_brain_deinit(&brain);
 
        test_end();
 }


with this change make check completes without any error


More information about the dovecot mailing list