From owner-freebsd-ports@FreeBSD.ORG Thu Jun 3 15:09:32 2010 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 05BDA1065673; Thu, 3 Jun 2010 15:09:32 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id BCA098FC12; Thu, 3 Jun 2010 15:09:31 +0000 (UTC) Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by hub.org (Postfix) with ESMTP id 381443455930; Thu, 3 Jun 2010 12:09:31 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 27091-04; Thu, 3 Jun 2010 15:09:31 +0000 (UTC) Received: by hub.org (Postfix, from userid 1002) id 0BD143455927; Thu, 3 Jun 2010 12:09:31 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by hub.org (Postfix) with ESMTP id 0B61D34558ED; Thu, 3 Jun 2010 12:09:31 -0300 (ADT) Date: Thu, 3 Jun 2010 12:09:30 -0300 (ADT) From: "Marc G. Fournier" To: Dylan Leigh In-Reply-To: Message-ID: References: <20100603123255.GA72458@clarence.dleigh.ath.cx> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: pgollucci@freebsd.org, freebsd-ports@freebsd.org Subject: Re: devel/apr1 upgrade fails with Xcc/etc errors ... 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, 03 Jun 2010 15:09:32 -0000 Looking a bit into this, trying to figure out *something* ... In files/patch-apr_buildconf, it has: === cat /usr/ports/devel/apr1/files/patch-apr_buildconf --- apr-1.4.2/buildconf.orig 2009-02-24 06:37:18.000000000 +0300 +++ apr-1.4.2/buildconf 2009-09-27 14:25:11.000000000 +0400 @@ -71,6 +71,7 @@ echo "buildconf: Using libtool.m4 at ${ltfile}." +chmod 664 build/libtool.m4 cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' > build/libtool.m4 # libtool.m4 from 1.6 requires ltsugar.m4 === Why is 'build/libtool.m4' hard coded vs using ${ltfile}? It doesn't fix the problem, only silences one error in configure about No such file or directory ... On Thu, 3 Jun 2010, Marc G. Fournier wrote: > > [+pgollucci, last committer to apr1 port] > > > On Thu, 3 Jun 2010, Marc G. Fournier wrote: > >> On Thu, 3 Jun 2010, Dylan Leigh wrote: >> >>> On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote: >>>> X--mode=compile: not found >>>> *** Warning: inferring the mode of operation is deprecated.: not found >>>> *** Future versions of Libtool will require --mode=MODE be specified.: >>>> not >>>> found >>>> Xcc: not found >>>> X-g: not found >>>> X-O2: not found >>>> X-DHAVE_CONFIG_H: not found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> X-I/usr/local/include: not found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: >>>> not >>>> found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not >>>> found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> X-I./include/arch/unix: not found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not >>>> found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found >>>> X-c: not found >>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: >>>> Xpasswd/apr_getpass.lo: not found >>>> libtool: compile: cannot determine name of library object from `': not >>>> found >>> >>> I got the same errors. As I only need apr for Subversion I was able to >>> work around it by editing the subversion makefile to use apr0. The svn >>> port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache >>> is installed it insists on apr1. >> >> I've tried to build apr1 on a few different boxes, and get the same errors, >> so I suspect its a relatively common problem ... the weird thing I'm >> finding is I can't find even where Xcc (or similar) is being defined: >> >> ams# cd /home/ports/usr/ports/devel/apr1/work >> ams# grep -r Xcc . >> ams# grep -r Xcc /usr/ports/Mk >> ams# cd /usr/ports/devel/apr1 >> ams# grep -r Xcc . >> >> Is it using the wrong libtool? >> >> /bin/sh /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent >> --mode=compile cc -g -O2 -DHAVE_CONFIG_H -I >> >> >> ---- >> Marc G. Fournier Hub.Org Hosting Solutions S.A. >> scrappy@hub.org http://www.hub.org >> >> Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >> > > ---- > Marc G. Fournier Hub.Org Hosting Solutions S.A. > scrappy@hub.org http://www.hub.org > > Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. scrappy@hub.org http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy@hub.org