Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2011 23:02:57 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-current@freebsd.org, Gabor Kovesdan <gabor@freebsd.org>
Subject:   Re: issues with bsdgrep and lang/go
Message-ID:  <20110810030257.GA31452@DataIX.net>
In-Reply-To: <20110809081842.GA64643@freebsd.org>
References:  <20110809081842.GA64643@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--3V7upXqbjpZ4EhLz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


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.

Debugging pencil should be handy in this case.

On Tue, Aug 09, 2011 at 08:18:42AM +0000, Alexander Best wrote:
> hi there,
>=20
> i'm running HEAD on amd64 with bsdgrep (WITH_BSD_GREP=3Dtrue). i noticed =
the
> lang/go port won't build due to errors caused by egrep. this might be a p=
orts
> 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. may=
be
> somebody could check that out. the port errors are of the following form:
>=20
> [...]
> 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 "/u=
sr/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 directo=
ry
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/u=
sr/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 directo=
ry
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/u=
sr/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 directo=
ry
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/u=
sr/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 directo=
ry
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c "/u=
sr/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 directo=
ry
> quietgcc -I"/usr/ports/lang/go/work/go-20110515/include" -ggdb -O2 -c -I.=
 -o cplx.o ../gc/cplx.c
> [...]
>=20
> cheers.
> alex
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

--3V7upXqbjpZ4EhLz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJOQfThAAoJEJBXh4mJ2FR+HjAIAIWKv3bD9+2KVBsU4RlaDJHD
YHDy3DPtXIQzHN/RwV4cJ5msf7jYPIV/4m0evgHs1WBWK4Ulx0ToLxGi+/sYw3J+
XWP1vwLL2AZFUOPe0LiopjYm7+ludQiwX54E6xEuIKeZ5xdCKGl6RMGJH9XkxbRF
ilsQLlIu+AnioYFWo+NNDLvQgWC7Sj0AEHiV8CPixK7QfD79x0sWT4whBwo3smHl
H8ORkJvSEo4HWJ40UjP+V9sBCIFnrMKgejd/O15VtyqVn0Oe1I7USCh4P3gc6G0F
C/6pcSVxX6lxOKCa6Cczea/MSwBQdt0DKV65HATgtMEa29p5Lnzkm/WJffSBFao=
=cYKZ
-----END PGP SIGNATURE-----

--3V7upXqbjpZ4EhLz--



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