You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Charles Reiss <ch...@eecs.berkeley.edu> on 2011/12/19 01:08:24 UTC

Re: flaky build process on debian-squeeze-amd64

[+cc mesos-dev]

On 12/18/11 3:52 PM, Alexey Tumanov wrote:
> hey guys,
> 
> ok, zookeeper build process seems very flaky : I keep getting various
> errors related to it. First it seemed related to cppunit packages
> missing -- got those installed. Now it complains about libtool version
> mismatch:
> <snippet of make output>
> make  all-am
> make[2]: Entering directory
> `/h/atumanov/devrepo/mesos/third_party/zookeeper-3.3.1/src/c'
> /bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
> -I./include -I./tests -I./generated  -Wall -Werror  -g -O2 -D_GNU_SOURCE
> -MT zookeeper.lo -MD -MP -MF .deps/zookeeper.Tpo -c -o zookeeper.lo
> `test -f 'src/zookeeper.c' || echo './'`src/zookeeper.c
> libtool: Version mismatch error.  This is libtool 2.2.6 Debian-2.2.6a-4,
> but the
> libtool: definition of this LT_INIT comes from libtool 2.2.6b.
> libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
> Debian-2.2.6a-4
> libtool: and run autoconf again.
> make[2]: *** [zookeeper.lo] Error 63
> make[2]: Leaving directory
> `/h/atumanov/devrepo/mesos/third_party/zookeeper-3.3.1/src/c'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/h/atumanov/devrepo/mesos/third_party/zookeeper-3.3.1/src/c'
> make: *** [third_party] Error 2
> </snippet>
> 
> I am running Debian squeeze, x86_64, with uname:
> Linux atumanov-login 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011
> x86_64 GNU/Linux
> I am using the lucid-64 config template -- all paths in it exist and
> match my system.
> 
> configure script completes just fine. Early on in the make process, I
> get this warning, which is also related to autotools version:
> <snippet of make output>
> /h/atumanov/devrepo/mesos/third_party/libprocess/third_party/glog-0.3.1/missing:
> line 54: aclocal-1.10: command not found
> WARNING: `aclocal-1.10' is missing on your system.  You should only need
> it if
>          you modified `acinclude.m4' or `configure.ac
> <http://configure.ac>'.  You might want
>          to install the `Automake' and `Perl' packages.  Grab them from
>          any GNU archive site.
> </snippet>
> 
> How can I make this thing happy?

It's an error for any of the autotools-related (libtool, configure,
aclocal.m4, etc.) files in third_party to be regenerated, and apparently
they were before the error you specified occurred. (If you look at 'git
diff'/'svn diff', you'll probably see that they differ from what's in
version control.) This seems like some timestamp related problems. If
you can revert the files and touch them so 'make' knows not to try
regenerating them, that should fix it.

If you are going to regenerate the build files in some third_party
directory, you should do all of them as with 'autoreconf -fi' from the
appropriate directory.

- Charles