Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found

From: Volodymyr Kostyrko <c.kworr_at_gmail.com>
Date: Mon, 11 Mar 2013 19:19:44 +0200
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.
Received on Mon Mar 11 2013 - 16:19:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC