GNU bug report logs - #29446
GNU grep 3.1 fails test suite when PCRE lacks JIT

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: grep; Reported by: "A. Wilcox" <awilfox@HIDDEN>; dated Sat, 25 Nov 2017 21:36:02 UTC; Maintainer for grep is bug-grep@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Oct 2018 16:52:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 15 12:52:49 2018
Received: from localhost ([127.0.0.1]:51087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gC66r-000281-CH
	for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:52:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57088)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whissi@HIDDEN>) id 1gC66p-00027n-P1
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:52:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <whissi@HIDDEN>) id 1gC66j-0007gY-3p
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:52:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51173)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <whissi@HIDDEN>) id 1gC66i-0007gQ-Tz
 for submit <at> debbugs.gnu.org; Mon, 15 Oct 2018 12:52:41 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38417)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <whissi@HIDDEN>) id 1gC66h-0001R0-Kq
 for bug-grep@HIDDEN; Mon, 15 Oct 2018 12:52:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <whissi@HIDDEN>) id 1gC66e-0007cq-AI
 for bug-grep@HIDDEN; Mon, 15 Oct 2018 12:52:39 -0400
Received: from smtp.gentoo.org ([140.211.166.183]:46574)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <whissi@HIDDEN>) id 1gC66d-0007Yx-Tx
 for bug-grep@HIDDEN; Mon, 15 Oct 2018 12:52:36 -0400
Received: from [IPv6:2001:4dd4:1109:0:69fe:fc9d:4db5:f3ac]
 (2001-4dd4-1109-0-69fe-fc9d-4db5-f3ac.ipv6dyn.netcologne.de
 [IPv6:2001:4dd4:1109:0:69fe:fc9d:4db5:f3ac])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested) (Authenticated sender: whissi)
 by smtp.gentoo.org (Postfix) with ESMTPSA id F0829335C95
 for <bug-grep@HIDDEN>; Mon, 15 Oct 2018 16:52:30 +0000 (UTC)
To: bug-grep@HIDDEN
In-Reply-To: 
From: Thomas Deutschmann <whissi@HIDDEN>
Subject: bug#29446: GNU grep 3.1 fails test suite when PCRE lacks JIT
Openpgp: preference=signencrypt
Autocrypt: addr=whissi@HIDDEN; prefer-encrypt=mutual; keydata=
 xsFNBFc4iggBEACg/drq2pkXyE0mO7cqfaH5UX9D2A8uaBWHcgVPZdf+bVlc7gT1b/TJgFBO
 yCecB1j9ReWWAE55nwraFL7+5XofRnwVzC3PglN/M/F02fudCeEkFfDtH65DZ67LV0QqXOZ7
 e2aqD1NxJM1ydcehIoxgESiv8ctMCcb5Jui2A7vddxEBouQqJKDVqXqANEiBrtd0x4+noRC3
 07BN80SgUiwuSJp8Y9+LSdKWGxiDxFAQygDlLWu1QIOg2PUjrM1ZtKCii8I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d0kcY
 1nR5XKosu/yLWX1WWde8Wh57BDD418JYMSnNyG976OXAeAgWuzmn+xtM8Tw2bHHCNVfCEqBl
 yS+lAdrXR3kIiJ/Ebr5EogsEZvVW9gowPoNIrzeXFYKqGGVc5Z4dQDgVRq7jgta6LJgOVYdP
 z6mrLTdjo4lIlC7U/w/dPBWUd0sn8XmtU5vbAfvgf9dfZtXGYnyI64EGr6I6oVyFj8QO/Ffo
 G/r+glBettColfcT7IiHUMb9i11Sd/FPsL/0EIHWG+a4JTg3QzAODMHF14BLpuqDElV5HlzX
 e9LafsH45PH/EvAxCNuOj6P1E4bPOHwD0Fhgia7YXi2OJVes9hWy8IrEgwUEDQQIFtECxdFa
 nkWlKiYyb9v+nqrjtugh6s6OicvAhnvhESky/QSr747tEnOAFTNYXXtz1BRvTu/tcyBK0m51
 jW1Gwax+9ooGCnNEF2KknaW/NyLo4mFdvSOJOehcwOHn73G04GHSQSs6+f8Oy7GOriQCdwao
 aGduFUuKKOR05r5tstZHpuIW9mlL44LXzGQEEt6INpS0ha2XD28+ojXko2hPt7YgbTqOsFnT
 34feWglZ58mWE7UyHEVXYeMIWqtQptgCf5fNc36jGay6gt0aLFlgy48=
Organization: Gentoo Foundation, Inc
Message-ID: <97be49a9-304d-c34e-15c2-bb1da60645d5@HIDDEN>
Date: Mon, 15 Oct 2018 18:52:20 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="J5kEMuGKmhlF2zTCqVUSiWpYvhcCm1YGS"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.3 (-----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--J5kEMuGKmhlF2zTCqVUSiWpYvhcCm1YGS
Content-Type: multipart/mixed; boundary="H4TOZSIDuSa1uPtMLlzTb0mWIAe5i4s0N";
 protected-headers="v1"
From: Thomas Deutschmann <whissi@HIDDEN>
To: bug-grep@HIDDEN
Message-ID: <97be49a9-304d-c34e-15c2-bb1da60645d5@HIDDEN>
Subject: bug#29446: GNU grep 3.1 fails test suite when PCRE lacks JIT

--H4TOZSIDuSa1uPtMLlzTb0mWIAe5i4s0N
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Hi,

we have a similar problem on Gentoo Linux [1] where we allow to disable
JIT support in PCRE.

With the patch applied from previous mail [2], we are still seeing
failure of test "pcre-jitstack":

FAIL: pcre-jitstack
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

++ initial_cwd_=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=3Dgt
+++ mktempd_ /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests gt-pc=
re-jitstack.XXXX
+++ case $# in
+++ destdir_=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests
+++ template_=3Dgt-pcre-jitstack.XXXX
+++ MAX_TRIES_=3D4
+++ case $destdir_ in
+++ destdir_slash_=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tes=
ts/
+++ case $template_ in
++++ unset TMPDIR
+++ d=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pcre-ji=
tstack.71Wt
+++ case $d in
+++ :
+++ test -d /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pcr=
e-jitstack.71Wt
++++ ls -dgo /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pc=
re-jitstack.71Wt
+++ perms=3D'drwx------ 2 4096 Oct 15 18:33 /var/tmp/portage/sys-apps/gre=
p-3.1/work/grep-3.1/tests/gt-pcre-jitstack.71Wt'
+++ case $perms in
+++ :
+++ echo /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pcre-j=
itstack.71Wt
+++ return
++ test_dir_=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-=
pcre-jitstack.71Wt
++ cd /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pcre-jits=
tack.71Wt
++ gl_init_sh_nl_=3D'
'
++ IFS=3D' =09
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=3D' 0
+ path_dir_=3D../src
+ case $path_dir_ in
+ abs_path_dir_=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/=
=2E./src
+ case $abs_path_dir_ in
+ PATH=3D/var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/../src:/v=
ar/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/src:./src:/usr/lib/portage=
/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers=
:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/i686-p=
c-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/6/bin:/usr/local/sbin:/usr/local/=
bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin
+ create_exe_shims_ /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/test=
s/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=3D' 0
+ export PATH
+ require_pcre_
+ echo .
+ grep -P .
=2E
+ compare /dev/null err
+ compare_dev_null_ /dev/null err
+ test 2 =3D 2
+ test x/dev/null =3D x/dev/null
+ test -s err
+ return 0
+ return 0
+ for p in 'base64 -d' 'base64 -D' 'openssl base64 -d' "perl -MMIME::Base=
64 -0777ne 'print decode_base64(\$_)'" FAIL
+ test 'base64 -d' =3D FAIL
++ echo eA=3D=3D
+ x=3Dx
+ test Xx =3D Xx
+ eval 'b64_decode() { base64 -d; }'
+ break
+ foo=3Dfoo
+ test Xfoo =3D Xfoo
+ fail=3D0
+ b64_decode
+ base64 -d
+ gzip -d pcrejit.txt
+ LC_ALL=3DC
+ grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt
grep: internal PCRE error: -21
+ test 2 '!=3D' 1
+ ulimit -s unlimited
+ ulimit -s unlimited
+ returns_ 1 env LC_ALL=3DC grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.tx=
t
grep: internal PCRE error: -21
+ fail=3D1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=3D1
+ cleanup_
+ :
+ test '' =3D yes
+ cd /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests
+ chmod -R u+rwx /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/g=
t-pcre-jitstack.71Wt
+ rm -rf /var/tmp/portage/sys-apps/grep-3.1/work/grep-3.1/tests/gt-pcre-j=
itstack.71Wt
+ exit 1
FAIL pcre-jitstack (exit status: 1)


See also:
=3D=3D=3D=3D=3D=3D=3D=3D=3D
[1] https://bugs.gentoo.org/569816

[2] https://www.mail-archive.com/bug-grep@HIDDEN/msg06922.html


--=20
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5


--H4TOZSIDuSa1uPtMLlzTb0mWIAe5i4s0N--

--J5kEMuGKmhlF2zTCqVUSiWpYvhcCm1YGS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAlvExclfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDEz
MTI5MUNFOEY4QjBENzI2MDVDN0I5NDQ0RTZFQkRDOUJGNjA1NTkACgkQRObr3Jv2
BVkBcggAuQtxMG7CLRj7DZr7jVqrBtOPb5VXthLLXfoMEdQFVelpIYvXbgL2wu45
B5vf5hO07Vb5Diryywli4ele1lyXTCgP9ofmFRj8GJhug3VEzRy4oWySOBf9ZeHP
gIr6nfEZvGYbY6w9CnmyH1Tbxt9YPgp+1YbGT/k+55er5EM2x8ARVzKFD74xgvl/
pN5Di+sp+XamggXF3yYTokwb1wFFFpZHJWymCjZIOeGCiqEafj8d6KIjnaFMkKVb
mw+Xg2YaPRLNa9wXC9j77azLA+C9eB7AbYH0yBMGTtwPaJHEy7tcfQyxMpJ5n4eu
LKqUo4j5FUB3/BGH/LBdc9jVDNhASQ==
=pR8G
-----END PGP SIGNATURE-----

--J5kEMuGKmhlF2zTCqVUSiWpYvhcCm1YGS--




Information forwarded to bug-grep@HIDDEN:
bug#29446; Package grep. Full text available.

Message received at 29446 <at> debbugs.gnu.org:


Received: (at 29446) by debbugs.gnu.org; 26 Nov 2017 04:16:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 25 23:16:03 2017
Received: from localhost ([127.0.0.1]:58455 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eIoMM-0006mE-Ru
	for submit <at> debbugs.gnu.org; Sat, 25 Nov 2017 23:16:03 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45324)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1eIoMK-0006lb-Gi
 for 29446 <at> debbugs.gnu.org; Sat, 25 Nov 2017 23:16:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id BF6D2161294;
 Sat, 25 Nov 2017 20:15:52 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 3Flfhw0mT7XH; Sat, 25 Nov 2017 20:15:51 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id DE7791612A4;
 Sat, 25 Nov 2017 20:15:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id 294YkhF7K4Fs; Sat, 25 Nov 2017 20:15:51 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.154.30.119])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B0BA316127F;
 Sat, 25 Nov 2017 20:15:51 -0800 (PST)
Subject: Re: bug#29446: GNU grep 3.1 fails test suite when PCRE lacks JIT
To: "A. Wilcox" <awilfox@HIDDEN>, 29446 <at> debbugs.gnu.org
References: <5A19E207.1090200@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <fd88226c-fca5-9988-9dbb-a9377f40c181@HIDDEN>
Date: Sat, 25 Nov 2017 20:15:51 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <5A19E207.1090200@HIDDEN>
Content-Type: multipart/mixed; boundary="------------7E2CC4BF82A4879DF69070C1"
Content-Language: en-US
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 29446
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

This is a multi-part message in MIME format.
--------------7E2CC4BF82A4879DF69070C1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

I'd rather fix the problem than skip the test. I installed the attached i=
nto the=20
master branch on Savannah: does it fix the problem for you?

PS. Please use the name "Ad=C3=A9lie GNU/Linux" when referring to that di=
stribution,=20
to give proper credit to the GNU project. Thanks.

--------------7E2CC4BF82A4879DF69070C1
Content-Type: text/plain; charset=UTF-8;
 name="0001-grep-port-better-to-Ad-lie-GNU-Linux-64-bit-ppc.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="0001-grep-port-better-to-Ad-lie-GNU-Linux-64-bit-ppc.txt"

RnJvbSBkMDY5NTI1YjIwZTY1ZWY4NmZiNjgwYmE4MzBkYjYzNDQ4N2YxMTFlIE1vbiBTZXAg
MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1
PgpEYXRlOiBTYXQsIDI1IE5vdiAyMDE3IDIwOjA4OjQ1IC0wODAwClN1YmplY3Q6IFtQQVRD
SF0gPT9VVEYtOD9xP2dyZXA6PTIwcG9ydD0yMGJldHRlcj0yMHRvPTIwQWQ9QzM9QTlsaWU9
MjBHTlUvPz0KID0/VVRGLTg/cT9MaW51eD0yMDY0LWJpdD0yMHBwYz89Ck1JTUUtVmVyc2lv
bjogMS4wCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD1VVEYtOApDb250ZW50
LVRyYW5zZmVyLUVuY29kaW5nOiA4Yml0CgpQcm9ibGVtIHJlcG9ydGVkIGJ5IEEuIFdpbGNv
eCAoQnVnIzI5NDQ2KS4KKiBzcmMvcGNyZXNlYXJjaC5jIChQQ1JFX0VYVFJBX01BVENIX0xJ
TUlUX1JFQ1VSU0lPTikKKFBDUkVfU1RVRFlfRVhUUkFfTkVFREVEKTogRGVmYXVsdCB0byAw
Lgooaml0X2V4ZW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
X3N0dWR5X2ZsYWdzID0gUENSRV9TVFVEWV9FWFRSQV9ORUVERUQgfCBQQ1JFX1NUVURZX0pJ
VF9DT01QSUxFOworICBwYy0+ZXh0cmEgPSBwY3JlX3N0dWR5IChwYy0+Y3JlLCBwY3JlX3N0
dWR5X2ZsYWdzLCAmZXApOwogICBpZiAoZXApCiAgICAgZGllIChFWElUX1RST1VCTEUsIDAs
ICIlcyIsIGVwKTsKIAotLSAKMi43LjQKCg==
--------------7E2CC4BF82A4879DF69070C1--




Information forwarded to bug-grep@HIDDEN:
bug#29446; Package grep. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Nov 2017 21:35:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 25 16:35:25 2017
Received: from localhost ([127.0.0.1]:58284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eIi6f-00046C-Mf
	for submit <at> debbugs.gnu.org; Sat, 25 Nov 2017 16:35:25 -0500
Received: from eggs.gnu.org ([208.118.235.92]:58422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <awilfox@HIDDEN>) id 1eIi6c-00045x-N4
 for submit <at> debbugs.gnu.org; Sat, 25 Nov 2017 16:35:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <awilfox@HIDDEN>) id 1eIi6W-0007uT-I6
 for submit <at> debbugs.gnu.org; Sat, 25 Nov 2017 16:35:17 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42860)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <awilfox@HIDDEN>)
 id 1eIi6W-0007uN-BN
 for submit <at> debbugs.gnu.org; Sat, 25 Nov 2017 16:35:16 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49387)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <awilfox@HIDDEN>) id 1eIi6V-0004cK-46
 for bug-grep@HIDDEN; Sat, 25 Nov 2017 16:35:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <awilfox@HIDDEN>) id 1eIi6R-0007s6-OK
 for bug-grep@HIDDEN; Sat, 25 Nov 2017 16:35:15 -0500
Received: from mail.wilcox-tech.com ([45.32.83.9]:39954)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <awilfox@HIDDEN>)
 id 1eIi6R-0007ms-Fc
 for bug-grep@HIDDEN; Sat, 25 Nov 2017 16:35:11 -0500
Received: (qmail 3075 invoked from network); 25 Nov 2017 21:35:04 -0000
Received: from 107-131-85-28.lightspeed.tulsok.sbcglobal.net (HELO
 ?192.168.1.78?) (awilcox@HIDDEN@107.131.85.28)
 by mail.wilcox-tech.com with ESMTPA; 25 Nov 2017 21:35:04 -0000
To: bug-grep@HIDDEN
From: "A. Wilcox" <awilfox@HIDDEN>
Subject: GNU grep 3.1 fails test suite when PCRE lacks JIT
X-Enigmail-Draft-Status: N1110
Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?=
Message-ID: <5A19E207.1090200@HIDDEN>
Date: Sat, 25 Nov 2017 15:35:03 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi there grep developers,

I'm trying to package GNU grep 3.1 on 64-bit PowerPC (big-endian) for
our Linux distribution, Adélie Linux.  It seems to be working quite
well, except there is a failing test: pcre-jitstack.

"grep: internal PCRE error: -21" (which is PCRE_ERROR_RECURSIONLIMIT)
is printed.  I believe that this is because we have to disable JIT on
the ppc64 platform (because the JIT compiler is badly broken on it).

I am not very familiar with either of the grep or PCRE codebases so I
am not sure exactly how to best skip the test when PCRE does not have
JIT support enabled.  Otherwise, I would have included a patch.

Thank you for your time.

Best regards,
- --arw

- -- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
http://adelielinux.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJaGeIDAAoJEMspy1GSK50UYKoP/3xmewMMArDgld6jvXdpFEdG
GQeRly0BWxckUksE3FNRdfw9OBS2VAJKd8FpU+3wbRBp0Lnf9btTBGiHD9vB0cBX
kRQIADw87M6uDIBKedN1lGMjr9E8BcLOj/5GTRIvd6eKDVZspVRW7bHGdb+n4om4
uVlmpyP2niSfYkcE/F9Bv0BQrjjyHUXKbKP+u7O3nA/VJt27tOM1RuIQSnKE2sLE
9hOd8YY88zPP8xAXpSccvq1qnbsCH+X8Av/nzyMGc/xdcvlkbepweeLWZ9eF0+x8
oqBE/fg7EQ4VawUpCTlgwD7+K2c+pXvXIkhksxxNgq6YP1UccCiz8T6JDZsq6VAY
RU4MdlxRrKWMKjVf+GQXBR0tr+F+LeOT9QXC6+vlqISjoT2Ev9NM2HIUamii5uBU
I+9q3Yc8mw2adL07kiMCtKRCMVSoa5Qx+lNaMIsSGCYLOzNajZr/IjzZjbMKSTbC
jb2yx/c6zTshghl1+g/OJYyEikia8T4qXnLp7LwRgF5INp2ep+4rFGk3N5K8SD8X
Xg2vh6QQTqORQChGRHMI9fTWvj5zrxboSCFqinK7ASCZO3uRE/AGvkJcmO+LPPz8
ZPSksPvHvHZCZ76Wq1R8Fo3PAcOPtX4YCEUyNwMb4aOlNORZohFdaZJIMmTdkq9p
r1GLLYi8RjC6V3zaCDw7
=Of5f
-----END PGP SIGNATURE-----




Acknowledgement sent to "A. Wilcox" <awilfox@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-grep@HIDDEN. Full text available.
Report forwarded to bug-grep@HIDDEN:
bug#29446; Package grep. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 15 Oct 2018 17:00:02 UTC

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