GNU bug report logs - #22899
new snapshot available: grep-2.23.7-9e28

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Fri, 4 Mar 2016 01:58:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22899 in the body.
You can then email your comments to 22899 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Fri, 04 Mar 2016 01:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jim Meyering <jim <at> meyering.net>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Fri, 04 Mar 2016 01:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: bug-grep <at> gnu.org, TP coordinator <coordinator <at> translationproject.org>, 
 platform-testers <at> gnu.org
Subject: new snapshot available: grep-2.23.7-9e28
Date: Thu, 3 Mar 2016 17:57:05 -0800
I'm ready to make a new bug-fix release of grep, so
am making this test release. I plan to release grep-2.24
within the next few days, so if you can build and test,
please let us know how that goes.

This release (so soon after 2.23) is prompted by the
discovery of two bugs related to the --null-data (-z) option.
These bugs were introduced in 2010 and 2002 respectively.

Here are the tarballs:

grep snapshot:
  http://meyering.net/grep/grep-ss.tar.xz      1.3 MB
  http://meyering.net/grep/grep-ss.tar.xz.sig
  http://meyering.net/grep/grep-2.23.7-9e28.tar.xz


Here are the new NEWS entries:
========================
** Bug fixes

  grep -z would match strings it should not.  To trigger the bug, you'd
  have to use a regular expression including an anchor (^ or $) and a
  feature like a range or a backreference, causing grep to forego its DFA
  matcher and resort to using re_search.  With a multibyte locale, that
  matcher could mistakenly match a string containing a newline.
  For example, this command:
    printf 'a\nb\0' | LC_ALL=en_US.utf-8 grep -z '^[a-b]*b'
  would mistakenly match and print all four input bytes.  After the fix,
  there is no match, as expected.
  [bug introduced in grep-2.7]

  grep -Pz now diagnoses attempts to use patterns containing ^ and $,
  instead of mishandling these patterns.  This problem seems to be
  inherent to the PCRE API; removing this limitation is on PCRE's
  maint/README wish list.  Patterns can continue to match literal ^
  and $ by escaping them with \ (now needed even inside [...]).
  [bug introduced in grep-2.5]


==============================
Changes in grep since v2.23:

Jim Meyering (6):
      maint: post-release administrivia
      maint: add a check-very-expensive target
      tests: convert "cmd && fail=1" to "returns_ 1 cmd || fail=1"
      grep -z: avoid erroneous match with regexp anchor and \n in text
      tests: test cleanup
      maint: add dist-check.mk

Paul Eggert (1):
      grep: -Pz is incompatible with ^ and $




Information forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Fri, 04 Mar 2016 10:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 22899 <at> debbugs.gnu.org (full text, mbox):

From: Shlomi Fish <shlomif <at> shlomifish.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: coordinator <at> translationproject.org, 22899 <at> debbugs.gnu.org,
 platform-testers <at> gnu.org
Subject: Re: bug#22899: new snapshot available: grep-2.23.7-9e28
Date: Fri, 4 Mar 2016 12:33:37 +0200
Hi Jim,

On Thu, 3 Mar 2016 17:57:05 -0800
Jim Meyering <jim <at> meyering.net> wrote:

> I'm ready to make a new bug-fix release of grep, so
> am making this test release. I plan to release grep-2.24
> within the next few days, so if you can build and test,
> please let us know how that goes.
> 

the test suite gives me:

============================================================================
Testsuite summary for GNU grep 2.23.7-9e28
============================================================================
# TOTAL: 138
# PASS:  129
# SKIP:  9
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

on Mageia Linux x86-64 v6/Cauldron.

Is there anything else that I can do for you?

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
https://youtu.be/n6KAGqjdmsk - “Hurt Me Tomorrow”

In Soviet Russia, XSLT codes you. Badly!
    — http://www.shlomifish.org/humour/bits/facts/XSLT/

Please reply to list if it's a mailing list post - http://shlom.in/reply .




Information forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Fri, 04 Mar 2016 15:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 22899 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Jim Meyering <jim <at> meyering.net>, 22899 <at> debbugs.gnu.org
Subject: Re: bug#22899: new snapshot available: grep-2.23.7-9e28
Date: Fri, 4 Mar 2016 10:20:17 -0500
Hello,

On 03/03/2016 08:57 PM, Jim Meyering wrote:
> grep snapshot:
>    http://meyering.net/grep/grep-2.23.7-9e28.tar.xz

No failures (with minimal build, no pcre) on:
  CentOS 7 + 6.5,   amd64
  Ubuntu 14.04,   amd64
  Ubuntu 15.04   amd64 + i686
  openSUSE 42.1, 13.1,   amd64
  Fedora 23, 22, 21,   amd64
  Debian 8.1, 7.6,   amd64
  Trisquel 7.0, 6.0.1,   amd64
 
  Fedora-21, ppc64le
  Fedora-20, ppc64
  Ubuntu-14, aarch64

  OpenBSD 5.8, 5.7, 5.6, amd64
  FreeBSD 10.1, 9.3,   amd64
  NetBSD 6.1.4,   amd64
  NetBSD 7.0,   amd64 (though one gnulib test fails to compile, similar to this:
                     http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00083.html ).
  AIX-7.1,power7
  GNU Hurd 0.7,   i686
  Debian-7/kFreeBSD-9,  amd64
  OpenSolaris 5.10/5.11 on i86pc and suv4u/sub4v

On Minix 3.3.0, one test fails ('symlink'), same as mentioned here (with decision not to fix):
  http://lists.gnu.org/archive/html/bug-grep/2016-01/msg00050.html


regards,
 - assaf




Information forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Fri, 04 Mar 2016 17:49:03 GMT) Full text and rfc822 format available.

Message #14 received at 22899 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 22899 <at> debbugs.gnu.org
Subject: Re: bug#22899: new snapshot available: grep-2.23.7-9e28
Date: Fri, 4 Mar 2016 09:48:12 -0800
On Fri, Mar 4, 2016 at 7:20 AM, Assaf Gordon <assafgordon <at> gmail.com> wrote:
> Hello,
>
> On 03/03/2016 08:57 PM, Jim Meyering wrote:
>>
>> grep snapshot:
>>    http://meyering.net/grep/grep-2.23.7-9e28.tar.xz
>
>
> No failures (with minimal build, no pcre) on:
>   CentOS 7 + 6.5,   amd64
>   Ubuntu 14.04,   amd64
>   Ubuntu 15.04   amd64 + i686
>   openSUSE 42.1, 13.1,   amd64
>   Fedora 23, 22, 21,   amd64
>   Debian 8.1, 7.6,   amd64
>   Trisquel 7.0, 6.0.1,   amd64
>    Fedora-21, ppc64le
>   Fedora-20, ppc64
>   Ubuntu-14, aarch64
>
>   OpenBSD 5.8, 5.7, 5.6, amd64
>   FreeBSD 10.1, 9.3,   amd64
>   NetBSD 6.1.4,   amd64
>   NetBSD 7.0,   amd64 (though one gnulib test fails to compile, similar to
> this:
>
> http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00083.html ).
>   AIX-7.1,power7
>   GNU Hurd 0.7,   i686
>   Debian-7/kFreeBSD-9,  amd64
>   OpenSolaris 5.10/5.11 on i86pc and suv4u/sub4v
>
> On Minix 3.3.0, one test fails ('symlink'), same as mentioned here (with
> decision not to fix):
>   http://lists.gnu.org/archive/html/bug-grep/2016-01/msg00050.html

Hi Assaf,
Thank you for testing with that impressive menagerie.




Information forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Tue, 08 Mar 2016 20:48:02 GMT) Full text and rfc822 format available.

Message #17 received at 22899 <at> debbugs.gnu.org (full text, mbox):

From: santiagorr <at> riseup.net
To: Jim Meyering <jim <at> meyering.net>
Cc: 22899 <at> debbugs.gnu.org
Subject: Re: bug#22899: new snapshot available: grep-2.23.7-9e28
Date: Tue, 8 Mar 2016 21:47:34 +0100
El 03/03/16 a las 17:57, Jim Meyering escribió:
> I'm ready to make a new bug-fix release of grep, so
> am making this test release. I plan to release grep-2.24
> within the next few days, so if you can build and test,
> please let us know how that goes.
> 
> This release (so soon after 2.23) is prompted by the
> discovery of two bugs related to the --null-data (-z) option.
> These bugs were introduced in 2010 and 2002 respectively.
> 
> Here are the tarballs:
> 
> grep snapshot:
>   http://meyering.net/grep/grep-ss.tar.xz      1.3 MB
>   http://meyering.net/grep/grep-ss.tar.xz.sig
>   http://meyering.net/grep/grep-2.23.7-9e28.tar.xz

For the record, it has been built and installed on almost all Debian
supported architectures, including non-official ports:

https://buildd.debian.org/status/package.php?p=grep&suite=experimental

Amd64 and i386 builders run expensive tests.

Santiago




Information forwarded to bug-grep <at> gnu.org:
bug#22899; Package grep. (Tue, 08 Mar 2016 20:57:01 GMT) Full text and rfc822 format available.

Message #20 received at 22899 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Bailes Magio <santiagorr <at> riseup.net>
Cc: 22899 <at> debbugs.gnu.org
Subject: Re: bug#22899: new snapshot available: grep-2.23.7-9e28
Date: Tue, 8 Mar 2016 12:55:47 -0800
On Tue, Mar 8, 2016 at 12:47 PM,  <santiagorr <at> riseup.net> wrote:
...
>>   http://meyering.net/grep/grep-2.23.7-9e28.tar.xz
>
> For the record, it has been built and installed on almost all Debian
> supported architectures, including non-official ports:
>
> https://buildd.debian.org/status/package.php?p=grep&suite=experimental
>
> Amd64 and i386 builders run expensive tests.

Thank you for all the testing and the feedback.




bug closed, send any further explanations to 22899 <at> debbugs.gnu.org and Jim Meyering <jim <at> meyering.net> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sun, 10 Apr 2016 22:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 09 May 2016 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.