[Dovecot] post 2.0rc1 compilation issue
Hi,
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
and once again on line 750
seems the change http://hg.dovecot.org/dovecot-2.0/rev/07353259bb41 is not complete
Michal
Hi,
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
and once again on line 750
seems the change http://hg.dovecot.org/dovecot-2.0/rev/07353259bb41 is not complete
Michal also make check fails for dsync: make[3]: Entering directory `/home/mhlavink/cvsf/dovecot/devel/dovecot-2.0.rc1/src/dsync' for bin in test-dsync-brain test-dsync-brain-msgs test-dsync-proxy test-dsync-
On Wednesday, July 07, 2010 12:26:54 Michal Hlavinka wrote:
proxy-server-cmd; do
if ! /bin/sh ../../run-test.sh ./$bin; then exit 1; fi;
done
dsync brain .......................................................... : ok
dsync brain full ..................................................... : ok
0 / 2 tests failed
==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)
==769== by 0x402C51: test_dsync_brain (test-dsync-brain.c:216)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769== Address 0x4c32540 is 256 bytes inside a block of size 480 free'd
==769== at 0x4A04D72: free (vg_replace_malloc.c:325)
==769== by 0x402C3D: test_dsync_brain (test-dsync-brain.c:214)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769==
==769== Invalid read of size 1
==769== at 0x405E60: dsync_worker_has_failed (dsync-worker.c:271)
==769== by 0x404898: dsync_brain_deinit (dsync-brain.c:79)
==769== by 0x402C51: test_dsync_brain (test-dsync-brain.c:216)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769== Address 0x4c366a0 is 256 bytes inside a block of size 480 free'd
==769== at 0x4A04D72: free (vg_replace_malloc.c:325)
==769== by 0x402C47: test_dsync_brain (test-dsync-brain.c:215)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769==
==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)
==769== by 0x4026B9: test_dsync_brain_full (test-dsync-brain.c:273)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769== Address 0x4c4c750 is 256 bytes inside a block of size 480 free'd
==769== at 0x4A04D72: free (vg_replace_malloc.c:325)
==769== by 0x4026A5: test_dsync_brain_full (test-dsync-brain.c:271)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769==
==769== Invalid read of size 1
==769== at 0x405E60: dsync_worker_has_failed (dsync-worker.c:271)
==769== by 0x404898: dsync_brain_deinit (dsync-brain.c:79)
==769== by 0x4026B9: test_dsync_brain_full (test-dsync-brain.c:273)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769== Address 0x4c508b0 is 256 bytes inside a block of size 480 free'd
==769== at 0x4A04D72: free (vg_replace_malloc.c:325)
==769== by 0x4026AF: test_dsync_brain_full (test-dsync-brain.c:272)
==769== by 0x40636F: test_run_funcs (test-common.c:226)
==769== by 0x406490: test_run (test-common.c:234)
==769== by 0x3B0E01EC5C: (below main) (in /lib64/libc-2.12.so)
==769==
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
==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)
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
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)
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
participants (2)
-
Michal Hlavinka
-
Timo Sirainen