issues with bsdgrep and lang/go

Alexander Best arundel at freebsd.org
Wed Aug 10 20:09:08 UTC 2011


On Tue Aug  9 11, Jason Hellenthal wrote:
> 
> So has the maintainer of bsdgrep updated it yet so these things do not
> happen ?, if not (and apparently not) I don't understand why you are
> explicitly defaulting your gnugrep to a broken bsdgrep. This was a known
> problem a few months back and I for one have not seen updates on that
> yet.

well i'd like to help the author of bsdgrep to improve it. testing it and
then going back to gnu grep, because bsdgrep still has bugs isn't going to help
much. by using it i'd like to trip over these kind of bugs and report them.

but you're right...the author hasn't really paid a lot of attention to bsdgrep,
lately. :( i guess that's a problem when you have an open os, where everybody
can do as much or as little as it pleases him. ;)

> 
> Debugging pencil should be handy in this case.
> 
> On Tue, Aug 09, 2011 at 08:18:42AM +0000, Alexander Best wrote:
> > hi there,
> > 
> > i'm running HEAD on amd64 with bsdgrep (WITH_BSD_GREP=true). i noticed the
> > lang/go port won't build due to errors caused by egrep. this might be a ports
> > issue, but to me it rather looks like bsdgrep is not behaving exactly the same,
> > as gnu grep. however i haven't tried building the port with gnu grep. maybe
> > somebody could check that out. the port errors are of the following form:
> > 
> > [...]
> > gmake -C 6g install
> > gmake[1]: Entering directory `/usr/ports/lang/go/work/go-20110515/src/cmd/6g'
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/list.c"
> > egrep: : error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level: |In file included from|        from: No such file or directory
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/gobj.c"
> > egrep: : error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level: |In file included from|        from: No such file or directory
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/galign.c"
> > egrep: : error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level: |In file included from|        from: No such file or directory
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/ggen.c"
> > egrep: : error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level: |In file included from|        from: No such file or directory
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/usr/ports/lang/go/work/go-20110515/src/cmd/6g/cgen.c"
> > egrep: : error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level: |In file included from|        from: No such file or directory
> > quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c -I. -o cplx.o ../gc/cplx.c
> > [...]
> > 
> > cheers.
> > alex
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"




More information about the freebsd-current mailing list