I bisected the issue and found it was fixed by this commit:

44ce9372a29319c01d4ac7f24287fb36315e0e34 is the first bad commit
commit 44ce9372a29319c01d4ac7f24287fb36315e0e34
Author: Guillaume Bour <gb...@orange-vallee.net>
Date:   Thu Dec 11 14:07:21 2014 +0100

    [fix] grok is not working anymore with PCRE >= 8.34 because the
latter does
    not allow anymore a group name to start with digits (PCRE Changelog
version 8.34, point 36)
    
    this commit fix the issue by prepending a '_' at the start of group
    name.
    It remains compatible with older versions of PCRE

Found with:

~~~sh
git bisect origin/master 11942705515393ef12a5ed438abff0fe7b3ca232
git run test.sh
~~~

with test.sh:

~~~sh
#!/bin/sh

main() {
  set -e

  export PREFIX=temp
  make clean
  make
  make install

  cd temp
  ./bin/grok -f /usr/share/doc/grok/examples/numberpredicate.grok
}

if main; then false ; else true ; fi
~~~

-- Gabriel


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to