Build failed in Jenkins: cyrus-imapd-master #519
Greg Banks
gnb at fastmail.fm
Mon Apr 16 20:07:52 EDT 2012
On Mon, Apr 16, 2012, at 05:01 PM, Jenkins wrote:
> See <http://ci.cyrusimap.org/job/cyrus-imapd-master/519/>
>
> ------------------------------------------
> [...truncated 1473 lines...]
> sync_reset.c
> gcc -L4.8/lib -Wl,-rpath,4.8/lib --coverage -o \
> sync_reset sync_reset.o sync_support.o \
> libimap.a mutex_fake.o ../lib/libcyrus.a ../lib/libcyrus_min.a -lsasl2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lssl -lcrypto -lfl -ldb-4.3 -lz -luuid -lcom_err
> make[2]: Leaving directory
> `<http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/imap'>
> ### Making all in
> <http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/imtest>
> make[2]: Entering directory
> `<http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/imtest'>
> gcc -c -I.. -I./../lib -DHAVE_CONFIG_H -g -O0 --coverage imtest.c
> gcc -L4.8/lib -Wl,-rpath,4.8/lib --coverage -o imtest imtest.o
> ../lib/libcyrus.a ../lib/libcyrus_min.a -lsasl2 -lgssapi_krb5 -lkrb5
> -lk5crypto -lcom_err -lkrb5support -lssl -lcrypto -lfl -ldb-4.3 -lz
> -luuid
> make[2]: Leaving directory
> `<http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/imtest'>
> ### Making all in
> <http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/ptclient>
> make[2]: Entering directory
> `<http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/ptclient'>
> gcc -c -I.. -I./../imap -I./../lib -I/usr/include -DHAVE_CONFIG_H -g
> -O0 ptexpire.c
> ptexpire.c: In function ‘main’:
> ptexpire.c:161: warning: passing argument 4 of ‘cyrusdb_foreach’ from
> incompatible pointer type
> ptexpire.c:161: warning: passing argument 5 of ‘cyrusdb_foreach’ from
> incompatible pointer type
I've fixed these and some other warnings
> gcc -L4.8/lib -Wl,-rpath,4.8/lib -o ptexpire ptexpire.o
> ../imap/mutex_fake.o ../imap/cli_fatal.o ../imap/libimap.a
> ../lib/libcyrus.a ../lib/libcyrus_min.a -lsasl2 -lsasl2 -lgssapi_krb5
> -lkrb5 -lk5crypto -lcom_err -lkrb5support -lssl -lcrypto -lfl
> -ldb-4.3 -lz -luuid -lcom_err -luuid
> ../imap/mutex_fake.o: In function `global constructors keyed to
> 0_cyrus_mutex_alloc':
> <http://ci.cyrusimap.org/job/cyrus-imapd-master/ws/imapd/imap/mutex_fake.c>:67:
> undefined reference to `__gcov_init'
This is because ptclient/Makefile.in did not include $EXTRAFLAGS when
defining $CFLAGS, which is how the top-level 'coverage' target passes
down the linker flags that add the right library to satisfy __gcov_*
symbols.
Fixed in
The following changes since commit
ba1b7a4a304932d948ecdbf3d959253c361e370a:
sieve/message.c: remove #include "parseaddr.h" (2012-04-16 23:21:43
+0000)
are available in the git repository at:
ssh://git.cyrusimap.org/git/cyrus-imapd master
Greg Banks (3):
ptclient: fix top level coverage_all target
ptclient: fix various compile warnings
ptclient: update cvsignore -> gitignore
ptclient/{.cvsignore => .gitignore} | 1 -
ptclient/Makefile.in | 4 ++--
ptclient/ldap.c | 3 ++-
ptclient/ptdump.c | 4 ++--
ptclient/ptexpire.c | 10 +++++-----
ptclient/ptloader.c | 10 +++-------
6 files changed, 14 insertions(+), 18 deletions(-)
rename ptclient/{.cvsignore => .gitignore} (73%)
--
Greg.
More information about the Cyrus-devel
mailing list