From owner-freebsd-current@FreeBSD.ORG Wed Aug 10 03:31:05 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9AED106566B; Wed, 10 Aug 2011 03:31:05 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 79E108FC0A; Wed, 10 Aug 2011 03:31:05 +0000 (UTC) Received: by ywm39 with SMTP id 39so517798ywm.13 for ; Tue, 09 Aug 2011 20:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=0x9r4ktKiVruvAB+q6r7zFAC8fq6NmNoBtvQtwUZMqw=; b=jcvzkscIo0bCZGGfggI3Hf8v2e8ctcwcXxIELpB7Dr6a02Raq/XAQuw2U4QVrvQ4um DQGdyflCtve0w1Jyvweq+ezJulboeZ5krhYrNKVa24acUFQc6oO7/A9NuDV1+w+D8xz7 kn6rKDiQSujOFR5/ur6nSTH8A2Fet3ipIbRjQ= Received: by 10.236.193.102 with SMTP id j66mr5329793yhn.61.1312945384184; Tue, 09 Aug 2011 20:03:04 -0700 (PDT) Received: from DataIX.net (adsl-99-19-47-42.dsl.klmzmi.sbcglobal.net [99.19.47.42]) by mx.google.com with ESMTPS id z28sm644768yhn.35.2011.08.09.20.03.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Aug 2011 20:03:02 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id p7A32x9Q032003 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Aug 2011 23:02:59 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id p7A32v34032002; Tue, 9 Aug 2011 23:02:58 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Tue, 9 Aug 2011 23:02:57 -0400 From: Jason Hellenthal To: Alexander Best Message-ID: <20110810030257.GA31452@DataIX.net> References: <20110809081842.GA64643@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20110809081842.GA64643@freebsd.org> Cc: freebsd-current@freebsd.org, Gabor Kovesdan Subject: Re: issues with bsdgrep and lang/go X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 03:31:05 -0000 --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--