Build failed in Jenkins: cyrus-imapd-master #689

Bron Gondwana brong at fastmail.fm
Wed Jul 11 18:48:46 EDT 2012



On Thu, Jul 12, 2012, at 12:17 AM, Дилян Палаузов wrote:
> Hello,
> 
> can you please send the last lines of "make" before the crash, your 
> versions of automake and libtool, and the content of libcyrus_imap.la ? 
>   My output of make is attached.  From it can be seen, on the lines for 
> cyr_synclog, that libtool is invoked to link with libcyrus_imap.la, and 
> it expands to libcyrus_imap.so, libcyrus.so and libcyrus_min.so .

Trying it without the -j:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I./lib -I. -I./lib -DHAVE_CONFIG_H -I/usr/include -fPIC -g -fPIC -W -Wall -Wextra -MT lib/hashu64.lo -MD -MP -MF lib/.deps/hashu64.Tpo -c lib/hashu64.c  -fPIC -DPIC -o lib/.libs/hashu64.o
/bin/bash ./libtool --tag=CC   --mode=link gcc -fPIC  -g -fPIC -W -Wall -Wextra   -o perl/libcyrus_min.la  lib/assert.lo   lib/hash.lo lib/imapopts.lo lib/libconfig.lo lib/lock_fcntl.lo  lib/map_shared.lo   lib/mpool.lo lib/retry.lo lib/strarray.lo lib/strhash.lo lib/util.lo lib/xmalloc.lo lib/xstrlcat.lo lib/xstrlcpy.lo lib/hashu64.lo  -ldb-4.8 -lpcre -lpcreposix -lz
libtool: link: ar cru perl/.libs/libcyrus_min.a lib/.libs/assert.o lib/.libs/hash.o lib/.libs/imapopts.o lib/.libs/libconfig.o lib/.libs/lock_fcntl.o lib/.libs/map_shared.o lib/.libs/mpool.o lib/.libs/retry.o lib/.libs/strarray.o lib/.libs/strhash.o lib/.libs/util.o lib/.libs/xmalloc.o lib/.libs/xstrlcat.o lib/.libs/xstrlcpy.o lib/.libs/hashu64.o 
libtool: link: ranlib perl/.libs/libcyrus_min.a
libtool: link: ( cd "perl/.libs" && rm -f "libcyrus_min.la" && ln -s "../libcyrus_min.la" "libcyrus_min.la" )
gcc -DHAVE_CONFIG_H -I.   -I. -I./lib -I. -I./lib -DHAVE_CONFIG_H     -I/usr/include -fPIC  -fvisibility=hidden -g -fPIC -W -Wall -Wextra -MT imtest/imtest_imtest-imtest.o -MD -MP -MF imtest/.deps/imtest_imtest-imtest.Tpo -c -o imtest/imtest_imtest-imtest.o `test -f 'imtest/imtest.c' || echo './'`imtest/imtest.c
./lib/prot.h:156:12: warning: ‘prot_flush_internal’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:237:12: warning: ‘prot_setreadcallback’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:281:26: warning: ‘protgroup_copy’ declared ‘static’ but never defined [-Wunused-function]
mv -f imtest/.deps/imtest_imtest-imtest.Tpo imtest/.deps/imtest_imtest-imtest.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc -fPIC  -fvisibility=hidden -g -fPIC -W -Wall -Wextra   -o imtest/imtest imtest/imtest_imtest-imtest.o lib/libcyrus.la lib/libcyrus_min.la -ldb-4.8 -lpcre -lpcreposix -lz -ldb-4.8 -lpcre -lpcreposix -lz
libtool: link: gcc -fPIC -fvisibility=hidden -g -fPIC -W -Wall -Wextra -o imtest/.libs/imtest imtest/imtest_imtest-imtest.o  lib/.libs/libcyrus.so lib/.libs/libcyrus_min.so -ldb-4.8 -lpcre -lpcreposix -lz -Wl,-rpath -Wl,/usr/cyrus/lib
depbase=`echo imap/arbitron.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.   -I. -I./lib -I. -I./lib -DHAVE_CONFIG_H     -I/usr/include -fPIC  -g -fPIC -W -Wall -Wextra -MT imap/arbitron.o -MD -MP -MF $depbase.Tpo -c -o imap/arbitron.o imap/arbitron.c &&\
	mv -f $depbase.Tpo $depbase.Po
./lib/prot.h:156:12: warning: ‘prot_flush_internal’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:237:12: warning: ‘prot_setreadcallback’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:281:26: warning: ‘protgroup_copy’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:151:12: warning: ‘mboxname_userid_to_parts’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:182:13: warning: ‘mboxname_hash’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:194:14: warning: ‘mboxname_lockpath’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:202:12: warning: ‘mboxname_netnewscheck’ declared ‘static’ but never defined [-Wunused-function]
./lib/cyrusdb.h:221:12: warning: ‘cyrusdb_dumpfile’ declared ‘static’ but never defined [-Wunused-function]
./lib/cyrusdb.h:225:12: warning: ‘cyrusdb_truncate’ declared ‘static’ but never defined [-Wunused-function]
./lib/cyrusdb.h:227:12: warning: ‘cyrusdb_undumpfile’ declared ‘static’ but never defined [-Wunused-function]
./lib/cyrusdb.h:260:12: warning: ‘cyrusdb_create’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:409:30: warning: ‘mailbox_get_updatenotifier’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:430:12: warning: ‘cache_parserecord’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:434:12: warning: ‘cache_append_record’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:435:12: warning: ‘mailbox_append_cache’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:440:20: warning: ‘cache_base’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:441:17: warning: ‘cache_size’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:442:20: warning: ‘cache_buf’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:449:24: warning: ‘mailbox_findopen’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:471:12: warning: ‘mailbox_find_index_record’ declared ‘static’ but never defined [-Wunused-function]
imap/mailbox.h:480:12: warning: ‘mailbox_record_hasflag’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:85:13: warning: ‘dlist_makeatom’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:86:13: warning: ‘dlist_makeflag’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:87:13: warning: ‘dlist_makenum32’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:88:13: warning: ‘dlist_makenum64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:89:13: warning: ‘dlist_makedate’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:90:13: warning: ‘dlist_makehex64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:91:13: warning: ‘dlist_makemap’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:92:13: warning: ‘dlist_makeguid’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:93:13: warning: ‘dlist_makefile’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:98:12: warning: ‘dlist_toatom’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:100:12: warning: ‘dlist_tonum32’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:102:12: warning: ‘dlist_todate’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:114:12: warning: ‘dlist_isatomlist’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:115:12: warning: ‘dlist_iskvlist’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:116:12: warning: ‘dlist_isfile’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:118:12: warning: ‘dlist_isnum’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:119:12: warning: ‘dlist_ishex64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:120:12: warning: ‘dlist_isguid’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:128:22: warning: ‘dlist_newpklist’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:141:22: warning: ‘dlist_sethex64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:155:22: warning: ‘dlist_updateatom’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:157:22: warning: ‘dlist_updateflag’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:159:22: warning: ‘dlist_updatenum32’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:161:22: warning: ‘dlist_updatenum64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:163:22: warning: ‘dlist_updatedate’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:165:22: warning: ‘dlist_updatehex64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:167:22: warning: ‘dlist_updatemap’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:169:22: warning: ‘dlist_updateguid’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:171:22: warning: ‘dlist_updatefile’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:185:12: warning: ‘dlist_gethex64’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:195:12: warning: ‘dlist_getfile’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:207:13: warning: ‘dlist_parse_asatomlist’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:213:13: warning: ‘dlist_unstitch’ declared ‘static’ but never defined [-Wunused-function]
imap/dlist.h:218:22: warning: ‘dlist_getkvchild_bykey’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxlist.h:228:12: warning: ‘mboxlist_abort’ declared ‘static’ but never defined [-Wunused-function]
imap/seen.h:97:12: warning: ‘seen_create_user’ declared ‘static’ but never defined [-Wunused-function]
depbase=`echo imap/cli_fatal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.   -I. -I./lib -I. -I./lib -DHAVE_CONFIG_H     -I/usr/include -fPIC  -g -fPIC -W -Wall -Wextra -MT imap/cli_fatal.o -MD -MP -MF $depbase.Tpo -c -o imap/cli_fatal.o imap/cli_fatal.c &&\
	mv -f $depbase.Tpo $depbase.Po
./lib/prot.h:156:12: warning: ‘prot_flush_internal’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:237:12: warning: ‘prot_setreadcallback’ declared ‘static’ but never defined [-Wunused-function]
./lib/prot.h:281:26: warning: ‘protgroup_copy’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:151:12: warning: ‘mboxname_userid_to_parts’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:182:13: warning: ‘mboxname_hash’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:194:14: warning: ‘mboxname_lockpath’ declared ‘static’ but never defined [-Wunused-function]
imap/mboxname.h:202:12: warning: ‘mboxname_netnewscheck’ declared ‘static’ but never defined [-Wunused-function]
depbase=`echo imap/mutex_fake.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	gcc -DHAVE_CONFIG_H -I.   -I. -I./lib -I. -I./lib -DHAVE_CONFIG_H     -I/usr/include -fPIC  -g -fPIC -W -Wall -Wextra -MT imap/mutex_fake.o -MD -MP -MF $depbase.Tpo -c -o imap/mutex_fake.o imap/mutex_fake.c &&\
	mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc -fPIC  -g -fPIC -W -Wall -Wextra   -o imap/arbitron imap/arbitron.o imap/cli_fatal.o imap/mutex_fake.o imap/libcyrus_imap.la -ldb-4.8 -lpcre -lpcreposix -lz -ldb-4.8 -lpcre -lpcreposix -lz
libtool: link: gcc -fPIC -g -fPIC -W -Wall -Wextra -o imap/.libs/arbitron imap/arbitron.o imap/cli_fatal.o imap/mutex_fake.o  imap/.libs/libcyrus_imap.so -ldb-4.8 -lpcre -lpcreposix -lz -Wl,-rpath -Wl,/usr/cyrus/lib
/usr/bin/ld: imap/arbitron.o: undefined reference to symbol 'xstrdup'
/usr/bin/ld: note: 'xstrdup' is defined in DSO /usr/cyrus/lib/libcyrus_min.so.0 so try adding it to the linker command line
/usr/cyrus/lib/libcyrus_min.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [imap/arbitron] Error 1
make[2]: Leaving directory `/home/brong/src/cyrus-imapd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brong/src/cyrus-imapd'
make: *** [all] Error 2

brong at prin ~/src/cyrus-imapd $ libtool --version
libtool (GNU libtool) 2.4.2
Written by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 1996

Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

brong at prin ~/src/cyrus-imapd $ automake --version
automake (GNU automake) 1.11.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey at redhat.com>
       and Alexandre Duret-Lutz <adl at gnu.org>.


Bron.
-- 
  Bron Gondwana
  brong at fastmail.fm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcyrus_imap.la
Type: application/x-shared-library-la
Size: 3073 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20120712/0c34e7b2/attachment.bin 


More information about the Cyrus-devel mailing list