From owner-freebsd-ports@FreeBSD.ORG Tue Aug 4 16:10:56 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 7465D1065677 for ; Tue, 4 Aug 2009 16:10:56 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id 0117D8FC1C for ; Tue, 4 Aug 2009 16:10:55 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 16223 invoked from network); 4 Aug 2009 16:10:54 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.143.240.137) by smtp004.apm-internet.net with SMTP; 4 Aug 2009 16:10:54 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id n74GArsH040805; Tue, 4 Aug 2009 17:10:53 +0100 (BST) (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id n74GAr9h040804; Tue, 4 Aug 2009 17:10:53 +0100 (BST) (envelope-from njm@njm.me.uk) Date: Tue, 4 Aug 2009 17:10:53 +0100 From: "N.J. Mann" To: freebsd-ports@FreeBSD.org, pgollucci@FreeBSD.org Message-ID: <20090804161053.GA1604@titania.njm.me.uk> Mail-Followup-To: freebsd-ports@FreeBSD.org, pgollucci@FreeBSD.org References: <20090803125519.GA60550@twisted.net> <20090803155055.GA31733@titania.njm.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20090803155055.GA31733@titania.njm.me.uk> X-Operating-System: FreeBSD 7.2-STABLE User-Agent: mutt-NJM (2009-07-16) Cc: Subject: Re: apr-gdbm-db42 upgrade conflicting with libtool 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: Tue, 04 Aug 2009 16:10:56 -0000 In message <20090803155055.GA31733@titania.njm.me.uk>, N.J. Mann (njm@njm.me.uk) wrote: > In message <20090803125519.GA60550@twisted.net>, > Troy (troy@twisted.net) wrote: > > I was trying to upgrade apr-gdbm-db42-1.3.6.1.3.8 to 1.3.7.1.3.8 and ran > > into the following error. My libtool was just upgraded to libtool-2.2.= 6a > > so there may be a conflict there. Anyone have ideas? > >=20 > >=20 > > checking minix/config.h usability... no > > checking minix/config.h presence... no > > checking for minix/config.h... no > > checking whether it is safe to define __EXTENSIONS__... yes > > checking for library containing strerror... none required > > checking whether system uses EBCDIC... no > > performing libtool configuration... > > ./configure: 9753: Syntax error: word unexpected (expecting ")") > > *** Error code 2 > >=20 > > Stop in /usr/ports/devel/apr. > > *** Error code 1 > >=20 > > Stop in /usr/ports/devel/apr. >=20 > I am also having problems updating devel/apr. In my case it gets past > the configure stage and fails during the compile stage: >=20 > %%%%% >=20 > =3D=3D=3D> Building for apr-gdbm-db43-1.3.7.1.3.8 > cd /usr/ports.workdir/usr/ports/devel/apr/work/apr-1.3.7; /usr/bin/env TM= PDIR=3D"/home/njm/tmp" TMPDIR=3D"/home/njm/tmp" SHELL=3D/bin/sh NO_LINT=3DY= ES ACLOCAL=3D/usr/local/bin/aclocal-1.9 AUTOMAKE=3D/usr/local/bin/automake-= 1.9 AUTOMAKE_VERSION=3D19 AUTOCONF=3D/usr/local/bin/autoconf-2.62 AUTOHEADE= R=3D/usr/local/bin/autoheader-2.62 AUTOIFNAMES=3D/usr/local/bin/ifnames-2.6= 2 AUTOM4TE=3D/usr/local/bin/autom4te-2.62 AUTORECONF=3D/usr/local/bin/autor= econf-2.62 AUTOSCAN=3D/usr/local/bin/autoscan-2.62 AUTOUPDATE=3D/usr/local/= bin/autoupdate-2.62 AUTOCONF_VERSION=3D262 LIBTOOL=3D/usr/local/bin/libtool= LIBTOOLIZE=3D/usr/local/bin/libtoolize LIBTOOL_M4=3D/usr/local/share/acloc= al/libtool.m4 PREFIX=3D/usr/local LOCALBASE=3D/usr/local X11BASE=3D/usr/lo= cal MOTIFLIB=3D"-L/usr/local/lib -lXm -lXp" LIBDIR=3D"/usr/lib" CC=3D"cc"= CFLAGS=3D"-O2 -fno-strict-aliasing -pipe" CXX=3D"c++" CXXFLAGS=3D"-O2 -fno= -strict-aliasing -pipe" MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"in= stall -s -m 555" BSD_INSTALL_SCRIPT=3D"install -m 555" BSD_INSTALL_DA= TA=3D"install -m 444" BSD_INSTALL_ > MAN=3D"install -m 444" /usr/bin/make > /bin/sh /libtool --silent --mode=3Dcompile cc -O2 -fno-strict-aliasing = -pipe -DHAVE_CONFIG_H -I./include -I/usr/ports.workdir/usr/ports/devel/a= pr/work/apr-1.3.7/include/arch/unix -I./include/arch/unix -I/usr/ports.work= dir/usr/ports/devel/apr/work/apr-1.3.7/include/arch/unix -I/usr/ports.workd= ir/usr/ports/devel/apr/work/apr-1.3.7/include -o passwd/apr_getpass.lo -c = passwd/apr_getpass.c && touch passwd/apr_getpass.lo ^ | This is the why it fails. In the relevant makefile this is actually: =2E/build/apr_rules.mk:38:LIBTOOL=3D$(SHELL) $(top_builddir)/libtool but top_buildir is not defined anywhere in the makefiles. If I set it then everything works. If I change the line above to use top_blddir instead of top_builddir it works. So, why isn't it defined? I looked through the config files - I know nothing about autoconf, automake, &c., and found: =2E/config.log:17410:LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' =2E/config.log:17611:top_builddir=3D'/usr/ports.workdir/usr/ports/devel/apr= /work/apr-1.3.7' but I do not know whether the syntax of the second line is correct (the path is for my setup). Anyway, I tried compiling after making the above change and it worked until it changed directory into apr/work/apr-util-1.3.8 whereapon the same problem manifested. This time though I had to change the line in build/rules.mk to be LIBTOOL=3D$(SHELL) $(apr_builddir)/libtool and that did the trick: I now have an updated devel/apr. I really would like to get to the bottom of why this is failing for me, even if it is not failing for anyone else. Any and all suggetions accepted. Cheers, Nick. --=20