From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 00:11:37 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FB881065677; Mon, 14 Jun 2010 00:11:37 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id D1CD88FC12; Mon, 14 Jun 2010 00:11:36 +0000 (UTC) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id A60C8BF405; Mon, 14 Jun 2010 02:11:35 +0200 (CEST) Received: by qyk11 with SMTP id 11so363473qyk.13 for ; Sun, 13 Jun 2010 17:11:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.63.77 with SMTP id a13mr1838223qai.267.1276474293854; Sun, 13 Jun 2010 17:11:33 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Sun, 13 Jun 2010 17:11:33 -0700 (PDT) In-Reply-To: <4C1569B9.9060804@FreeBSD.org> References: <20100613214600.GH1797@hoeg.nl> <4C156384.40105@FreeBSD.org> <4C1569B9.9060804@FreeBSD.org> Date: Mon, 14 Jun 2010 02:11:33 +0200 Message-ID: From: Alexander Best To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Ed Schouten , freebsd-current@freebsd.org Subject: Re: two buildworld problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 00:11:37 -0000 On Mon, Jun 14, 2010 at 1:28 AM, Doug Barton wrote: > On 06/13/10 16:21, Alexander Best wrote: >> >> `mount -p&& =A0stat -x /usr/src /usr/obj`: > > wow, completely unhelpful. So let me try again. If the /usr/src and /usr/= obj > are not literal directories in /usr then the tests you posted won't work. > Given what you've posted so far I strongly suspect that there is somethin= g > in your environment that is more complicated than it needs to be, which i= s > why you're running into the problems that you are. oh sorry for that. if i comment out all the gcc44 stuff in my make.conf and don't set CC/CXX/CPP in src.conf everything works fine. any suggestions what i should put into my make.conf so that gcc44 only gets picked when the current directory is not /usr/src/* or /usr/obj/*? as you pointed out empty(.CURDIR:M/usr/src/*) and empty(.CURDIR:M/usr/obj/*) aren't doing what i want. actually i just modified this .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44) CC=3Dgcc44 CXX=3Dg++44 CPP=3Dcpp44 .endif which was suggested over @ http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-= ports-gcc.html cheers. > > So to debug it I would suggest that you move make.conf out of the way, th= en > try again without one. If that works, then you can gradually add things b= ack > until you find the culprit. > > > hth, > > Doug > > -- > > =A0 =A0 =A0 =A0... and that's just a little bit of history repeating. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads > > =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with > =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co= m/ > > --=20 Alexander Best