From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by sourceware.org (Postfix) with ESMTPS id 0A44F3858C53 for ; Fri, 17 Mar 2023 09:03:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0A44F3858C53 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3sRi-1qcrY11gPo-00zk6T; Fri, 17 Mar 2023 10:03:29 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id C1784A80B93; Fri, 17 Mar 2023 10:03:28 +0100 (CET) Date: Fri, 17 Mar 2023 10:03:28 +0100 From: Corinna Vinschen To: cygwin-apps@cygwin.com Cc: Brian Inglis Subject: Re: grep rebuild? Message-ID: Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com, Brian Inglis References: <3ad3d9ce-3569-91f9-7f80-0d3fc8fbe237@Shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3ad3d9ce-3569-91f9-7f80-0d3fc8fbe237@Shaw.ca> X-Provags-ID: V03:K1:nipq69fmgA1z2vA+Gs2xWsBm92kojX4ALmUKTVqigXyKI1k6EVv 2u0cnRwfhENosNUmePdoxNg0SsGqL+3PhmlRLmFNjLkUzpMR+6BVRYwBKILf4OOHOO0H+Ju +meOERj4bTSwHAxq/h3pWHbfOrvRGhW2NgxHf1ncpxtBgZULNwZ3JsIzAi/yxX893BIzH0R UsQzsQWaMlLKK5cUvrbtg== UI-OutboundReport: notjunk:1;M01:P0:7utJA0Kf8n4=;FwCbIxOqOfsMQWmpcpgG6yOfT86 CQ7vNipbdVz+hn5+/1A1pXeuAWOC2ENsAgF+atYBbFfebTlxt+uZYPbdCHPHGD22Vn6CBz9oz j4rzQMbIuc20X9cetmib3iVlhfUqzI1EKIqWGDew1Yf4DM1BGFzrEqjobmMNEUbiEZwxtsGs6 uIZcq/qaB9Ce+uzR4ZjmuHoYcsxQ1nALa4n1WUvjjAvk93FF+v9ceLQq5H6h2Sk2rd5BsXTjr a512eEIRTU6utjga2Qmz1UV/R9NIGy9BbkDBtw1RY81hDD+zb3DLZBKViTCb5bh9EHdGeCz1z JrjHQrJL8SEUzo1szGJ4FAaVAbqlvsK6FsIBmcg/s4UIfiPfUyEe4Jnk0iwBCLM83afrTCd1o 101lW4ih5pk9kORd6YBPDIEtPpgmErYuyyNDJPmo0WE0Y45SIkJ4MdlZmGo5Q1WEn9HO4Yejx D35cR/1i4qEb1xCzUyD8R7GTTVf4wFTnLbSxWC2I/jDeuZ2j5WPhX0TeOj1/+x2f6rxhgVGWl avOqDdx+8URPuG+S5poW8BEAz5LLe+0bqrzMcmgZGVwRqYiCo3JVjDOIMkaQ6//dJHRu70Zh5 LD5BaHMreN0q3ucb0ko8Gt6ZrduqxwIC2njBHfkcFb5JV0a4xZtf0ED5zQlxydWEJFaxEKQ0+ lJpGqZ0pQH3PvycjdG0sExOK9QGp/PkeaZz6R80rgg== X-Spam-Status: No, score=-97.5 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_DMARC_NONE,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_FAIL,SPF_HELO_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mar 16 18:50, Brian Inglis via Cygwin-apps wrote: > On 2023-03-16 10:50, Brian Inglis via Cygwin-apps wrote: > > On 2023-03-16 06:08, Corinna Vinschen via Cygwin-apps wrote: > > > Hi Brian, > > > > > > there's a problem with the grep package.  It uses the internally > > > provided GNULIB regex library. > > > > > > Unfortunately, that's the default if the system doesn't provide a more > > > recent GLibc.  Which we'll never do.  The problem is this: Native > > > language support in GNULIB's regex is *only* available, if it's built as > > > part of GLibc. > > > > > > I'd like to ask you to rebuild grep 3.9 with the > > > --without-included-regex option. > > > > > > That will allow grep to use Cygwin's own regex, which already comes with > > > basic native language support, and which I'm working on to sbetter > > > support equivalence class and collation symbol expressions. > > > > Hi Corinna, > > > > We discussed this and I was going to release grep 3.8 test release 3, > > for testing with snapshots or when Cygwin 3.5.0 is released, then grep > > 3.9 came out, and I realized grep is updated every few months, so that > > went on the back burner. I can do a test release for 3.9-2 with that > > configuration change. > > > > The current release passes all the class tests and works for me and Andrey. > > Are there any other implications of language support affecting grep? > > Config option --without-included-regex no longer seems to build with grep > 3.9 on Cygwin - may require glibc regex - or may now autoconfig depending on > [g]libc? > > /usr/lib/gcc/x86_64-pc-cygwin/11/../../../../x86_64-pc-cygwin/bin/ld: > dfasearch.o: in function `regex_compile': > /usr/src/debug/grep-3.9-2/src/dfasearch.c:159: undefined reference to > `re_set_syntax' What a piece of crap! So you either run a GLibc system, or you're forced to use GNULIB regex because grep uses non-standard functions in the generic code. We should switch to FreeBSD grep, it still uses POSIX functions. What a laugh... Not amused, Corinna