Hi,

buildbot tried to build openvpn after David's merge yesterday, and failed
miserably.  To see what happened I tried to reproduce on my FreeBSD 7.4
build slave, and found this, in a fresh git clone:

gert@fbsd74:/home/gert$ git clone 
git://openvpn.git.sourceforge.net/gitroot/openvpn/openvpn.git
...
gert@fbsd74:/home/gert/openvpn$ autoreconf -vi
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal -I m4
autoreconf-2.68: configure.ac: tracing
autoreconf-2.68: configure.ac: not using Libtool
autoreconf-2.68: running: /usr/local/bin/autoconf-2.68
configure.ac:328: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:329: error: possibly undefined macro: AC_LIBTOOL_RC
configure.ac:330: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf-2.68: /usr/local/bin/autoconf-2.68 failed with exit status: 1

running this again:

gert@fbsd74:/home/gert/openvpn$ autoreconf -vi
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.ac: not using Gettext
autoreconf-2.68: running: aclocal -I m4
autoreconf-2.68: configure.ac: tracing
autoreconf-2.68: configure.ac: not using Libtool
autoreconf-2.68: running: /usr/local/bin/autoconf-2.68
autoreconf-2.68: running: /usr/local/bin/autoheader-2.68
autoreconf-2.68: running: automake --add-missing --copy --no-force
configure.ac:39: installing `./config.guess'
configure.ac:39: installing `./config.sub'
configure.ac:38: installing `./install-sh'
configure.ac:38: installing `./missing'
src/compat/Makefile.am:18: Libtool library used but `LIBTOOL' is undefined
src/compat/Makefile.am:18:   The usual way to define `LIBTOOL' is to add 
`AC_PROG_LIBTOOL'
src/compat/Makefile.am:18:   to `configure.ac' and run `aclocal' and `autoconf' 
again.
src/compat/Makefile.am:18:   If `AC_PROG_LIBTOOL' is in `configure.ac', make 
sure
src/compat/Makefile.am:18:   its definition is in aclocal's search path.
src/compat/Makefile.am: installing `./depcomp'
autoreconf-2.68: automake failed with exit status: 1

This upsets buildbot, because it expects "autoreconf" to run through - so
it fails in the "git clone, autoreconf" phase.


It does create a working "configure", though, so when I try to build
from it, something more happens

gert@fbsd74:/home/gert/test$ ../openvpn/configure
...
checking for SSL_CTX_new in -lssl... yes
checking for EVP_CIPHER_CTX_set_key_length... yes
checking for ENGINE_load_builtin_engines... yes
checking for ENGINE_register_all_complete... yes
checking for ENGINE_cleanup... yes
checking for ssl_init in -lpolarssl... no
checking for aes_crypt_cbc in -lpolarssl... no
checking for lzo1x_1_15_compress in -llzo2... yes
checking lzo/lzoutil.h usability... yes
checking lzo/lzoutil.h presence... yes
checking for lzo/lzoutil.h... yes
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking for PKCS11_HELPER... no
configure: error: libdl is required for plugins

Now, this needs fixing - there is no libdl on FreeBSD, because dlopen()
and friends are part of libc:

----------------------------------------------------------------------------
DLOPEN(3)              FreeBSD Library Functions Manual              DLOPEN(3)

NAME
     dlopen, dlsym, dlfunc, dlerror, dlclose -- programmatic interface to the
     dynamic linker

LIBRARY
     Standard C Library (libc, -lc)
----------------------------------------------------------------------------

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpWA849wwqz8.pgp
Description: PGP signature

Reply via email to