Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 19:19:44 +0200
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>, =?UTF-8?B?R8OhYm9yIEvDtnY=?= =?UTF-8?B?ZXNkw6Fu?= <gabor@FreeBSD.org>
Cc:        Niclas Zeising <zeising+freebsd@daemonic.se>, FreeBSD Current <freebsd-current@freebsd.org>, Dimitry Andric <dim@FreeBSD.org>, Steve Kargl <sgk@troutmask.apl.washington.edu>, freebsd-ports@freebsd.org
Subject:   Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found
Message-ID:  <513E1230.2020101@gmail.com>
In-Reply-To: <1363021078.51002.1.camel@thor.walstatt.dyndns.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513E1230.2020101>