From owner-freebsd-ports@FreeBSD.ORG Thu Aug 20 10:56:14 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7AD0106568B for ; Thu, 20 Aug 2009 10:56:14 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C64A88FC6F for ; Thu, 20 Aug 2009 10:56:13 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA03784; Thu, 20 Aug 2009 13:56:12 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A8D2BCB.8060905@icyb.net.ua> Date: Thu, 20 Aug 2009 13:56:11 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090724) MIME-Version: 1.0 To: pgollucci@FreeBSD.org, freebsd-ports@FreeBSD.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: devel/apr: can't build after update to libtool-2.2.6a X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 10:56:14 -0000 Ports tree updated this morning. libtool-2.2.6a is installed stable/7 amd64 Options: _OPTIONS_READ=apr-gdbm-db42-1.3.8.1.3.9 WITH_THREADS=true WITHOUT_IPV6=true WITH_GDBM=true WITH_BDB=true WITHOUT_NDBM=true WITHOUT_LDAP=true WITHOUT_MYSQL=true WITHOUT_PGSQL=true Build fails at configure stage. Interesting snippets from output: ===> Configuring for apr-gdbm-db42-1.3.8.1.3.9 cd /usr/obj/ports/usr/ports/devel/apr/work/apr-1.3.8 ; /usr/bin/env CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -march=nocona" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/bin/aclocal-1.9 AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19 AUTOCONF=/usr/local/bin/autoconf-2.62 AUTOHEADER=/usr/local/bin/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/bin/autoreconf-2.62 AUTOSCAN=/usr/local/bin/autoscan-2.62 AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf buildconf: checking installation... buildconf: python version 2.6.2 (ok) buildconf: autoconf version 2.62 (ok) buildconf: libtool version 2.2.6 (ok) Copying libtool helper files ... buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ... configure.in:190: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd build/libtool.m4:67: LT_INIT is expanded from... build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.in:190: the top level configure.in:190: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:190: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd Creating configure ... configure.in:190: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd build/libtool.m4:67: LT_INIT is expanded from... build/libtool.m4:102: AC_PROG_LIBTOOL is expanded from... configure.in:190: the top level configure.in:190: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd configure.in:190: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd configure.in:190: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd configure:9755: error: possibly undefined macro: m4_ifval If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:12392: error: possibly undefined macro: _LT_SET_OPTIONS configure:12392: error: possibly undefined macro: LT_INIT ... cd /usr/obj/ports/usr/ports/devel/apr/work/apr-1.3.8; /usr/bin/env CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe -march=nocona" PYTHON="/usr/local/bin/python2.6" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ACLOCAL=/usr/local/bin/aclocal-1.9 AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19 AUTOCONF=/usr/local/bin/autoconf-2.62 AUTOHEADER=/usr/local/bin/autoheader-2.62 AUTOIFNAMES=/usr/local/bin/ifnames-2.62 AUTOM4TE=/usr/local/bin/autom4te-2.62 AUTORECONF=/usr/local/bin/autoreconf-2.62 AUTOSCAN=/usr/local/bin/autoscan-2.62 AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh ./configure --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --with-installbuilddir=/usr/local/share/apr/build-1 --enable-threads --disable-ipv6 ... performing libtool configuration... ./configure: 9753: Syntax error: word unexpected (expecting ")") *** Error code 2 Looking into the file I see a snippet in non-shell syntax: Xsed="$SED -e 1s/^X//" lt_if_append_uniq(lt_decl_varnames, SED, , , lt_dict_add_subkey([lt_decl_dict], [SED], [libtool_name], [m4_ifval([], [], [SED])]) lt_dict_add_subkey([lt_decl_dict], [SED], [value], [1]) m4_ifval([A sed program that does not truncate output], [lt_dict_add_subkey([lt_decl_dict], [SED], [description], [A sed program that does not truncate output])]) lt_dict_add_subkey([lt_decl_dict], [SED], [tagged?], [m4_ifval([], [yes], [no])])) lt_if_append_uniq(lt_decl_varnames, Xsed, , , lt_dict_add_subkey([lt_decl_dict], [Xsed], [libtool_name], [m4_ifval([], [], [Xsed])]) lt_dict_add_subkey([lt_decl_dict], [Xsed], [value], ["\$SED -e 1s/^X//"]) m4_ifval([Sed that helps us avoid accidentally triggering echo(1) options like -n], [lt_dict_add_subkey([lt_decl_dict], [Xsed], [description], [Sed that helps us avoid accidentally triggering echo(1) options like -n])]) lt_dict_add_subkey([lt_decl_dict], [Xsed], [tagged?], [m4_ifval([], [yes], [no])])) -- Andriy Gapon