On Fri, 2013-02-22 at 09:44 +0100, Nikos Mavrogiannopoulos wrote: > > If you add AM_PROG_AR does it work? I have similar issues with the GnuTLS 2.12, btw. It's been reported to me that GnuTLS 2.12 is reporting a certificate validation failure on certain servers where OpenSSL and GnuTLS 3 are working. This is 2.12.22 so the fixes which went into 2.12.20 should already be present. It may well be something related, though. Just adding AM_PROG_AR doesn't work but cherry-picking commit 77670476 does get it a little further. I also removed '-Werror' from the AM_INIT_AUTOMAKE line. Then it dies thus: [dwmw2 at i7 gnutls]$ make autoreconf maint.mk:1362: warning: overriding recipe for target `upload' cfg.mk:111: warning: ignoring old recipe for target `upload' for f in lib/po/*.po.in; do \ cp $f `echo $f | sed 's/.in//'`; \ done mv lib/build-aux/config.rpath lib/build-aux/config.rpath- test -f ./configure || autoreconf --install configure.ac:54: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: gl_EARLY is expanded from... configure.ac:54: the top level configure.ac:132: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:132: the top level configure.ac:54: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: gl_EARLY is expanded from... configure.ac:54: the top level configure.ac:132: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... configure.ac:132: the top level Copying file ABOUT-NLS Copying file build-aux/config.rpath Copying file m4/codeset.m4 Copying file m4/gettext.m4 Copying file m4/glibc2.m4 Copying file m4/glibc21.m4 Copying file m4/iconv.m4 Copying file m4/intdiv0.m4 Copying file m4/intl.m4 Copying file m4/intldir.m4 Copying file m4/intlmacosx.m4 Copying file m4/intmax.m4 Copying file m4/inttypes-pri.m4 Copying file m4/inttypes_h.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/lock.m4 Copying file m4/longlong.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/printf-posix.m4 Copying file m4/progtest.m4 Copying file m4/size_max.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/visibility.m4 Copying file m4/wchar_t.m4 Copying file m4/wint_t.m4 Copying file m4/xsize.m4 Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en at boldquot.header Copying file po/en at quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level configure.ac:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:314: AC_GNU_SOURCE is expanded from... gl/m4/gnulib-comp.m4:34: lgl_EARLY is expanded from... configure.ac:37: the top level automake: warnings are treated as errors configure.ac:44: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed. configure.ac:44: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:44: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:37: installing 'build-aux/config.guess' configure.ac:37: installing 'build-aux/config.sub' configure.ac:29: installing 'build-aux/install-sh' configure.ac:29: installing 'build-aux/missing' Makefile.am: installing './INSTALL' Makefile.am: installing 'build-aux/depcomp' autoreconf: automake failed with exit status: 1 make: *** [autoreconf] Error 1 [dwmw2 at i7 gnutls]$ I really *REALLY* hate autohell. It's deliberately bailing out over the way we invoke 'mkdir'. Really? MKDIR? For fuck's sake, mkdir is surely one of those things which just fucking works everywhere? And yet autoshite is managing, yet again, to create incompatibility and breakage all of its VERY OWN where there really didn't need to be any. I really cannot fathom why a tool which is supposed to *improve* portability and buildability manages to be so UTTERLY AND COMPREHENSIVELY FUCKING BRAIN-DAMAGED and break compatibility every time you so much as *breathe* on it. There will be a brief interlude while I go and lie down in a darkened room, and then I'll mail you a file fill of CAs and a server hostname with which GnuTLS 2.12 doesn't work... -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6171 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20130225/0aae6dc6/attachment.bin>