From owner-freebsd-ports@FreeBSD.ORG Mon Mar 11 17:19:49 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5FFE6310; Mon, 11 Mar 2013 17:19:49 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-x232.google.com (mail-bk0-x232.google.com [IPv6:2a00:1450:4008:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 7501E1B2; Mon, 11 Mar 2013 17:19:48 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id jg9so1842920bkc.37 for ; Mon, 11 Mar 2013 10:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ENlSAPJjwgaEUpx4ZNLJvTzo23DzvdhETnbsDYtuMuA=; b=gaUPriBLLAifZ5JspBjCIGJetKlfalwOzOPlJJ6x23gsiq8M6fU1ouuyjBqqqbDLvB mDXKMGPErcwgJaKFN7SpPpld0argp9IG49hUDtskm5mSs0bREHpVofBXHeqLaViZjodY Yta9GHxV3xrl3ZwLY3qYA0Ev60A7V87E60dszzTDbQ72BjQRLVRmA3Fx+nnmpc42/85Q ZfDsXGldHcQjdChMaRDzd1AxLsvtxQthqfCmUiasfgQedQP2EYqSY4vwR+eYBdybD5ef 7o6f1gDaMVDyt7lnbqfuTRUtRx6OnB6Mzm5YyrS9oCTSpVWxB1/flZ5bIh2GNaU3WkgF bszw== X-Received: by 10.205.64.199 with SMTP id xj7mr5015593bkb.76.1363022387437; Mon, 11 Mar 2013 10:19:47 -0700 (PDT) Received: from [192.168.1.129] ([91.196.229.122]) by mx.google.com with ESMTPS id o2sm4370704bkv.3.2013.03.11.10.19.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Mar 2013 10:19:46 -0700 (PDT) Message-ID: <513E1230.2020101@gmail.com> Date: Mon, 11 Mar 2013 19:19:44 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.1 MIME-Version: 1.0 To: "O. Hartmann" , =?UTF-8?B?R8OhYm9yIEvDtnY=?= =?UTF-8?B?ZXNkw6Fu?= Subject: Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found References: <513B56E8.2060702@zedat.fu-berlin.de> <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> <20130309233930.GA95285@troutmask.apl.washington.edu> <513DAF4F.50602@FreeBSD.org> <20130311131318.GA57506@troutmask.apl.washington.edu> <513DD90F.2090700@daemonic.se> <513E0656.7000601@FreeBSD.org> <1363021078.51002.1.camel@thor.walstatt.dyndns.org> In-Reply-To: <1363021078.51002.1.camel@thor.walstatt.dyndns.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Niclas Zeising , FreeBSD Current , Dimitry Andric , Steve Kargl , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 17:19:49 -0000 11.03.2013 18:57, O. Hartmann пишет: > On Mon, 2013-03-11 at 17:29 +0100, Dimitry Andric wrote: >> On 2013-03-11 14:15, Niclas Zeising wrote: >> BSD grep does something very strange here: >> >> $ echo 'foo.bar' | grep foo.bar >> foo.bar >> $ echo 'foo.barx' | grep foo.bar >> foo.barx >> $ echo 'sub/foo.bar' | grep sub/foo.bar >> sub/foo.bar >> $ echo 'sub/foo.barx' | grep sub/foo.bar >> $ echo $? >> 1 >> >> So why does it not match in the last case? GNU grep works: >> >> $ echo 'sub/foo.barx' | gnugrep sub/foo.bar >> sub/foo.barx > > After disabling WITH_BSD_GREP and rebuild of the system, it seems that > the machines in question now build lang/gcc. > > So how about resurrecting http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/167921 ? Looks like BSD_GREP still has some problems with slashes. http://scan.freebsd.your.org/freebsd-head/usr.bin.grep/2013-03-10-amd64/ has some good pointers on where to start. I'm not that familiar with C to dive in. -- Sphinx of black quartz, judge my vow.