From owner-freebsd-current@FreeBSD.ORG Wed Dec 7 12:44:01 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 9C1ED106564A; Wed, 7 Dec 2011 12:44:00 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9C3B68FC0A; Wed, 7 Dec 2011 12:43:59 +0000 (UTC) Received: by bkbzv15 with SMTP id zv15so252415bkb.13 for ; Wed, 07 Dec 2011 04:43:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=7RMiK1p5E2VQWRfxNXAIQhKkfJqpeco1HSDM1ooCbww=; b=aci/GJt9UxU+jstjs2USDnPRu3W5PkzaEMLeZZjxbTHUto+2LbrPbLshjMEXiaD8+I m9xnwlsuFUAmp4EyWsVHj6aKKx3UB4zf4GS+AmzJcjJMMc0UTgsp6VMb4ha+Pv4YiSKJ yOVACA3ssxrXfJ2QJMjfz6qpOwGdTkfNvedz4= MIME-Version: 1.0 Received: by 10.180.94.195 with SMTP id de3mr17616259wib.14.1323261838214; Wed, 07 Dec 2011 04:43:58 -0800 (PST) Received: by 10.180.94.131 with HTTP; Wed, 7 Dec 2011 04:43:58 -0800 (PST) Date: Wed, 7 Dec 2011 12:43:58 +0000 Message-ID: From: "b. f." To: freebsd-current@FreeBSD.org, Stefan Esser , miwi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: 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 Reply-To: bf1783@gmail.com 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 12:44:01 -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 ... We've had a patch to do this, and make a few other related changes, for about a month now. I'm not sure why it hasn't gone into bsd.port.mk yet -- perhaps Martin had some other work to do -- but I think that it will appear soon. b.