From owner-freebsd-current@FreeBSD.ORG Wed Dec 7 09:02:48 2011 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 BBD851065670 for ; Wed, 7 Dec 2011 09:02:48 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm10-vm0.bullet.mail.sp2.yahoo.com (nm10-vm0.bullet.mail.sp2.yahoo.com [98.139.91.198]) by mx1.freebsd.org (Postfix) with SMTP id 9B61C8FC0C for ; Wed, 7 Dec 2011 09:02:48 +0000 (UTC) Received: from [98.139.91.62] by nm10.bullet.mail.sp2.yahoo.com with NNFMP; 07 Dec 2011 09:02:48 -0000 Received: from [208.71.42.194] by tm2.bullet.mail.sp2.yahoo.com with NNFMP; 07 Dec 2011 09:02:48 -0000 Received: from [127.0.0.1] by smtp205.mail.gq1.yahoo.com with NNFMP; 07 Dec 2011 09:02:48 -0000 X-Yahoo-Newman-Id: 290288.94684.bm@smtp205.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Exw3uqgVM1mJvCr85C2jz6Tv.LhtoserMtf.6W9suziasSz IGP_6STaYlidq.ducYc1o6BgsOa4C_yszrD6OY5q_gNqC2xhaC9HRf4fqH1L Fu3IkuwLE5fWBuGRfoFq1tKsY4tvUTsqq28Bmo4EYgDYwmRnchrb7f6ARTRq ACbscY4EBztt_9_PA5T4yXvhTdyyi4ndKLtxDxrtx1TEdrqoV2DlQ7uSlqcm IZoZs5TsoBrdTaT0jkGz_TvC2ThIshYx6GBqJgnqzRDxMihlR7RU_nSdRToE .4SdxJx7WUzp5bYk.wWYxeAkrWL_rahjBnbW1zzxixj5xFmMmN1hGfJ3v.Fe Xq5vwu4UCL3BVzz5RfXt4LsVfoGvdcY6UYzIe9.mbn2reCndCGBrrnPcxGjB 9.1LqBQ3ys6Jn4j6f13P99OchxxPryO664HEO5j1nR8r24hqjVgcU4jCEBVt zkirm X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.20] (se@81.173.150.195 with plain) by smtp205.mail.gq1.yahoo.com with SMTP; 07 Dec 2011 01:02:48 -0800 PST Message-ID: <4EDF2BB5.10602@freebsd.org> Date: Wed, 07 Dec 2011 10:02:45 +0100 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dim@FreeBSD.org References: <4EDEF1FF.5020307@zedat.fu-berlin.de> <4EDF249B.8030104@FreeBSD.org> In-Reply-To: <4EDF249B.8030104@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Extend search range of FreeBSD-10 libtools/configure fixup (was: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build) 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: Wed, 07 Dec 2011 09:02:48 -0000 Am 07.12.2011 09:32, schrieb Dimitry Andric: > That said, you are most likely running into an issue with the fix for > FreeBSD 10-CURRENT in bsd.port.mk, causing the lto-plugin stage > configure script to fail. > > This is because the gcc ports unpack their source code into > ${WRKDIR}/gcc-${VERSIONSTRING}, and then override WRKSRC to > ${WRKDIR}/build. Since bsd.port.mk only applies the run-autotools-fixup > to ${WRKSRC}, the gcc source itself is not properly fixed up. > > You can try the attached patch, which fixes this (and fixes it for all > other ports that override WKRSRC). I had solved a similar problem for BDB a few weeks back and made the same modification (start searching in WRKDIR instead of in WRKSRC). This leads to (minimally) higher run time for the fixup, but it should make a number of ports currently broken on FBSD10 automagically build again ... And the pattern for libtool/configure type files should sufficiently prevent patching of files not touched by the current invocation of "find". SO I'd vote to get that patch into SVN ... Regards, STefan