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

Bron Gondwana brong at fastmail.fm
Tue Mar 13 02:39:08 EDT 2012


On Tue, Mar 13, 2012 at 11:54:44AM +1100, Greg Banks wrote:
> > Commit a95d47894f08539f794e020f334d8327015f13ef by brong
> > Bug #3642 - add 'specialusealways' switch to imapd.conf
> 
> that added a new imapd.conf option, but the changes didn't flow through
> to the
> object code properly.  Clearly there's a Makefile bug here.  Aha:
> 
> -rw-r--r-- 1 tomcat tomcat 21063 Mar 12 05:01 libconfig.c
> -rw-rw-r-- 1 tomcat tomcat 63616 Mar 12 05:01 libconfig.o
> -rw-r--r-- 1 tomcat tomcat   62904 Mar 12 17:01 imapoptions
> -rw-rw-r-- 1 tomcat tomcat  132440 Mar 12 17:01 imapopts.o
> -rw-rw-r-- 1 tomcat tomcat   10129 Mar 12 17:01 imapopts.h
> -rw-rw-r-- 1 tomcat tomcat   55749 Mar 12 17:01 imapopts.c
> 
> So on this last run, make rebuilt:
> 
> imapoptions -> imapopts.c, imapopts.h
> imapopts.c -> imapopts.o
> 
> but it did NOT build
> 
> libconfig,c -> libconfig.o
> 
> presumably because it lack the dependency information to know that it
> should, as libconfig.a #includes imapopts.h.
> 
> Stupid dependency crap...we need automake!!
> 
> Anyway, the easiest workaround is probably to do a "make clean" in the
> autobuild.sh script
> to remove all the .o files.

Here's what I do:

alias cb='cd /extra/src/git/cmu/cyrus-imapd; make clean; git clean -f -x; aclocal -I cmulocal; autoheader; autoconf; CFLAGS="-g -W -Wall" ./configure --enable-unit-tests --enable-replication --enable-nntp --enable-murder --enable-idled --with-bdb=db-4.6 && make && sudo make install && sudo cp tools/mkimap /usr/cyrus/bin/mkimap'

Bron.


More information about the Cyrus-devel mailing list