From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 29 16:52:25 2014 Received: (at submit) by debbugs.gnu.org; 29 Oct 2014 20:52:25 +0000 Received: from localhost ([127.0.0.1]:39381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjaEA-00057i-UG for submit@debbugs.gnu.org; Wed, 29 Oct 2014 16:52:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56998) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjaE4-00057L-Qb for submit@debbugs.gnu.org; Wed, 29 Oct 2014 16:52:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjaDt-0006d8-EO for submit@debbugs.gnu.org; Wed, 29 Oct 2014 16:52:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjaDt-0006cu-AZ for submit@debbugs.gnu.org; Wed, 29 Oct 2014 16:52:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjaDn-0004GD-51 for bug-grep@gnu.org; Wed, 29 Oct 2014 16:52:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjaDg-0006NE-UM for bug-grep@gnu.org; Wed, 29 Oct 2014 16:51:58 -0400 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]:56489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjaDg-0006NA-La for bug-grep@gnu.org; Wed, 29 Oct 2014 16:51:52 -0400 Received: by mail-qa0-f52.google.com with SMTP id u7so2815910qaz.11 for ; Wed, 29 Oct 2014 13:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=79qXY7NIS1TWGlcViKT4lPC2VeOIaeSTY5wx1+G6Etc=; b=sG7bUv1qACsOZluF10etzEMSlqtJ4QMmlWPpW5UEv3ECDneVuapZzCv0Ry3tyKP1eB oA5tWO30GnmLzyVbOwHcBwSJW4x/OLAzRrfIDQEKiTwWf6pNala7OTlOgV8X4/na0VTK 02zi1Gayh9E2QzB5w+CiqwcPNLufe7f0H46j6NoHL/EZxJDl/dtLXA0nx7h8nf4w4Kta GyCbZhH76foabn1yyn8IGOlCdd6FUFfu3W/0q6yhLraJh24AikJu6ruf1VI++wyHOlXs eB/DMH/iEdpM0OeOq8ms/KbMZ25o88c2YgVD6M2Ax0rUnZd9Y1ztdSALNlwztKR51Smz 7OgA== X-Received: by 10.224.130.130 with SMTP id t2mr20217615qas.2.1414615911797; Wed, 29 Oct 2014 13:51:51 -0700 (PDT) Received: from disco.wi.mit.edu ([18.4.1.144]) by mx.google.com with ESMTPSA id v2sm5057329qav.44.2014.10.29.13.51.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 13:51:50 -0700 (PDT) Message-ID: <54515367.3040609@gmail.com> Date: Wed, 29 Oct 2014 16:51:51 -0400 From: Assaf Gordon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: bug-grep@gnu.org Subject: few test failure with 'grep-2.20.72-d512' References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------010604060209010800050400" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) This is a multi-part message in MIME format. --------------010604060209010800050400 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hello, On 10/29/2014 02:29 PM, Jim Meyering wrote: > Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanaka, > here is a pre-release snapshot: > > grep snapshot: > http://meyering.net/grep/grep-ss.tar.xz 1.2 MB > http://meyering.net/grep/grep-ss.tar.xz.sig > http://meyering.net/grep/grep-2.20.72-d512.tar.xz > On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), these fail: XFAIL: triple-backref FAIL: word-multibyte Attached is the debian76.test-suite.log from Debian (Ubuntu seemed identical). --- On OpenBSD5.5 (amd64, gcc 4.2.1) these failed: XFAIL: equiv-classes FAIL: word-multibyte Attached is the openbsd55.test-suite.log. --- On CentOS 7 (amd64, gcc 4.8.2), GNU Hurd (x86, gcc 4.8.2), OpenSUSE 13.1 (amd64, gcc 4.8.1) this fails: XFAIL: triple-backref Attached are the logs. --- On FreeBSD 9.3 (amd64, gcc 4.2.1), this fails: === XFAIL: equiv-classes ==================== XFAIL equiv-classes (exit status: 1) === --- On NetBSD 6.1.4, these fail: XFAIL: equiv-classes FAIL: symlink FAIL: word-multibyte Attached is netbsd614.test-suite.log --- No failures on: FreeBSD 10 (amd64, clang 3.3) CentOS 6.5 (amd64, gcc 4.4.7) Fedora 20 (amd64, gcc 4.8.3) Regards, - Assaf --------------010604060209010800050400 Content-Type: text/x-log; name="debian76.test-suite2.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="debian76.test-suite2.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 63 # SKIP: 20 # XFAIL: 1 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: triple-backref ===================== + initial_cwd_=/tmp/grep-2.20.72-d512/tests + fail=0 + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /tmp/grep-2.20.72-d512/tests gt-triple-backref.XXXX + destdir_=/tmp/grep-2.20.72-d512/tests + template_=gt-triple-backref.XXXX + MAX_TRIES_=4 + unset TMPDIR + d=/tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + test -d /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + ls -dgo /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + tr S - + perms=drwx------ 2 4096 Oct 29 15:50 /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + test 0 = 0 + echo /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + return + test_dir_=/tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + cd /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + gl_init_sh_nl_= + IFS= + expr 1 + 128 + eval trap 'Exit 129' 1 + trap Exit 129 1 + expr 2 + 128 + eval trap 'Exit 130' 2 + trap Exit 130 2 + expr 3 + 128 + eval trap 'Exit 131' 3 + trap Exit 131 3 + expr 13 + 128 + eval trap 'Exit 141' 13 + trap Exit 141 13 + expr 15 + 128 + eval trap 'Exit 143' 15 + trap Exit 143 15 + trap remove_tmp_ 0 + path_prepend_ ../src + test 1 != 0 + path_dir_=../src + abs_path_dir_=/tmp/grep-2.20.72-d512/tests/../src + PATH=/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + create_exe_shims_ /tmp/grep-2.20.72-d512/tests/../src + return 0 + shift + test 0 != 0 + export PATH + failures=0 + cat + gcc -std=gnu11 -c glibc.c + echo a + fail=0 + grep -E (.?)(.?)(.?)\3\2\1 in grep: regexec.c:1386: pop_fail_stack: Assertion `num >= 0' failed. Aborted + fail=1 + compare out in + compare_dev_null_ out in + test 2 = 2 + test xout = x/dev/null + test xin = x/dev/null + return 2 + compare_ out in + diff -u out in --- out 2014-10-29 15:50:47.689879001 -0400 +++ in 2014-10-29 15:50:47.689879001 -0400 @@ -0,0 +1 @@ +a + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /tmp/grep-2.20.72-d512/tests + chmod -R u+rwx /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + rm -rf /tmp/grep-2.20.72-d512/tests/gt-triple-backref.4WEh + exit 1 XFAIL triple-backref (exit status: 1) FAIL: word-multibyte ==================== + initial_cwd_=/tmp/grep-2.20.72-d512/tests + fail=0 + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /tmp/grep-2.20.72-d512/tests gt-word-multibyte.XXXX + destdir_=/tmp/grep-2.20.72-d512/tests + template_=gt-word-multibyte.XXXX + MAX_TRIES_=4 + unset TMPDIR + d=/tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + test -d /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + ls -dgo /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + tr S - + perms=drwx------ 2 4096 Oct 29 15:50 /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.Jgt- + test 0 = 0 + echo /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + return + test_dir_=/tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + cd /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + gl_init_sh_nl_= + IFS= + expr 1 + 128 + eval trap 'Exit 129' 1 + trap Exit 129 1 + expr 2 + 128 + eval trap 'Exit 130' 2 + trap Exit 130 2 + expr 3 + 128 + eval trap 'Exit 131' 3 + trap Exit 131 3 + expr 13 + 128 + eval trap 'Exit 141' 13 + trap Exit 141 13 + expr 15 + 128 + eval trap 'Exit 143' 15 + trap Exit 143 15 + trap remove_tmp_ 0 + path_prepend_ ../src + test 1 != 0 + path_dir_=../src + abs_path_dir_=/tmp/grep-2.20.72-d512/tests/../src + PATH=/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + create_exe_shims_ /tmp/grep-2.20.72-d512/tests/../src + return 0 + shift + test 0 != 0 + export PATH + require_en_utf8_locale_ + path_prepend_ . + test 1 != 0 + path_dir_=. + abs_path_dir_=/tmp/grep-2.20.72-d512/tests/. + PATH=/tmp/grep-2.20.72-d512/tests/.:/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + create_exe_shims_ /tmp/grep-2.20.72-d512/tests/. + return 0 + shift + test 0 != 0 + export PATH + get-mb-cur-max en_US.UTF-8 + printf \xc3\xa1\n + LC_ALL=en_US.UTF-8 + export LC_ALL + fail=0 + out=out1-en_US.UTF-8 + LC_ALL=en_US.UTF-8 grep \w in + compare in out1-en_US.UTF-8 + compare_dev_null_ in out1-en_US.UTF-8 + test 2 = 2 + test xin = x/dev/null + test xout1-en_US.UTF-8 = x/dev/null + return 2 + compare_ in out1-en_US.UTF-8 + diff -u in out1-en_US.UTF-8 + out=out2-en_US.UTF-8 + LC_ALL=en_US.UTF-8 grep \W in + fail=1 + compare /dev/null out2-en_US.UTF-8 + compare_dev_null_ /dev/null out2-en_US.UTF-8 + test 2 = 2 + test x/dev/null = x/dev/null + test -s out2-en_US.UTF-8 + emit_diff_u_header_ /dev/null out2-en_US.UTF-8 + printf %s\n diff -u /dev/null out2-en_US.UTF-8 --- /dev/null 1970-01-01 +++ out2-en_US.UTF-8 1970-01-01 diff -u /dev/null out2-en_US.UTF-8 --- /dev/null 1970-01-01 +++ out2-en_US.UTF-8 1970-01-01 + sed s/^/+/ out2-en_US.UTF-8 +\xc3\xa1 + return 1 + return 1 + fail=1 + out=out1-zh_CN + LC_ALL=zh_CN grep \w in + compare in out1-zh_CN + compare_dev_null_ in out1-zh_CN + test 2 = 2 + test xin = x/dev/null + test xout1-zh_CN = x/dev/null + return 2 + compare_ in out1-zh_CN + diff -u in out1-zh_CN + out=out2-zh_CN + LC_ALL=zh_CN grep \W in + fail=1 + compare /dev/null out2-zh_CN + compare_dev_null_ /dev/null out2-zh_CN + test 2 = 2 + test x/dev/null = x/dev/null + test -s out2-zh_CN + emit_diff_u_header_ /dev/null out2-zh_CN + printf %s\n diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01 diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01 + sed s/^/+/ out2-zh_CN +\xc3\xa1 + return 1 + return 1 + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /tmp/grep-2.20.72-d512/tests + chmod -R u+rwx /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + rm -rf /tmp/grep-2.20.72-d512/tests/gt-word-multibyte.JgtS + exit 1 FAIL word-multibyte (exit status: 1) --------------010604060209010800050400 Content-Type: text/x-log; name="openbsd55.test-suite.log" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="openbsd55.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 58 # SKIP: 25 # XFAIL: 1 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: backref-multibyte-slow ============================ backref-multibyte-slow: skipped test: your system lacks the timeout program SKIP backref-multibyte-slow (exit status: 77) SKIP: big-hole ============== big-hole: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP big-hole (exit status: 77) SKIP: big-match =============== big-match: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP big-match (exit status: 77) SKIP: empty =========== empty: skipped test: your system lacks the timeout program SKIP empty (exit status: 77) XFAIL: equiv-classes ==================== é XFAIL equiv-classes (exit status: 1) SKIP: euc-mb ============ é euc-mb: skipped test: EUC-JP locale not found SKIP euc-mb (exit status: 77) SKIP: fgrep-infloop =================== fgrep-infloop: skipped test: your system lacks the timeout program SKIP fgrep-infloop (exit status: 77) SKIP: fmbtest ============= fmbtest: skipped test: this system lacks the cs_CZ.UTF-8 locale SKIP fmbtest (exit status: 77) SKIP: in-eq-out-infloop ======================= in-eq-out-infloop: skipped test: your system lacks the timeout program SKIP in-eq-out-infloop (exit status: 77) SKIP: invalid-multibyte-infloop =============================== é invalid-multibyte-infloop: skipped test: your system lacks the timeout program SKIP invalid-multibyte-infloop (exit status: 77) SKIP: long-line-vs-2GiB-read ============================ long-line-vs-2GiB-read: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP long-line-vs-2GiB-read (exit status: 77) SKIP: max-count-overread ======================== max-count-overread: skipped test: your system lacks the timeout program SKIP max-count-overread (exit status: 77) SKIP: mb-non-UTF8-overrun ========================= mb-non-UTF8-overrun: skipped test: locale not found SKIP mb-non-UTF8-overrun (exit status: 77) SKIP: mb-non-UTF8-performance ============================= mb-non-UTF8-performance: skipped test: your system lacks the timeout program SKIP mb-non-UTF8-performance (exit status: 77) SKIP: pcre ========== pcre: skipped test: no PCRE support SKIP pcre (exit status: 77) SKIP: pcre-abort ================ pcre-abort: skipped test: no PCRE support SKIP pcre-abort (exit status: 77) SKIP: pcre-infloop ================== pcre-infloop: skipped test: no PCRE support SKIP pcre-infloop (exit status: 77) SKIP: pcre-invalid-utf8-input ============================= pcre-invalid-utf8-input: skipped test: no PCRE support SKIP pcre-invalid-utf8-input (exit status: 77) SKIP: pcre-o ============ pcre-o: skipped test: no PCRE support SKIP pcre-o (exit status: 77) SKIP: pcre-utf8 =============== pcre-utf8: skipped test: no PCRE support SKIP pcre-utf8 (exit status: 77) SKIP: pcre-w ============ pcre-w: skipped test: no PCRE support SKIP pcre-w (exit status: 77) SKIP: pcre-wx-backref ===================== pcre-wx-backref: skipped test: no PCRE support SKIP pcre-wx-backref (exit status: 77) SKIP: pcre-z ============ pcre-z: skipped test: no PCRE support SKIP pcre-z (exit status: 77) SKIP: sjis-mb ============= é sjis-mb: skipped test: your system lacks the timeout program SKIP sjis-mb (exit status: 77) SKIP: triple-backref ==================== glibc.c:1:22: error: features.h: No such file or directory glibc.c:4: error: expected identifier or '(' before string constant triple-backref: skipped test: this test runs only on systems with glibc SKIP triple-backref (exit status: 77) SKIP: turkish-eyes ================== é turkish-eyes: skipped test: your tr_TR.UTF-8 locale appears to be broken SKIP turkish-eyes (exit status: 77) FAIL: word-multibyte ==================== --- in Wed Oct 29 16:01:52 2014 +++ out1-zh_CN Wed Oct 29 16:01:52 2014 @@ -1 +0,0 @@ -á diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01 +á FAIL word-multibyte (exit status: 1) --------------010604060209010800050400 Content-Type: text/x-log; name="netbsd614.test-suite.log" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="netbsd614.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 58 # SKIP: 24 # XFAIL: 1 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: backref-multibyte-slow ============================ backref-multibyte-slow: skipped test: your system lacks the timeout program SKIP backref-multibyte-slow (exit status: 77) SKIP: big-hole ============== big-hole: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP big-hole (exit status: 77) SKIP: big-match =============== big-match: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP big-match (exit status: 77) SKIP: empty =========== empty: skipped test: your system lacks the timeout program SKIP empty (exit status: 77) XFAIL: equiv-classes ==================== é XFAIL equiv-classes (exit status: 1) SKIP: euc-mb ============ é euc-mb: skipped test: EUC-JP locale not found SKIP euc-mb (exit status: 77) SKIP: fgrep-infloop =================== fgrep-infloop: skipped test: your system lacks the timeout program SKIP fgrep-infloop (exit status: 77) SKIP: fmbtest ============= fmbtest: skipped test: this system lacks the cs_CZ.UTF-8 locale SKIP fmbtest (exit status: 77) SKIP: in-eq-out-infloop ======================= in-eq-out-infloop: skipped test: your system lacks the timeout program SKIP in-eq-out-infloop (exit status: 77) SKIP: invalid-multibyte-infloop =============================== é invalid-multibyte-infloop: skipped test: your system lacks the timeout program SKIP invalid-multibyte-infloop (exit status: 77) SKIP: long-line-vs-2GiB-read ============================ long-line-vs-2GiB-read: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive SKIP long-line-vs-2GiB-read (exit status: 77) SKIP: max-count-overread ======================== max-count-overread: skipped test: your system lacks the timeout program SKIP max-count-overread (exit status: 77) SKIP: mb-non-UTF8-performance ============================= mb-non-UTF8-performance: skipped test: your system lacks the timeout program SKIP mb-non-UTF8-performance (exit status: 77) SKIP: pcre ========== pcre: skipped test: no PCRE support SKIP pcre (exit status: 77) SKIP: pcre-abort ================ pcre-abort: skipped test: no PCRE support SKIP pcre-abort (exit status: 77) SKIP: pcre-infloop ================== pcre-infloop: skipped test: no PCRE support SKIP pcre-infloop (exit status: 77) SKIP: pcre-invalid-utf8-input ============================= pcre-invalid-utf8-input: skipped test: no PCRE support SKIP pcre-invalid-utf8-input (exit status: 77) SKIP: pcre-o ============ pcre-o: skipped test: no PCRE support SKIP pcre-o (exit status: 77) SKIP: pcre-utf8 =============== pcre-utf8: skipped test: no PCRE support SKIP pcre-utf8 (exit status: 77) SKIP: pcre-w ============ pcre-w: skipped test: no PCRE support SKIP pcre-w (exit status: 77) SKIP: pcre-wx-backref ===================== pcre-wx-backref: skipped test: no PCRE support SKIP pcre-wx-backref (exit status: 77) SKIP: pcre-z ============ pcre-z: skipped test: no PCRE support SKIP pcre-z (exit status: 77) SKIP: sjis-mb ============= é sjis-mb: skipped test: your system lacks the timeout program SKIP sjis-mb (exit status: 77) FAIL: symlink ============= grep: e: No such file or directory grep: c: Inappropriate file type or format grep: d: Inappropriate file type or format grep: e: Inappropriate file type or format grep: d/c: Inappropriate file type or format grep: d/d: Inappropriate file type or format grep: d/e: Inappropriate file type or format grep: e: No such file or directory grep: warning: d: recursive directory loop grep: e: No such file or directory grep: warning: d/d: recursive directory loop grep: d/e: No such file or directory grep: e: No such file or directory FAIL symlink (exit status: 1) SKIP: triple-backref ==================== glibc.c:1:22: fatal error: features.h: No such file or directory compilation terminated. triple-backref: skipped test: this test runs only on systems with glibc SKIP triple-backref (exit status: 77) SKIP: turkish-eyes ================== é turkish-eyes: skipped test: your tr_TR.UTF-8 locale appears to be broken SKIP turkish-eyes (exit status: 77) FAIL: word-multibyte ==================== --- in 2014-10-29 20:28:18.000000000 +0000 +++ out1-zh_CN 2014-10-29 20:28:18.000000000 +0000 @@ -1 +0,0 @@ -á diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01 +á FAIL word-multibyte (exit status: 1) --------------010604060209010800050400 Content-Type: text/x-log; name="centos7.test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="centos7.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 71 # SKIP: 13 # XFAIL: 1 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: triple-backref ===================== ++ initial_cwd_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests gt-triple-backref.XXXX +++ case $# in +++ destdir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests +++ template_=gt-triple-backref.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 +++ case $d in +++ test -d /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 ++++ ls -dgo /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 ++++ tr S - +++ perms='drwx------. 2 6 Oct 29 16:34 /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5' +++ case $perms in +++ test 0 = 0 +++ echo /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 +++ return ++ test_dir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 ++ cd /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ 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 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src + case $abs_path_dir_ in + PATH=/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin + create_exe_shims_ /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + failures=0 + cat + gcc -std=gnu11 -c glibc.c + echo a + fail=0 + grep -E '(.?)(.?)(.?)\3\2\1' in ./triple-backref: line 32: 22934 Segmentation fault grep -E '(.?)(.?)(.?)\3\2\1' in > out + fail=1 + compare out in + compare_dev_null_ out in + test 2 = 2 + test xout = x/dev/null + test xin = x/dev/null + return 2 + case $? in + compare_ out in + diff -u out in --- out 2014-10-29 16:34:33.267000000 -0400 +++ in 2014-10-29 16:34:33.267000000 -0400 @@ -0,0 +1 @@ +a + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests + chmod -R u+rwx /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 + rm -rf /tmp/grep-2.20.72-d512.FLHExG/grep-2.20.72-d512/tests/gt-triple-backref.5ed5 + exit 1 XFAIL triple-backref (exit status: 1) --------------010604060209010800050400 Content-Type: text/x-log; name="hurd05.test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hurd05.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 46 # SKIP: 38 # XFAIL: 1 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: triple-backref ===================== + initial_cwd_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests + fail=0 + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests gt-triple-backref.XXXX + destdir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests + template_=gt-triple-backref.XXXX + MAX_TRIES_=4 + unset TMPDIR + d=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + test -d /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + ls -dgo /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + tr S - + perms=drwx------ 2 4096 Oct 29 16:42 /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + test 0 = 0 + echo /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + return + test_dir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + cd /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + gl_init_sh_nl_= + IFS= + expr 1 + 128 + eval trap 'Exit 129' 1 + trap Exit 129 1 + expr 2 + 128 + eval trap 'Exit 130' 2 + trap Exit 130 2 + expr 3 + 128 + eval trap 'Exit 131' 3 + trap Exit 131 3 + expr 13 + 128 + eval trap 'Exit 141' 13 + trap Exit 141 13 + expr 15 + 128 + eval trap 'Exit 143' 15 + trap Exit 143 15 + trap remove_tmp_ 0 + path_prepend_ ../src + test 1 != 0 + path_dir_=../src + abs_path_dir_=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src + PATH=/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/src:/usr/local/bin:/usr/bin:/bin:/usr/games + create_exe_shims_ /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/../src + return 0 + shift + test 0 != 0 + export PATH + failures=0 + cat + gcc -std=gnu11 -c glibc.c + echo a + fail=0 + grep -E (.?)(.?)(.?)\3\2\1 in grep: regexec.c:1386: pop_fail_stack: Assertion `num >= 0' failed. Aborted + fail=1 + compare out in + compare_dev_null_ out in + test 2 = 2 + test xout = x/dev/null + test xin = x/dev/null + return 2 + compare_ out in + diff -u out in --- out 2014-10-29 16:42:18.000000000 -0400 +++ in 2014-10-29 16:42:18.000000000 -0400 @@ -0,0 +1 @@ +a + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests + chmod -R u+rwx /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + rm -rf /tmp/grep-2.20.72-d512.HYZT43/grep-2.20.72-d512/tests/gt-triple-backref.rRq3 + exit 1 XFAIL triple-backref (exit status: 1) --------------010604060209010800050400 Content-Type: text/x-log; name="opensuse131.test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="opensuse131.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 71 # SKIP: 13 # XFAIL: 1 # FAIL: 0 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 XFAIL: triple-backref ===================== ++ initial_cwd_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests gt-triple-backref.XXXX +++ case $# in +++ destdir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests +++ template_=gt-triple-backref.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 +++ case $d in +++ test -d /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 ++++ tr S - ++++ ls -dgo /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 +++ perms='drwx------ 2 4096 Oct 29 16:47 /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4' +++ case $perms in +++ test 0 = 0 +++ echo /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 +++ return ++ test_dir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 ++ cd /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ 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 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src + case $abs_path_dir_ in + PATH=/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/src:/home/miles/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games + create_exe_shims_ /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + failures=0 + cat + gcc -std=gnu11 -c glibc.c + echo a + fail=0 + grep -E '(.?)(.?)(.?)\3\2\1' in grep: regexec.c:1401: pop_fail_stack: Assertion `num >= 0' failed. ./triple-backref: line 32: 22270 Aborted grep -E '(.?)(.?)(.?)\3\2\1' in > out + fail=1 + compare out in + compare_dev_null_ out in + test 2 = 2 + test xout = x/dev/null + test xin = x/dev/null + return 2 + case $? in + compare_ out in + diff -u out in --- out 2014-10-29 16:47:01.058725058 -0400 +++ in 2014-10-29 16:47:01.058725058 -0400 @@ -0,0 +1 @@ +a + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests + chmod -R u+rwx /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 + rm -rf /tmp/grep-2.20.72-d512.uMeuc5/grep-2.20.72-d512/tests/gt-triple-backref.mLT4 + exit 1 XFAIL triple-backref (exit status: 1) --------------010604060209010800050400-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 29 17:56:26 2014 Received: (at 18892) by debbugs.gnu.org; 29 Oct 2014 21:56:26 +0000 Received: from localhost ([127.0.0.1]:39403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjbE8-0006yj-Tb for submit@debbugs.gnu.org; Wed, 29 Oct 2014 17:56:25 -0400 Received: from mail-oi0-f44.google.com ([209.85.218.44]:60098) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjbE5-0006yK-Je for 18892@debbugs.gnu.org; Wed, 29 Oct 2014 17:56:22 -0400 Received: by mail-oi0-f44.google.com with SMTP id h136so3054498oig.17 for <18892@debbugs.gnu.org>; Wed, 29 Oct 2014 14:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=0yYBl32Jj1Dnzrv7HI8Lxeek+3Q/AMusAri7e3qjK5M=; b=bIbY+ChzGfCs18iYuJt2yEGpeNHQRdY0fDg8PKy5QtKUtlbNrVdJUu2r5Ic6zJlPNV g7XDvXROudMrt2Cp8CFu3d5AEXJw5ebflls6Yyc42qao2i1HTxNmpilkeWmC8sn5YBjv NYxdQ55r0bSbM9Jho4kyC1AjQFxNFvW6Hn4swNJjkKO893TGhFmlLad+JAWzQMmC1fkh pQj5UNrpgAm90SaYsEPPaZ2OulO3mbBFfXT0IYHfs7zRSTO0rEIrxnUZe48I30q+i/U3 hueAq6csOLptU6s5p89VwegJf4YsYTxk7Y55E61WAbsg4mcj8KcriBntA7OQLu/xsYzI xyzA== X-Received: by 10.202.63.137 with SMTP id m131mr3685368oia.75.1414619775635; Wed, 29 Oct 2014 14:56:15 -0700 (PDT) Received: from [192.168.0.75] (cpe-72-178-123-130.satx.res.rr.com. [72.178.123.130]) by mx.google.com with ESMTPSA id bg10sm2323268obb.7.2014.10.29.14.56.14 for <18892@debbugs.gnu.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 14:56:15 -0700 (PDT) Message-ID: <5451627E.9040209@gmail.com> Date: Wed, 29 Oct 2014 16:56:14 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120628 Firefox/13.0.1 SeaMonkey/2.10.1 MIME-Version: 1.0 To: 18892@debbugs.gnu.org Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> In-Reply-To: <54515367.3040609@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Assaf Gordon wrote: > Hello, > > On 10/29/2014 02:29 PM, Jim Meyering wrote: >> Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanaka, >> here is a pre-release snapshot: >> >> grep snapshot: >> http://meyering.net/grep/grep-ss.tar.xz 1.2 MB >> http://meyering.net/grep/grep-ss.tar.xz.sig >> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >> > > On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), > these fail: > XFAIL: triple-backref > FAIL: word-multibyte > Attached is the debian76.test-suite.log from Debian (Ubuntu seemed > identical). Linux From Scratch 7.6 configure and make were clean. $ env RUN_EXPENSIVE_TESTS=yes make -k check big-match: skipped test: not enough main memory to run the test sjis-mb: skipped test: SJIS locale not found I do have 8G of memory. XFAIL: triple-backref SKIP: test-vc-list-files-cvs.sh (cvs not present) SKIP: test-wcrtomb-w32-1.sh (windows only?) SKIP: test-wcrtomb-w32-2.sh SKIP: test-wcrtomb-w32-3.sh SKIP: test-wcrtomb-w32-4.sh SKIP: test-wcrtomb-w32-5.sh FAIL: word-multibyte Looking at below, the FAIL may be because I have the locale zh_CN.gb18030, but not a plain zh_CN locale. And confirming after installing a plain zh_CN locale, word-multibyte passes. -- Bruce ==================== ++ initial_cwd_=/usr/src/grep/grep-2.20.72-d512/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /usr/src/grep/grep-2.20.72-d512/tests gt-word-multibyte.XXXX +++ case $# in +++ destdir_=/usr/src/grep/grep-2.20.72-d512/tests +++ template_=gt-word-multibyte.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 +++ case $d in +++ test -d /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 ++++ ls -dgo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 ++++ tr S - +++ perms='drwx------ 2 4096 Oct 29 16:24 /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7' +++ case $perms in +++ test 0 = 0 +++ echo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 +++ return ++ test_dir_=/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 ++ cd /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ 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 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/usr/src/grep/grep-2.20.72-d512/tests/../src + case $abs_path_dir_ in + PATH=/usr/src/grep/grep-2.20.72-d512/tests/../src:/usr/src/grep/grep-2.20.72-d512/src:/usr/local/bin:/bin:/usr/bin:/opt/texlive/2014/bin/x86_64-linux:/opt/fop:/opt/libreoffice-4.3.2.2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/opt/ant/bin:/opt/kde/bin:/opt/qt4/bin:/opt/qt5/bin:/opt/xorg/bin:/home/bdubbs/bin:/sbin:/usr/sbin + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + require_en_utf8_locale_ + path_prepend_ . + test 1 '!=' 0 + path_dir_=. + case $path_dir_ in + abs_path_dir_=/usr/src/grep/grep-2.20.72-d512/tests/. + case $abs_path_dir_ in + PATH=/usr/src/grep/grep-2.20.72-d512/tests/.:/usr/src/grep/grep-2.20.72-d512/tests/../src:/usr/src/grep/grep-2.20.72-d512/src:/usr/local/bin:/bin:/usr/bin:/opt/texlive/2014/bin/x86_64-linux:/opt/fop:/opt/libreoffice-4.3.2.2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/opt/ant/bin:/opt/kde/bin:/opt/qt4/bin:/opt/qt5/bin:/opt/xorg/bin:/home/bdubbs/bin:/sbin:/usr/sbin + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/. + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + case $(get-mb-cur-max en_US.UTF-8) in ++ get-mb-cur-max en_US.UTF-8 + printf '\xc3\xa1\n' + LC_ALL=en_US.UTF-8 + export LC_ALL + fail=0 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-en_US.UTF-8 + LC_ALL=en_US.UTF-8 + grep '\w' in + compare in out1-en_US.UTF-8 + compare_dev_null_ in out1-en_US.UTF-8 + test 2 = 2 + test xin = x/dev/null + test xout1-en_US.UTF-8 = x/dev/null + return 2 + case $? in + compare_ in out1-en_US.UTF-8 + diff -u in out1-en_US.UTF-8 + out=out2-en_US.UTF-8 + LC_ALL=en_US.UTF-8 + grep '\W' in + compare /dev/null out2-en_US.UTF-8 + compare_dev_null_ /dev/null out2-en_US.UTF-8 + test 2 = 2 + test x/dev/null = x/dev/null + test -s out2-en_US.UTF-8 + return 0 + return 0 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-zh_CN + LC_ALL=zh_CN + grep '\w' in + fail=1 + compare in out1-zh_CN + compare_dev_null_ in out1-zh_CN + test 2 = 2 + test xin = x/dev/null + test xout1-zh_CN = x/dev/null + return 2 + case $? in + compare_ in out1-zh_CN diff -u in out1-zh_CN --- in 2014-10-29 16:24:46.775542037 -0500 +++ out1-zh_CN 2014-10-29 16:24:46.783541998 -0500 @@ -1 +0,0 @@ -á + fail=1 + out=out2-zh_CN + LC_ALL=zh_CN + grep '\W' in + fail=1 + compare /dev/null out2-zh_CN + compare_dev_null_ /dev/null out2-zh_CN + test 2 = 2 + test x/dev/null = x/dev/null + test -s out2-zh_CN + emit_diff_u_header_ /dev/null out2-zh_CN + printf '%s\n' 'diff -u /dev/null out2-zh_CN' '--- /dev/null 1970-01-01' '+++ out2-zh_CN 1970-01-01' diff -u /dev/null out2-zh_CN --- /dev/null 1970-01-01 +++ out2-zh_CN 1970-01-01 + sed 's/^/+/' out2-zh_CN +á + return 1 + case $? in + return 1 + fail=1 + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' + out=out1-fr_FR.UTF-8 + LC_ALL=fr_FR.UTF-8 + grep '\w' in + compare in out1-fr_FR.UTF-8 + compare_dev_null_ in out1-fr_FR.UTF-8 + test 2 = 2 + test xin = x/dev/null + test xout1-fr_FR.UTF-8 = x/dev/null + return 2 + case $? in + compare_ in out1-fr_FR.UTF-8 + diff -u in out1-fr_FR.UTF-8 + out=out2-fr_FR.UTF-8 + LC_ALL=fr_FR.UTF-8 + grep '\W' in + compare /dev/null out2-fr_FR.UTF-8 + compare_dev_null_ /dev/null out2-fr_FR.UTF-8 + test 2 = 2 + test x/dev/null = x/dev/null + test -s out2-fr_FR.UTF-8 + return 0 + return 0 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /usr/src/grep/grep-2.20.72-d512/tests + chmod -R u+rwx /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 + rm -rf /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 + exit 1 FAIL word-multibyte (exit status: 1) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 14:56:26 2014 Received: (at 18892) by debbugs.gnu.org; 30 Oct 2014 18:56:26 +0000 Received: from localhost ([127.0.0.1]:40782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjutU-00043A-V5 for submit@debbugs.gnu.org; Thu, 30 Oct 2014 14:56:25 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:46322) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjutR-00042v-8H for 18892@debbugs.gnu.org; Thu, 30 Oct 2014 14:56:22 -0400 Received: by mail-wg0-f49.google.com with SMTP id x13so6341183wgg.8 for <18892@debbugs.gnu.org>; Thu, 30 Oct 2014 11:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=WTR6rhupoBYW+YDXqRDJ4ZBkOg1F99nMvtgDBXxEVqI=; b=ItjeoLlxC5ieEY8FSBYtW5Qqiy43UjmEyx2uMaIoFrixmuRpPcX9YCKVgl2EGLzk0H aeAMAhv54VreETaY3l02u48AduHN6VlWncf1WD6LDQBeUetHEOsX9XPHeMPIswwbjDp3 GzAs+j6Z8V23Jbm4GSOF5HmW5rXAGDOK/Oomjfs57o1/nku/9d1ZLG3bPESThj/mllu2 ohNmwuXESFdO+3e+SqpLQtwYCiJMTFT+ksIDxBHSqCRxuY7EMRF4o1mSpbB1qgXzJ9Gl TMO3Ud0WHTNjD91AEBIby0gE+mzmifkLFwhFAF2YrNJlIDSYWtQwKkAfktLdkX+D+P5z XIqg== X-Received: by 10.194.78.238 with SMTP id e14mr5123459wjx.106.1414695375348; Thu, 30 Oct 2014 11:56:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Thu, 30 Oct 2014 11:55:54 -0700 (PDT) In-Reply-To: <5451627E.9040209@gmail.com> References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> From: Jim Meyering Date: Thu, 30 Oct 2014 11:55:54 -0700 X-Google-Sender-Auth: Rh4msFNoj1itxJuMyDXZslGrX7Q Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Bruce Dubbs Content-Type: multipart/mixed; boundary=047d7bfcf010503a350506a86f46 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --047d7bfcf010503a350506a86f46 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you both for all the testing and prompt feedback! I've looked into the failures of the brand new word-multibyte test, and am hoping the attached will fix it by requiring use of the zh_CN.UTF-8 locale, rather than letting the system choose a locale matching "zh_CN". Does this patch solve the problem for that test? On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs wrote: > Assaf Gordon wrote: >> >> Hello, >> >> On 10/29/2014 02:29 PM, Jim Meyering wrote: >>> >>> Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanak= a, >>> here is a pre-release snapshot: >>> >>> grep snapshot: >>> http://meyering.net/grep/grep-ss.tar.xz 1.2 MB >>> http://meyering.net/grep/grep-ss.tar.xz.sig >>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >>> >> >> On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), >> these fail: >> XFAIL: triple-backref >> FAIL: word-multibyte >> Attached is the debian76.test-suite.log from Debian (Ubuntu seemed >> identical). > > > Linux From Scratch 7.6 > > configure and make were clean. > > $ env RUN_EXPENSIVE_TESTS=3Dyes make -k check > > big-match: skipped test: not enough main memory to run the test > sjis-mb: skipped test: SJIS locale not found > > I do have 8G of memory. > > XFAIL: triple-backref > > SKIP: test-vc-list-files-cvs.sh (cvs not present) > SKIP: test-wcrtomb-w32-1.sh (windows only?) > SKIP: test-wcrtomb-w32-2.sh > SKIP: test-wcrtomb-w32-3.sh > SKIP: test-wcrtomb-w32-4.sh > SKIP: test-wcrtomb-w32-5.sh > FAIL: word-multibyte > > Looking at below, the FAIL may be because I have the locale zh_CN.gb18030= , > but not a plain zh_CN locale. > > And confirming after installing a plain zh_CN locale, word-multibyte pass= es. > > -- Bruce > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > ++ initial_cwd_=3D/usr/src/grep/grep-2.20.72-d512/tests > ++ fail=3D0 > +++ testdir_prefix_ > +++ printf gt > ++ pfx_=3Dgt > +++ mktempd_ /usr/src/grep/grep-2.20.72-d512/tests gt-word-multibyte.XXXX > +++ case $# in > +++ destdir_=3D/usr/src/grep/grep-2.20.72-d512/tests > +++ template_=3Dgt-word-multibyte.XXXX > +++ MAX_TRIES_=3D4 > +++ case $destdir_ in > +++ case $template_ in > ++++ unset TMPDIR > +++ d=3D/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > +++ case $d in > +++ test -d /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > ++++ ls -dgo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > ++++ tr S - > +++ perms=3D'drwx------ 2 4096 Oct 29 16:24 > /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7' > +++ case $perms in > +++ test 0 =3D 0 > +++ echo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > +++ return > ++ test_dir_=3D/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LT= Z7 > ++ cd /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > ++ gl_init_sh_nl_=3D' > ' > ++ IFS=3D' > ' > ++ 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/usr/src/grep/grep-2.20.72-d512/tests/../src > + case $abs_path_dir_ in > + > PATH=3D/usr/src/grep/grep-2.20.72-d512/tests/../src:/usr/src/grep/grep-2.= 20.72-d512/src:/usr/local/bin:/bin:/usr/bin:/opt/texlive/2014/bin/x86_64-li= nux:/opt/fop:/opt/libreoffice-4.3.2.2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/op= t/ant/bin:/opt/kde/bin:/opt/qt4/bin:/opt/qt5/bin:/opt/xorg/bin:/home/bdubbs= /bin:/sbin:/usr/sbin > + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/../src > + case $EXEEXT in > + return 0 > + shift > + test 0 '!=3D' 0 > + export PATH > + require_en_utf8_locale_ > + path_prepend_ . > + test 1 '!=3D' 0 > + path_dir_=3D. > + case $path_dir_ in > + abs_path_dir_=3D/usr/src/grep/grep-2.20.72-d512/tests/. > + case $abs_path_dir_ in > + > PATH=3D/usr/src/grep/grep-2.20.72-d512/tests/.:/usr/src/grep/grep-2.20.72= -d512/tests/../src:/usr/src/grep/grep-2.20.72-d512/src:/usr/local/bin:/bin:= /usr/bin:/opt/texlive/2014/bin/x86_64-linux:/opt/fop:/opt/libreoffice-4.3.2= .2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/opt/ant/bin:/opt/kde/bin:/opt/qt4/bin= :/opt/qt5/bin:/opt/xorg/bin:/home/bdubbs/bin:/sbin:/usr/sbin > + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/. > + case $EXEEXT in > + return 0 > + shift > + test 0 '!=3D' 0 > + export PATH > + case $(get-mb-cur-max en_US.UTF-8) in > ++ get-mb-cur-max en_US.UTF-8 > + printf '\xc3\xa1\n' > + LC_ALL=3Den_US.UTF-8 > + export LC_ALL > + fail=3D0 > + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' > + out=3Dout1-en_US.UTF-8 > + LC_ALL=3Den_US.UTF-8 > + grep '\w' in > + compare in out1-en_US.UTF-8 > + compare_dev_null_ in out1-en_US.UTF-8 > + test 2 =3D 2 > + test xin =3D x/dev/null > + test xout1-en_US.UTF-8 =3D x/dev/null > + return 2 > + case $? in > + compare_ in out1-en_US.UTF-8 > + diff -u in out1-en_US.UTF-8 > + out=3Dout2-en_US.UTF-8 > + LC_ALL=3Den_US.UTF-8 > + grep '\W' in > + compare /dev/null out2-en_US.UTF-8 > + compare_dev_null_ /dev/null out2-en_US.UTF-8 > + test 2 =3D 2 > + test x/dev/null =3D x/dev/null > + test -s out2-en_US.UTF-8 > + return 0 > + return 0 > + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' > + out=3Dout1-zh_CN > + LC_ALL=3Dzh_CN > + grep '\w' in > + fail=3D1 > + compare in out1-zh_CN > + compare_dev_null_ in out1-zh_CN > + test 2 =3D 2 > + test xin =3D x/dev/null > + test xout1-zh_CN =3D x/dev/null > + return 2 > + case $? in > + compare_ in out1-zh_CN > diff -u in out1-zh_CN > --- in 2014-10-29 16:24:46.775542037 -0500 > +++ out1-zh_CN 2014-10-29 16:24:46.783541998 -0500 > @@ -1 +0,0 @@ > -=C3=A1 > + fail=3D1 > + out=3Dout2-zh_CN > + LC_ALL=3Dzh_CN > + grep '\W' in > + fail=3D1 > + compare /dev/null out2-zh_CN > + compare_dev_null_ /dev/null out2-zh_CN > + test 2 =3D 2 > + test x/dev/null =3D x/dev/null > + test -s out2-zh_CN > + emit_diff_u_header_ /dev/null out2-zh_CN > + printf '%s\n' 'diff -u /dev/null out2-zh_CN' '--- /dev/null 1970-01-01' > '+++ out2-zh_CN 1970-01-01' > diff -u /dev/null out2-zh_CN > --- /dev/null 1970-01-01 > +++ out2-zh_CN 1970-01-01 > + sed 's/^/+/' out2-zh_CN > +=C3=A1 > + return 1 > + case $? in > + return 1 > + fail=3D1 > + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' > + out=3Dout1-fr_FR.UTF-8 > + LC_ALL=3Dfr_FR.UTF-8 > + grep '\w' in > + compare in out1-fr_FR.UTF-8 > + compare_dev_null_ in out1-fr_FR.UTF-8 > + test 2 =3D 2 > + test xin =3D x/dev/null > + test xout1-fr_FR.UTF-8 =3D x/dev/null > + return 2 > + case $? in > + compare_ in out1-fr_FR.UTF-8 > + diff -u in out1-fr_FR.UTF-8 > + out=3Dout2-fr_FR.UTF-8 > + LC_ALL=3Dfr_FR.UTF-8 > + grep '\W' in > + compare /dev/null out2-fr_FR.UTF-8 > + compare_dev_null_ /dev/null out2-fr_FR.UTF-8 > + test 2 =3D 2 > + test x/dev/null =3D x/dev/null > + test -s out2-fr_FR.UTF-8 > + return 0 > + return 0 > + Exit 1 > + set +e > + exit 1 > + exit 1 > + remove_tmp_ > + __st=3D1 > + cleanup_ > + : > + cd /usr/src/grep/grep-2.20.72-d512/tests > + chmod -R u+rwx > /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > + rm -rf /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 > + exit 1 > FAIL word-multibyte (exit status: 1) > > > --047d7bfcf010503a350506a86f46 Content-Type: application/octet-stream; name="0001-tests-avoid-false-positive-failure-due-to-some-zh_CN.patch" Content-Disposition: attachment; filename="0001-tests-avoid-false-positive-failure-due-to-some-zh_CN.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i1wh2gei0 RnJvbSBjOWJkMjcxYmI2MGM2ZTRkNWFkNTUzYTNiMzFjYzgzYjM5M2JmMDU0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gTWV5ZXJpbmcgPG1leWVyaW5nQGZiLmNvbT4KRGF0ZTog VGh1LCAzMCBPY3QgMjAxNCAxMjo1MjoxNCAtMDYwMApTdWJqZWN0OiBbUEFUQ0hdIHRlc3RzOiBh dm9pZCBmYWxzZS1wb3NpdGl2ZSBmYWlsdXJlIGR1ZSB0byBzb21lIHpoX0NOLioKIGxvY2FsZXMK Ck9uIHNvbWUgc3lzdGVtcywgYW5kIGZvciBzb21lIHpoX0NOLiogbG9jYWxlcyAoZS5nLiwgT3Bl bkJTRDUuNSkgdGhlCkUtYWN1dGUgcGFpciBvZiBieXRlcyBkbyBub3QgcXVhbGlmeSBhcyBhIHdv cmQtY29uc3RpdHVlbnQgY2hhcmFjdGVyLgoqIHRlc3RzL3dvcmQtbXVsdGlieXRlOiBVc2Ugemhf Q04uVVRGLTgsIHJhdGhlciB0aGFuICJ6aF9DTiIuClJlcG9ydGVkIGJ5IEFzc2FmIEdvcmRvbiBh bmQgQnJ1Y2UgRHViYnMgaW4KaHR0cDovL2RlYmJ1Z3MuZ251Lm9yZy8xODg5MgotLS0KIHRlc3Rz L3dvcmQtbXVsdGlieXRlIHwgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAx IGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvdGVzdHMvd29yZC1tdWx0aWJ5dGUgYi90ZXN0cy93 b3JkLW11bHRpYnl0ZQppbmRleCBlMDY3YTM3Li4yYTU1NDA2IDEwMDc1NQotLS0gYS90ZXN0cy93 b3JkLW11bHRpYnl0ZQorKysgYi90ZXN0cy93b3JkLW11bHRpYnl0ZQpAQCAtMTAsNyArMTAsNyBA QCBleHBvcnQgTENfQUxMCgogZmFpbD0wCgotZm9yIExPQyBpbiBlbl9VUy5VVEYtOCB6aF9DTiAk TE9DQUxFX0ZSX1VURjg7IGRvCitmb3IgTE9DIGluIGVuX1VTLlVURi04IHpoX0NOLlVURi04ICRM T0NBTEVfRlJfVVRGODsgZG8KICAgb3V0PW91dDEtJExPQwogICBMQ19BTEw9JExPQyBncmVwICdc dycgaW4gPiRvdXQgfHwgZmFpbD0xCiAgIGNvbXBhcmUgaW4gJG91dCB8fCBmYWlsPTEKLS0gCjIu MS4yCgo= --047d7bfcf010503a350506a86f46-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 15:08:07 2014 Received: (at 18892) by debbugs.gnu.org; 30 Oct 2014 19:08:07 +0000 Received: from localhost ([127.0.0.1]:40832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjv4o-0004OY-7u for submit@debbugs.gnu.org; Thu, 30 Oct 2014 15:08:07 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:64256) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjv4k-0004O0-MS for 18892@debbugs.gnu.org; Thu, 30 Oct 2014 15:08:04 -0400 Received: by mail-wg0-f53.google.com with SMTP id b13so5029859wgh.12 for <18892@debbugs.gnu.org>; Thu, 30 Oct 2014 12:07:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=P6aXk4HovHgu6wu8Npw2QAoXDbbEMQW7Q4M2DdJ6hXU=; b=D7BLkrVHIF3/3/ajaOYvBNecAeQowTLwdEtusO5nF4Y689zWDnMmBzD4jlJGfT/97B rZKzEfAv0t+svY+UNyeGFdp2QJ9pWx8FfDBtTlBpIFipyH+1DTKvV8R8cyMm3aMiY3fO WiqtZQZsBO+E9eKF3HsKK+xQAFqq7EK0+MkBWg6rIuOgBaoqcN4Ec/+NbVRZulz0jqDi pY3MtjbuHxWME/HW6SDTXiLAIu3IrzpDOfAxNL/O28ECCUrHlDK/GRn3vZ4ZnWrswOOt LVc04r9I2JDvXF2rxRONvThWBwy3a8T9EfI9H0e1dfrLwN2kZOala/25Tmg1HZgUCkys qfHw== X-Received: by 10.180.208.10 with SMTP id ma10mr21635462wic.49.1414696076999; Thu, 30 Oct 2014 12:07:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Thu, 30 Oct 2014 12:07:36 -0700 (PDT) In-Reply-To: References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> From: Jim Meyering Date: Thu, 30 Oct 2014 12:07:36 -0700 X-Google-Sender-Auth: TsNNqh--9_zmQAeN2-Mt1c5D3A8 Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Bruce Dubbs , Assaf Gordon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) For the record, you may want to run something like this to survey whether \w matches E-acute across all installed zh_CN locales: (here's output from an os x 10.9.5 system -- on debian unstable and fedora rawhide, they're all "0"s) $ for i in $(locale -a|grep -i cn); do printf '\303\251'|LC_ALL=3D$i src/grep -q '\w'; echo $?: $i;done 0: zh_CN 1: zh_CN.eucCN 1: zh_CN.GB18030 1: zh_CN.GB2312 1: zh_CN.GBK 0: zh_CN.UTF-8 On Thu, Oct 30, 2014 at 11:55 AM, Jim Meyering wrote: > Thank you both for all the testing and prompt feedback! > I've looked into the failures of the brand new word-multibyte test, > and am hoping the attached will fix it by requiring use of > the zh_CN.UTF-8 locale, rather than letting the system > choose a locale matching "zh_CN". Does this patch solve > the problem for that test? > > On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs wrot= e: >> Assaf Gordon wrote: >>> >>> Hello, >>> >>> On 10/29/2014 02:29 PM, Jim Meyering wrote: >>>> >>>> Thanks to many fixes and improvements by Paul Eggert and Norihiro Tana= ka, >>>> here is a pre-release snapshot: >>>> >>>> grep snapshot: >>>> http://meyering.net/grep/grep-ss.tar.xz 1.2 MB >>>> http://meyering.net/grep/grep-ss.tar.xz.sig >>>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >>>> >>> >>> On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), >>> these fail: >>> XFAIL: triple-backref >>> FAIL: word-multibyte >>> Attached is the debian76.test-suite.log from Debian (Ubuntu seemed >>> identical). >> >> >> Linux From Scratch 7.6 >> >> configure and make were clean. >> >> $ env RUN_EXPENSIVE_TESTS=3Dyes make -k check >> >> big-match: skipped test: not enough main memory to run the test >> sjis-mb: skipped test: SJIS locale not found >> >> I do have 8G of memory. >> >> XFAIL: triple-backref >> >> SKIP: test-vc-list-files-cvs.sh (cvs not present) >> SKIP: test-wcrtomb-w32-1.sh (windows only?) >> SKIP: test-wcrtomb-w32-2.sh >> SKIP: test-wcrtomb-w32-3.sh >> SKIP: test-wcrtomb-w32-4.sh >> SKIP: test-wcrtomb-w32-5.sh >> FAIL: word-multibyte >> >> Looking at below, the FAIL may be because I have the locale zh_CN.gb1803= 0, >> but not a plain zh_CN locale. >> >> And confirming after installing a plain zh_CN locale, word-multibyte pas= ses. >> >> -- Bruce >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> ++ initial_cwd_=3D/usr/src/grep/grep-2.20.72-d512/tests >> ++ fail=3D0 >> +++ testdir_prefix_ >> +++ printf gt >> ++ pfx_=3Dgt >> +++ mktempd_ /usr/src/grep/grep-2.20.72-d512/tests gt-word-multibyte.XXX= X >> +++ case $# in >> +++ destdir_=3D/usr/src/grep/grep-2.20.72-d512/tests >> +++ template_=3Dgt-word-multibyte.XXXX >> +++ MAX_TRIES_=3D4 >> +++ case $destdir_ in >> +++ case $template_ in >> ++++ unset TMPDIR >> +++ d=3D/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> +++ case $d in >> +++ test -d /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> ++++ ls -dgo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ= 7 >> ++++ tr S - >> +++ perms=3D'drwx------ 2 4096 Oct 29 16:24 >> /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7' >> +++ case $perms in >> +++ test 0 =3D 0 >> +++ echo /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> +++ return >> ++ test_dir_=3D/usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.L= TZ7 >> ++ cd /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> ++ gl_init_sh_nl_=3D' >> ' >> ++ IFS=3D' >> ' >> ++ 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/usr/src/grep/grep-2.20.72-d512/tests/../src >> + case $abs_path_dir_ in >> + >> PATH=3D/usr/src/grep/grep-2.20.72-d512/tests/../src:/usr/src/grep/grep-2= .20.72-d512/src:/usr/local/bin:/bin:/usr/bin:/opt/texlive/2014/bin/x86_64-l= inux:/opt/fop:/opt/libreoffice-4.3.2.2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/o= pt/ant/bin:/opt/kde/bin:/opt/qt4/bin:/opt/qt5/bin:/opt/xorg/bin:/home/bdubb= s/bin:/sbin:/usr/sbin >> + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/../src >> + case $EXEEXT in >> + return 0 >> + shift >> + test 0 '!=3D' 0 >> + export PATH >> + require_en_utf8_locale_ >> + path_prepend_ . >> + test 1 '!=3D' 0 >> + path_dir_=3D. >> + case $path_dir_ in >> + abs_path_dir_=3D/usr/src/grep/grep-2.20.72-d512/tests/. >> + case $abs_path_dir_ in >> + >> PATH=3D/usr/src/grep/grep-2.20.72-d512/tests/.:/usr/src/grep/grep-2.20.7= 2-d512/tests/../src:/usr/src/grep/grep-2.20.72-d512/src:/usr/local/bin:/bin= :/usr/bin:/opt/texlive/2014/bin/x86_64-linux:/opt/fop:/opt/libreoffice-4.3.= 2.2/bin:/opt/OpenJDK-1.7.0.65-bin/bin:/opt/ant/bin:/opt/kde/bin:/opt/qt4/bi= n:/opt/qt5/bin:/opt/xorg/bin:/home/bdubbs/bin:/sbin:/usr/sbin >> + create_exe_shims_ /usr/src/grep/grep-2.20.72-d512/tests/. >> + case $EXEEXT in >> + return 0 >> + shift >> + test 0 '!=3D' 0 >> + export PATH >> + case $(get-mb-cur-max en_US.UTF-8) in >> ++ get-mb-cur-max en_US.UTF-8 >> + printf '\xc3\xa1\n' >> + LC_ALL=3Den_US.UTF-8 >> + export LC_ALL >> + fail=3D0 >> + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' >> + out=3Dout1-en_US.UTF-8 >> + LC_ALL=3Den_US.UTF-8 >> + grep '\w' in >> + compare in out1-en_US.UTF-8 >> + compare_dev_null_ in out1-en_US.UTF-8 >> + test 2 =3D 2 >> + test xin =3D x/dev/null >> + test xout1-en_US.UTF-8 =3D x/dev/null >> + return 2 >> + case $? in >> + compare_ in out1-en_US.UTF-8 >> + diff -u in out1-en_US.UTF-8 >> + out=3Dout2-en_US.UTF-8 >> + LC_ALL=3Den_US.UTF-8 >> + grep '\W' in >> + compare /dev/null out2-en_US.UTF-8 >> + compare_dev_null_ /dev/null out2-en_US.UTF-8 >> + test 2 =3D 2 >> + test x/dev/null =3D x/dev/null >> + test -s out2-en_US.UTF-8 >> + return 0 >> + return 0 >> + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' >> + out=3Dout1-zh_CN >> + LC_ALL=3Dzh_CN >> + grep '\w' in >> + fail=3D1 >> + compare in out1-zh_CN >> + compare_dev_null_ in out1-zh_CN >> + test 2 =3D 2 >> + test xin =3D x/dev/null >> + test xout1-zh_CN =3D x/dev/null >> + return 2 >> + case $? in >> + compare_ in out1-zh_CN >> diff -u in out1-zh_CN >> --- in 2014-10-29 16:24:46.775542037 -0500 >> +++ out1-zh_CN 2014-10-29 16:24:46.783541998 -0500 >> @@ -1 +0,0 @@ >> -=C3=A1 >> + fail=3D1 >> + out=3Dout2-zh_CN >> + LC_ALL=3Dzh_CN >> + grep '\W' in >> + fail=3D1 >> + compare /dev/null out2-zh_CN >> + compare_dev_null_ /dev/null out2-zh_CN >> + test 2 =3D 2 >> + test x/dev/null =3D x/dev/null >> + test -s out2-zh_CN >> + emit_diff_u_header_ /dev/null out2-zh_CN >> + printf '%s\n' 'diff -u /dev/null out2-zh_CN' '--- /dev/null 1970-01-01= ' >> '+++ out2-zh_CN 1970-01-01' >> diff -u /dev/null out2-zh_CN >> --- /dev/null 1970-01-01 >> +++ out2-zh_CN 1970-01-01 >> + sed 's/^/+/' out2-zh_CN >> +=C3=A1 >> + return 1 >> + case $? in >> + return 1 >> + fail=3D1 >> + for LOC in en_US.UTF-8 zh_CN '$LOCALE_FR_UTF8' >> + out=3Dout1-fr_FR.UTF-8 >> + LC_ALL=3Dfr_FR.UTF-8 >> + grep '\w' in >> + compare in out1-fr_FR.UTF-8 >> + compare_dev_null_ in out1-fr_FR.UTF-8 >> + test 2 =3D 2 >> + test xin =3D x/dev/null >> + test xout1-fr_FR.UTF-8 =3D x/dev/null >> + return 2 >> + case $? in >> + compare_ in out1-fr_FR.UTF-8 >> + diff -u in out1-fr_FR.UTF-8 >> + out=3Dout2-fr_FR.UTF-8 >> + LC_ALL=3Dfr_FR.UTF-8 >> + grep '\W' in >> + compare /dev/null out2-fr_FR.UTF-8 >> + compare_dev_null_ /dev/null out2-fr_FR.UTF-8 >> + test 2 =3D 2 >> + test x/dev/null =3D x/dev/null >> + test -s out2-fr_FR.UTF-8 >> + return 0 >> + return 0 >> + Exit 1 >> + set +e >> + exit 1 >> + exit 1 >> + remove_tmp_ >> + __st=3D1 >> + cleanup_ >> + : >> + cd /usr/src/grep/grep-2.20.72-d512/tests >> + chmod -R u+rwx >> /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> + rm -rf /usr/src/grep/grep-2.20.72-d512/tests/gt-word-multibyte.LTZ7 >> + exit 1 >> FAIL word-multibyte (exit status: 1) >> >> >> From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 16:45:33 2014 Received: (at 18892) by debbugs.gnu.org; 30 Oct 2014 20:45:33 +0000 Received: from localhost ([127.0.0.1]:40875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjwb6-00070h-FP for submit@debbugs.gnu.org; Thu, 30 Oct 2014 16:45:32 -0400 Received: from mail-qc0-f177.google.com ([209.85.216.177]:45689) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjwb3-00070P-9Y for 18892@debbugs.gnu.org; Thu, 30 Oct 2014 16:45:29 -0400 Received: by mail-qc0-f177.google.com with SMTP id l6so4843700qcy.22 for <18892@debbugs.gnu.org>; Thu, 30 Oct 2014 13:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=JMH38doCT8yVHYfvrZW/tgsc3Zm7vu0w/IQHaAVP/VM=; b=WmHa/VaPNqCaPBMSiB4KCSgcfjZOcVtjNCTkqjx214k2Md2zJQ2j8cSIhtGkkOH8VD EczVqSbDLq8a/EHhkmWDdwjGV1nT/N+Vqd+NS8LpZEGFmGeI/Kr6yHWVhf6kNJJLftRo +gCPkivN1CL3xmf3GL/kaBCZxsD8NXtg0T4lTTKoy6SNyHdMiTI48vhRXtX9fmeN4ggw ggvJ8CNo2pxyGV+1ZmO6rmOKYjh4YUR8OWTZLGqMIMEx0ZhDagMaP+oCdwqsyjO4Sc4d TWhAUfWCUXdJtFAvP7+bOxkprog6oepzH12XqkeX7kEs4LPNsb1iMvQRI7C3IsVOSzmU epNw== X-Received: by 10.140.25.167 with SMTP id 36mr28300777qgt.56.1414701923557; Thu, 30 Oct 2014 13:45:23 -0700 (PDT) Received: from disco.wi.mit.edu ([18.4.1.144]) by mx.google.com with ESMTPSA id l2sm7654194qao.34.2014.10.30.13.45.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2014 13:45:22 -0700 (PDT) Message-ID: <5452A363.6070603@gmail.com> Date: Thu, 30 Oct 2014 16:45:23 -0400 From: Assaf Gordon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/30/2014 03:07 PM, Jim Meyering wrote: > For the record, you may want to run something like this to survey > whether \w matches E-acute across all installed zh_CN locales: > > (here's output from an os x 10.9.5 system -- on debian unstable and > fedora rawhide, they're all "0"s) > $ for i in $(locale -a|grep -i cn); do printf '\303\251'|LC_ALL=$i > src/grep -q '\w'; echo $?: $i;done > 0: zh_CN > 1: zh_CN.eucCN > 1: zh_CN.GB18030 > 1: zh_CN.GB2312 > 1: zh_CN.GBK > 0: zh_CN.UTF-8 > === Debian 7.6 (no output, installed locales are: C C.UTF-8 en_US.utf8 POSIX) ==== Ubuntu 14: (no output, installed locales are C C.UTF-8 POSIX and en_* , en_*.utf8) ==== FreeBSD 10.0 1: zh_CN.GB18030 1: zh_CN.GB2312 1: zh_CN.GBK 0: zh_CN.UTF-8 1: zh_CN.eucCN ==== FreeBSD 9.3 1: zh_CN.GB18030 1: zh_CN.GB2312 1: zh_CN.GBK 0: zh_CN.UTF-8 1: zh_CN.eucCN === OpenBSD 5.5 0: zh_CN.UTF-8 === NetBSD 6.1.4 1: zh_CN 1: zh_CN.GB18030 1: zh_CN.GB2312 0: zh_CN.UTF-8 1: zh_CN.eucCN === CentOS 7 0: bo_CN 0: bo_CN.utf8 0: ug_CN 0: ug_CN.utf8 0: zh_CN 0: zh_CN.gb18030 0: zh_CN.gb2312 0: zh_CN.gbk 0: zh_CN.utf8 ==== CentOS 6.5 0: bo_CN 0: bo_CN.utf8 0: ug_CN 0: ug_CN.utf8 0: zh_CN 0: zh_CN.gb18030 0: zh_CN.gb2312 0: zh_CN.gbk 0: zh_CN.utf8 ===== OpenSUSE 13.1 0: bo_CN 0: ug_CN 0: zh_CN 0: zh_CN.gb18030 0: zh_CN.gbk 0: zh_CN.utf8 ===== From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 18:05:55 2014 Received: (at 18892) by debbugs.gnu.org; 30 Oct 2014 22:05:55 +0000 Received: from localhost ([127.0.0.1]:40896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjxqs-0000df-Sj for submit@debbugs.gnu.org; Thu, 30 Oct 2014 18:05:55 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:57673) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjxqq-0000dN-4R for 18892@debbugs.gnu.org; Thu, 30 Oct 2014 18:05:52 -0400 Received: by mail-ob0-f179.google.com with SMTP id m8so5010874obr.10 for <18892@debbugs.gnu.org>; Thu, 30 Oct 2014 15:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5kOnp2QGV4lrZXlYNLAM+crLKAiQJAH+BaUCGEF79Gc=; b=nTLYoEgtZHA4xCsQ5D/55pEkjD9S5PHDcuPm4APKOZffPAcvjbA7QajjTLljD3Af3V OS54pkA0qFjkuE37qcwfq26hA1eXzeHRG75bdhJzGxh/6DuRl8Jq+RI2KWub4O8meF5c rszUCdK7hgV3YcvcMUvLNAb+OjApbxGfecjuNCK6oYw6EDIfPLLhcrbm9v1LL70rbUKZ 8aK7pJZfhXsfpg0lS/cw++PShKMoHvPJcv3VkBoU3Q7BwCyfyekQHXRQqOiAvdB3iY7V ufZOeD4OXb3vkLAXvUFqAAwlfptiZe4dckeGQ3hmF9I2t5OKaKJ3BN81l0w1450UxpW8 250w== X-Received: by 10.182.46.168 with SMTP id w8mr710169obm.56.1414706746175; Thu, 30 Oct 2014 15:05:46 -0700 (PDT) Received: from [192.168.0.75] (cpe-72-178-123-130.satx.res.rr.com. [72.178.123.130]) by mx.google.com with ESMTPSA id g72sm3484287oic.16.2014.10.30.15.05.45 for <18892@debbugs.gnu.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 15:05:45 -0700 (PDT) Message-ID: <5452B638.1050105@gmail.com> Date: Thu, 30 Oct 2014 17:05:44 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120628 Firefox/13.0.1 SeaMonkey/2.10.1 MIME-Version: 1.0 To: 18892@debbugs.gnu.org Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) FYI, LFS only has zh_CN.GB18030 for Chinese by default. We only create the locales needed for the glibc regression tests. We can add others easily enough but perhaps the test should only check for those present. -- Bruce Jim Meyering wrote: > For the record, you may want to run something like this to survey > whether \w matches E-acute across all installed zh_CN locales: > > (here's output from an os x 10.9.5 system -- on debian unstable and > fedora rawhide, they're all "0"s) > $ for i in $(locale -a|grep -i cn); do printf '\303\251'|LC_ALL=$i > src/grep -q '\w'; echo $?: $i;done > 0: zh_CN > 1: zh_CN.eucCN > 1: zh_CN.GB18030 > 1: zh_CN.GB2312 > 1: zh_CN.GBK > 0: zh_CN.UTF-8 > > On Thu, Oct 30, 2014 at 11:55 AM, Jim Meyering wrote: >> Thank you both for all the testing and prompt feedback! >> I've looked into the failures of the brand new word-multibyte test, >> and am hoping the attached will fix it by requiring use of >> the zh_CN.UTF-8 locale, rather than letting the system >> choose a locale matching "zh_CN". Does this patch solve >> the problem for that test? >> >> On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs wrote: >>> Assaf Gordon wrote: >>>> >>>> Hello, >>>> >>>> On 10/29/2014 02:29 PM, Jim Meyering wrote: >>>>> >>>>> Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanaka, >>>>> here is a pre-release snapshot: >>>>> >>>>> grep snapshot: >>>>> http://meyering.net/grep/grep-ss.tar.xz 1.2 MB >>>>> http://meyering.net/grep/grep-ss.tar.xz.sig >>>>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >>>>> >>>> >>>> On Debian 7.6 (amd64, gcc 4.7.2) and Ubuntu 14.04.1 (amd64, gcc 4.8.2), >>>> these fail: >>>> XFAIL: triple-backref >>>> FAIL: word-multibyte >>>> Attached is the debian76.test-suite.log from Debian (Ubuntu seemed >>>> identical). >>> >>> >>> Linux From Scratch 7.6 >>> >>> configure and make were clean. >>> >>> $ env RUN_EXPENSIVE_TESTS=yes make -k check >>> >>> big-match: skipped test: not enough main memory to run the test >>> sjis-mb: skipped test: SJIS locale not found >>> >>> I do have 8G of memory. >>> >>> XFAIL: triple-backref >>> >>> SKIP: test-vc-list-files-cvs.sh (cvs not present) >>> SKIP: test-wcrtomb-w32-1.sh (windows only?) >>> SKIP: test-wcrtomb-w32-2.sh >>> SKIP: test-wcrtomb-w32-3.sh >>> SKIP: test-wcrtomb-w32-4.sh >>> SKIP: test-wcrtomb-w32-5.sh >>> FAIL: word-multibyte >>> >>> Looking at below, the FAIL may be because I have the locale zh_CN.gb18030, >>> but not a plain zh_CN locale. >>> >>> And confirming after installing a plain zh_CN locale, word-multibyte passes. >>> >>> -- Bruce From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 01 19:07:24 2014 Received: (at 18892) by debbugs.gnu.org; 1 Nov 2014 23:07:24 +0000 Received: from localhost ([127.0.0.1]:44895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkhlT-0002r7-U6 for submit@debbugs.gnu.org; Sat, 01 Nov 2014 19:07:24 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:39831) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkhlR-0002qt-J1 for 18892@debbugs.gnu.org; Sat, 01 Nov 2014 19:07:22 -0400 Received: by mail-wi0-f177.google.com with SMTP id ex7so3791684wid.4 for <18892@debbugs.gnu.org>; Sat, 01 Nov 2014 16:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=CtNADT59UtkxMXRXmI+GgTdAMEvjzeg71xnu9X/gbY4=; b=TVwLHuzDTOsenPPGrGcgSrvZ78kHtrhE2UavOK5hKSueVdPrblF/TUkX5G2DqGTqcP glJwJsDPOl68qddmGSLozdd34fMiwg2BQQZhE7a+ZXAgGxFS/VvmKBZq4TgtwWRBDZsq NXvWNJI36tsUrASUue3OYaxFXAymLNXPUhqN88i1xBYMOnaWKLUCZODdN06Doc2Qqffe sb//rkk3Utbx3Llq0Yl2dQ0vaxUFN15USLhWrODRawcfnrDdf4dm4VdYak3DtAgwIRzU MDHKq5i3qNId7eqOorj7F9L5+UgkPpyTRXGKwMbgFJwTwnm8ey60q8WOZIFEpPS/o4vL WXWg== X-Received: by 10.180.102.199 with SMTP id fq7mr165123wib.19.1414883235699; Sat, 01 Nov 2014 16:07:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Sat, 1 Nov 2014 16:06:54 -0700 (PDT) In-Reply-To: <54515367.3040609@gmail.com> References: <54515367.3040609@gmail.com> From: Jim Meyering Date: Sat, 1 Nov 2014 16:06:54 -0700 X-Google-Sender-Auth: 40aBvoOVjJVunwopFFwqOdOZXow Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Assaf Gordon Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Oct 29, 2014 at 1:51 PM, Assaf Gordon wrote: > Hello, > > On 10/29/2014 02:29 PM, Jim Meyering wrote: >> >> Thanks to many fixes and improvements by Paul Eggert and Norihiro Tanaka, >> here is a pre-release snapshot: >> >> grep snapshot: >> http://meyering.net/grep/grep-ss.tar.xz 1.2 MB >> http://meyering.net/grep/grep-ss.tar.xz.sig >> http://meyering.net/grep/grep-2.20.72-d512.tar.xz ... > On NetBSD 6.1.4, these fail: > XFAIL: equiv-classes > FAIL: symlink > FAIL: word-multibyte > Attached is netbsd614.test-suite.log Hi Assaf, First, that "XFAIL" is an expected failure, not a test failure, per se. The "word-multibyte" failure should be fixed by the patch I've already pushed. However, I'll need more information to understand the "symlink" failure. Normally the log file contains verbose output information (resulting from init.sh's "set -x"), but on your NetBSD system, it appears not to have been enabled, perhaps because that system's /bin/sh is inadequate. Can you rerun the tests using bash as your shell? That may be enough to evoke the log information that will highlight which part(s) of the "symlink" test actually fail. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 01 21:26:55 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 01:26:56 +0000 Received: from localhost ([127.0.0.1]:44928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkjwU-0006e6-Vb for submit@debbugs.gnu.org; Sat, 01 Nov 2014 21:26:55 -0400 Received: from mail-qc0-f175.google.com ([209.85.216.175]:40118) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkjwR-0006dh-8m for 18892@debbugs.gnu.org; Sat, 01 Nov 2014 21:26:52 -0400 Received: by mail-qc0-f175.google.com with SMTP id b13so8542146qcw.6 for <18892@debbugs.gnu.org>; Sat, 01 Nov 2014 18:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=thHymCE1Nur94Wp1TOHtoK0UAPCA/pTaLkXMsFmp4gE=; b=HBt31EiHTWXg3xMaAJzSqSpH04DTfSj+9MSQLYFnC5ttXgc6IJUcnhQwqvUFH0+nLP CHfTxRRu58Jtl9y3W9qgVxre76quNzUwy3fFG1QgGj56gLFSUwFw7qz0w/2TJpoybO2T j6ItuEw6f8pDaKlNegvNaeNlKt07NKrAPUB4w7O2OgMNpnsk8w/aqbhF28QRLYhIWkNi 0UkEa3kil44rg6Bw64Q4ktEsCG3PshtbQYJcPvYJyjFBz3oNyxS/cZYzPhViG6GMbkyU CDp6Yc9QvUNIsfFIaTxBaL5dY5/0WS9oYwVf7PgPCmoNsfIvqPulkE8aiPVnJsktBhil JHZA== X-Received: by 10.224.160.83 with SMTP id m19mr51761463qax.17.1414891605604; Sat, 01 Nov 2014 18:26:45 -0700 (PDT) Received: from disco.wi.mit.edu ([18.4.1.144]) by mx.google.com with ESMTPSA id m36sm13290648qgd.28.2014.11.01.18.26.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Nov 2014 18:26:44 -0700 (PDT) Message-ID: <54558855.9070108@gmail.com> Date: Sat, 01 Nov 2014 21:26:45 -0400 From: Assaf Gordon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------030001020805040507050408" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This is a multi-part message in MIME format. --------------030001020805040507050408 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hello, On 11/01/2014 07:06 PM, Jim Meyering wrote: >> On NetBSD 6.1.4, these fail: >> XFAIL: equiv-classes >> FAIL: symlink >> FAIL: word-multibyte > <...> > However, I'll need more information to understand the "symlink" failure. > Normally the log file contains verbose output information (resulting > from init.sh's "set -x"), but on your NetBSD system, it appears not to > have been enabled, perhaps because that system's /bin/sh is > inadequate. Can you rerun the tests using bash as your shell? That > may be enough to evoke the log information that will highlight which > part(s) of the "symlink" test actually fail. It turned out not to be directly a shell issue (I tried with forcing shell to bash), but a BSD make vs GNU make. using "gmake" did use the correct shell, and produced a detailed log, which is attached. If I understand correctly, the failure is triggered in line 177 in the attached log. running "grep -r '^'" was supposed to return zero, but it returns 2. I disabled the removal of the temporary directory, and so was able to reproduce manually: ==== $ uname -a NetBSD 6.1.4 NetBSD 6.1.4 (GENERIC) amd64 $ pwd /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 $ ls -lR total 20 drwxr-xr-x 2 miles wheel 512 Nov 2 00:55 dir -rw-r--r-- 1 miles wheel 30 Nov 2 00:55 exp -rw-r--r-- 1 miles wheel 30 Nov 2 00:55 grepout -rw-r--r-- 1 miles wheel 30 Nov 2 00:55 out -rw-r--r-- 1 miles wheel 30 Nov 2 00:55 out-t ./dir: total 8 -rw-r--r-- 1 miles wheel 2 Nov 2 00:55 a -rw-r--r-- 1 miles wheel 2 Nov 2 00:55 b lrwxr-xr-x 1 miles wheel 1 Nov 2 00:55 c -> a lrwxr-xr-x 1 miles wheel 1 Nov 2 00:55 d -> . lrwxr-xr-x 1 miles wheel 8 Nov 2 00:55 e -> dangling $ cd dir $ pwd /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01/dir $ ../../../src/grep -r '^' ; echo $? a:a b:b ../../../src/grep: c: Inappropriate file type or format ../../../src/grep: d: Inappropriate file type or format ../../../src/grep: e: Inappropriate file type or format 2 ==== For comparison, On Linux (Ubuntu 14.04.1 amd64), the exit code is zero, somehow c,d,e are ignored: === $ uname -a Linux XXXX 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 GNU/Linux $ pwd /tmp/grep/grep-2.20.72-d512/tests/gt-symlink.3Zym $ ls -lR .: total 20 drwxrwxr-x 2 gordon gordon 4096 Nov 1 21:18 dir -rw-rw-r-- 1 gordon gordon 30 Nov 1 21:18 exp -rw-rw-r-- 1 gordon gordon 30 Nov 1 21:18 grepout -rw-rw-r-- 1 gordon gordon 30 Nov 1 21:18 out -rw-rw-r-- 1 gordon gordon 30 Nov 1 21:18 out-t ./dir: total 8 -rw-rw-r-- 1 gordon gordon 2 Nov 1 21:18 a -rw-rw-r-- 1 gordon gordon 2 Nov 1 21:18 b lrwxrwxrwx 1 gordon gordon 1 Nov 1 21:18 c -> a lrwxrwxrwx 1 gordon gordon 1 Nov 1 21:18 d -> . lrwxrwxrwx 1 gordon gordon 8 Nov 1 21:18 e -> dangling $ cd dir $ pwd /tmp/grep/grep-2.20.72-d512/tests/gt-symlink.3Zym/dir $ ../../../src/grep -r '^' ; echo $? b:b a:a 0 === - Assaf --------------030001020805040507050408 Content-Type: text/x-log; name="netbsd614.test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="netbsd614.test-suite.log" ================================================= GNU grep 2.20.72-d512: tests/test-suite.log ================================================= # TOTAL: 85 # PASS: 58 # SKIP: 24 # XFAIL: 1 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: symlink ============= ++ initial_cwd_=/tmp/grep-2.20.72-d512/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /tmp/grep-2.20.72-d512/tests gt-symlink.XXXX +++ case $# in +++ destdir_=/tmp/grep-2.20.72-d512/tests +++ template_=gt-symlink.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d='/tmp/-p.009117aa gt-symlink.117c' +++ fail=1 +++ case $d in +++ fail=1 +++ test -d '/tmp/-p.009117aa gt-symlink.117c' +++ fail=1 ++++ ls -dgo '/tmp/-p.009117aa gt-symlink.117c' ++++ tr S - +++ perms= +++ case $perms in +++ fail=1 +++ test 1 = 0 ++++ echo gt-symlink.XXXX ++++ sed 's/XX*$//' +++ base_template_=gt-symlink. ++++ echo gt-symlink.XXXX ++++ wc -c +++ template_length_=' 16' ++++ echo gt-symlink. ++++ wc -c +++ nx_=' 12' ++++ expr 16 - 12 +++ nx_=4 +++ err_= +++ i_=1 +++ : ++++ rand_bytes_ 4 ++++ n_=4 ++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ++++ dev_rand_=/dev/urandom ++++ test -r /dev/urandom ++++ dd ibs=4 count=1 if=/dev/urandom ++++ LC_ALL=C ++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ++++ return +++ X_=1F01 +++ candidate_dir_=/tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 ++++ mkdir -m 0700 /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 +++ err_= +++ echo /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 +++ return ++ test_dir_=/tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 ++ cd /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ 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 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in + abs_path_dir_=/tmp/grep-2.20.72-d512/tests/../src + case $abs_path_dir_ in + PATH=/tmp/grep-2.20.72-d512/tests/../src:/tmp/grep-2.20.72-d512/src:/home/miles/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin + create_exe_shims_ /tmp/grep-2.20.72-d512/tests/../src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + mkdir dir + echo a + echo b + ln -s a dir/c + ln -s . dir/d + ln -s dangling dir/e + touch out + for recursion in ''\'''\''' -r -R + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=0 + cd dir + grep '^' + test 0 -eq 0 + case $recursion,$files in + exp='a\n' + printf 'a\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=2 + cd dir + grep '^' a b c d e grep: e: No such file or directory + test 2 -eq 2 + case $recursion,$files in + exp='a:a\nb:b\nc:a\n' + printf 'a:a\nb:b\nc:a\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for recursion in ''\'''\''' -r -R + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=0 + cd dir + grep -r '^' grep: c: Inappropriate file type or format grep: d: Inappropriate file type or format grep: e: Inappropriate file type or format + test 2 -eq 0 + fail=1 + case $recursion,$files in + exp='a:a\nb:b\n' + printf 'a:a\nb:b\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=2 + cd dir + grep -r '^' a b c d e grep: d/c: Inappropriate file type or format grep: d/d: Inappropriate file type or format grep: d/e: Inappropriate file type or format grep: e: No such file or directory + test 2 -eq 2 + case $recursion,$files in + exp='a:a\nb:b\nc:a\nd/a:a\nd/b:b\n' + printf 'a:a\nb:b\nc:a\nd/a:a\nd/b:b\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for recursion in ''\'''\''' -r -R + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=2 + cd dir + grep -R '^' grep: warning: d: recursive directory loop grep: e: No such file or directory + test 2 -eq 2 + case $recursion,$files in + exp='a:a\nb:b\nc:a\n' + printf 'a:a\nb:b\nc:a\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for files in ''\'''\''' ''\''*'\''' + case $recursion,$files in + expected_status=2 + cd dir + grep -R '^' a b c d e grep: warning: d/d: recursive directory loop grep: d/e: No such file or directory grep: e: No such file or directory + test 2 -eq 2 + case $recursion,$files in + exp='a:a\nb:b\nc:a\nd/a:a\nd/b:b\nd/c:a\n' + printf 'a:a\nb:b\nc:a\nd/a:a\nd/b:b\nd/c:a\n' + LC_ALL=C + sort grepout + grep -v Binary out-t + case $? in + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + Exit 1 + set +e + exit 1 + exit 1 FAIL symlink (exit status: 1) --------------030001020805040507050408-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 01 21:49:22 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 01:49:22 +0000 Received: from localhost ([127.0.0.1]:44947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkkIE-0007aZ-8i for submit@debbugs.gnu.org; Sat, 01 Nov 2014 21:49:22 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:54678) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkkIB-0007aA-Jk for 18892@debbugs.gnu.org; Sat, 01 Nov 2014 21:49:20 -0400 Received: by mail-wi0-f177.google.com with SMTP id ex7so3898308wid.4 for <18892@debbugs.gnu.org>; Sat, 01 Nov 2014 18:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=nrTkWGTdshU3W6tG6LVR4Nd1mzV/Ub8Qr6gUVbN6hwk=; b=qRTvdXP0ScDUY1ZaP89lh4Qz2QcZHbGfQMkCPZk36BUe1USNXmEjK9OZzdr0WmyWJD ASVHp5WczNAphuGBqefLzCzq7AsTmxPkWzMHPzQZn8ug67IYVf8CdvZzvfQOza9tu9HC L6Mjozw7dc+K3mamg2IIncoA21xTP8STOV9PRlrdjAUdo+HPbTW4uruXLdnepyFU+xV5 hKBkjvfi8EVgXlAenwPUj9v/P2J2zymsvlIMiXW2OWhb5Yf6x0aLU0fcywe00gCYM7mC br1B/sqCZEjweq4sYuIACU3UHj6tSbL4gu+P2e1VgBzVxwLM4MVotB7yomaqWbiDGn26 8rfw== X-Received: by 10.180.13.11 with SMTP id d11mr6864537wic.19.1414892953784; Sat, 01 Nov 2014 18:49:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Sat, 1 Nov 2014 18:48:53 -0700 (PDT) In-Reply-To: <5451627E.9040209@gmail.com> References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> From: Jim Meyering Date: Sat, 1 Nov 2014 18:48:53 -0700 X-Google-Sender-Auth: KuNnR3hLwz7sAqcVQiFf8C7-QgI Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Bruce Dubbs Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs wrote: ... >>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz ... > Linux From Scratch 7.6 > > configure and make were clean. > > $ env RUN_EXPENSIVE_TESTS=yes make -k check > > big-match: skipped test: not enough main memory to run the test > sjis-mb: skipped test: SJIS locale not found > > I do have 8G of memory. That test fails when grep fails to allocate enough space to hold a 2GiB line. No big deal, and not hard to imaging happening with a few applications in 8GiB of RAM. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 01 22:39:30 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 02:39:30 +0000 Received: from localhost ([127.0.0.1]:44964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xkl4j-0001ww-UG for submit@debbugs.gnu.org; Sat, 01 Nov 2014 22:39:30 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:49920) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xkl4h-0001wi-Lw for 18892@debbugs.gnu.org; Sat, 01 Nov 2014 22:39:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 77035A60004; Sat, 1 Nov 2014 19:39:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id liBWZ6Np-zst; Sat, 1 Nov 2014 19:39:12 -0700 (PDT) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C04D0A60002; Sat, 1 Nov 2014 19:39:12 -0700 (PDT) Message-ID: <54559950.5050408@cs.ucla.edu> Date: Sat, 01 Nov 2014 19:39:12 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Assaf Gordon Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <54558855.9070108@gmail.com> In-Reply-To: <54558855.9070108@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Assaf Gordon wrote: > ./dir: > total 8 > -rw-r--r-- 1 miles wheel 2 Nov 2 00:55 a > -rw-r--r-- 1 miles wheel 2 Nov 2 00:55 b > lrwxr-xr-x 1 miles wheel 1 Nov 2 00:55 c -> a > lrwxr-xr-x 1 miles wheel 1 Nov 2 00:55 d -> . > lrwxr-xr-x 1 miles wheel 8 Nov 2 00:55 e -> dangling > > $ cd dir > $ pwd > /tmp/grep-2.20.72-d512/tests/gt-symlink.1F01/dir > > $ ../../../src/grep -r '^' ; echo $? > a:a > b:b > ../../../src/grep: c: Inappropriate file type or format > ../../../src/grep: d: Inappropriate file type or format > ../../../src/grep: e: Inappropriate file type or format > 2 What system calls is this 'grep' executing? What's the output of ktrace and kdump? From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 01 22:56:21 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 02:56:21 +0000 Received: from localhost ([127.0.0.1]:44972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XklL3-0002Lt-4s for submit@debbugs.gnu.org; Sat, 01 Nov 2014 22:56:21 -0400 Received: from mail-ob0-f175.google.com ([209.85.214.175]:52338) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XklL0-0002Lf-FQ for 18892@debbugs.gnu.org; Sat, 01 Nov 2014 22:56:19 -0400 Received: by mail-ob0-f175.google.com with SMTP id gq1so2681843obb.6 for <18892@debbugs.gnu.org>; Sat, 01 Nov 2014 19:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=8UDwvNlxQM1vHjd04OD7NtXyEpZYSauxGDSoORcXUKQ=; b=KlGo+xEwoQtz0wc7MxJPfUvM+7gdTU9ZxqVjGlEgB2IMZg+XX5lkmwqUPuZIgpz7MT 0p2Q6LY7SH0x4xS6UOkguWaBlTfXt/UA5mYicqF5znmdjQEh9WkC19PPo5K3lnx6TLpt N3EEiHqHp+6twfraneJhcPu5aqFqrYsOMfbV04D0jmDb4DU6pkttjjl9f7KvB+AR+Zka flCdjKrDQZ3KnBhpztjMO05SYVV/l2r/wl3if6maXXm/96N/Y+36puzU8UMonJn7LUan vYMANJ0UBr1LUcl5So3MmGxfr5xEbqSQaSpb3lwMUrY0ir6pkQB+PASl8tbBTANLngvB 9LVQ== X-Received: by 10.60.82.163 with SMTP id j3mr29090159oey.13.1414896972551; Sat, 01 Nov 2014 19:56:12 -0700 (PDT) Received: from [192.168.0.75] (cpe-72-178-123-130.satx.res.rr.com. [72.178.123.130]) by mx.google.com with ESMTPSA id bg10sm6277989obb.7.2014.11.01.19.56.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Nov 2014 19:56:12 -0700 (PDT) Message-ID: <54559D4B.1090200@gmail.com> Date: Sat, 01 Nov 2014 21:56:11 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120628 Firefox/13.0.1 SeaMonkey/2.10.1 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Jim Meyering wrote: > On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs wrote: > ... >>>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz > ... >> Linux From Scratch 7.6 >> >> configure and make were clean. >> >> $ env RUN_EXPENSIVE_TESTS=yes make -k check >> >> big-match: skipped test: not enough main memory to run the test >> sjis-mb: skipped test: SJIS locale not found >> >> I do have 8G of memory. > > That test fails when grep fails to allocate enough space to hold a 2GiB line. > No big deal, and not hard to imaging happening with a few applications > in 8GiB of RAM. Curious though. It should have been OK. I did not have any gui running at the time. Even if RAM was full, swap should have handled it. $ free total used free shared buffers cached Mem: 8105972 2380012 5725960 880 610460 326820 -/+ buffers/cache: 1442732 6663240 Swap: 10485756 3216 10482540 -- Bruce From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 02 09:38:40 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 14:38:40 +0000 Received: from localhost ([127.0.0.1]:45075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkwIi-0004sZ-AB for submit@debbugs.gnu.org; Sun, 02 Nov 2014 09:38:40 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:46629) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkwIe-0004sJ-Qs for 18892@debbugs.gnu.org; Sun, 02 Nov 2014 09:38:37 -0500 Received: by mail-wi0-f176.google.com with SMTP id h11so4563500wiw.15 for <18892@debbugs.gnu.org>; Sun, 02 Nov 2014 06:38:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=kA18bvpntDZ+DSDXqoW5CTOzbKFq024Db9v6PwmLGW4=; b=jcX+KzDDdVIzQLZ1HjCaUMUDMXtOanPBQzBR/gLK3G4ynDHCYc0UjaEuTFTq3oIUn/ B1xN2czsrQ/QpaYkwc6n1g3GCAShI47RLYNF5sCCzEU/IP2XFDFs99t9HW/ol+wkhtcS Xc2CLRwmfQCeAX6OK6c8+QnGnwlWVG9qZ2vc+dw1cmx1u0EahNGGfOCxEqlZwKkENrj2 jjCqC+awQ4QIY4VOKmRkj9TSoNkzIg6U8DObQs03+ZgoAdKQ8qCs3B1CaQUla8toDekE /o4L0ldFCxJb+dLP8AltWc3PsGX3rAgKhuauxiovDhSEV0Bck6vBi8QmBViuSIdlWcrL ttTA== X-Received: by 10.180.13.11 with SMTP id d11mr10073124wic.19.1414939110803; Sun, 02 Nov 2014 06:38:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Sun, 2 Nov 2014 06:38:10 -0800 (PST) In-Reply-To: <54559D4B.1090200@gmail.com> References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> <54559D4B.1090200@gmail.com> From: Jim Meyering Date: Sun, 2 Nov 2014 06:38:10 -0800 X-Google-Sender-Auth: T4pmtwF00DAcf1FPi0X9UH7iWMU Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Bruce Dubbs Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Your total free memory is obviously larger than 2GiB, but remember that what's listed there is the total, while the offending usage required a *contiguous* 2GiB region. On Sat, Nov 1, 2014 at 7:56 PM, Bruce Dubbs wrote: > Jim Meyering wrote: >> >> On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs >> wrote: >> ... >>>>> >>>>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >> >> ... >>> >>> Linux From Scratch 7.6 >>> >>> configure and make were clean. >>> >>> $ env RUN_EXPENSIVE_TESTS=yes make -k check >>> >>> big-match: skipped test: not enough main memory to run the test >>> sjis-mb: skipped test: SJIS locale not found >>> >>> I do have 8G of memory. >> >> >> That test fails when grep fails to allocate enough space to hold a 2GiB >> line. >> No big deal, and not hard to imaging happening with a few applications >> in 8GiB of RAM. > > > Curious though. It should have been OK. I did not have any gui running at > the time. Even if RAM was full, swap should have handled it. > > $ free > total used free shared buffers cached > Mem: 8105972 2380012 5725960 880 610460 326820 > -/+ buffers/cache: 1442732 6663240 > Swap: 10485756 3216 10482540 > > -- Bruce > > From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 02 13:08:04 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 18:08:05 +0000 Received: from localhost ([127.0.0.1]:46348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkzZM-0002Cr-F7 for submit@debbugs.gnu.org; Sun, 02 Nov 2014 13:08:04 -0500 Received: from mail-qg0-f45.google.com ([209.85.192.45]:54110) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XkzZK-0002CL-Ej for 18892@debbugs.gnu.org; Sun, 02 Nov 2014 13:08:02 -0500 Received: by mail-qg0-f45.google.com with SMTP id z107so7801556qgd.32 for <18892@debbugs.gnu.org>; Sun, 02 Nov 2014 10:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=ftkBGFApT6F+d0ruaoG4MKno4rg/ygBPOFDuct3tkis=; b=ji5VCNqubwcDo1Mc1KmMXvGdZOA5p2v9YwabrJQYQ98s8RXHykdoDHFcOnPTXG2FIE c3U/8WNPxT9Ybewn6RPXC8h/FFJafZU0utBXyvBGkfOyoDfGqOiRkrec0jy2XYIxTMJn BTIeW15bTaEvTUsW2nalyCa1B3HzuG10GZFhHYW9VLzYIXc8znsB+BPJLBPC4sVevOMT bh+97m2c+cjubajJhatE62He/vzn9voovtBUBfDTmRpagjwrRiLtJBZAIsmVDeMPGVO3 hZjsCeot87pb2jv+Lp7NAPG7AkDtfgNC1vJik9tFux2bWMgej/CfV7zRAtqJ2A1768rl r8ng== X-Received: by 10.224.74.194 with SMTP id v2mr49941143qaj.60.1414951677068; Sun, 02 Nov 2014 10:07:57 -0800 (PST) Received: from disco.wi.mit.edu ([18.4.1.144]) by mx.google.com with ESMTPSA id c104sm14031090qgd.30.2014.11.02.10.07.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Nov 2014 10:07:56 -0800 (PST) Message-ID: <545672FD.5060509@gmail.com> Date: Sun, 02 Nov 2014 13:07:57 -0500 From: Assaf Gordon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <54558855.9070108@gmail.com> <54559950.5050408@cs.ucla.edu> In-Reply-To: <54559950.5050408@cs.ucla.edu> Content-Type: multipart/mixed; boundary="------------030906080603050105080408" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) This is a multi-part message in MIME format. --------------030906080603050105080408 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hello, On 11/01/2014 10:39 PM, Paul Eggert wrote: > Assaf Gordon wrote: >> $ ../../../src/grep -r '^' ; echo $? >> a:a >> b:b >> ../../../src/grep: c: Inappropriate file type or format >> ../../../src/grep: d: Inappropriate file type or format >> ../../../src/grep: e: Inappropriate file type or format >> 2 > > What system calls is this 'grep' executing? What's the output of ktrace and kdump? Attached is the ktrace+tdump output of running the command. The error appears on line 217 (open() returns -1 for file "c"), though similar errors stemming from 'fstat' for files a,b are ignored (lines 150,191). - Assaf --------------030906080603050105080408 Content-Type: application/x-xz; name="netbsd.grp.out.txt.xz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="netbsd.grp.out.txt.xz" /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj4EvABkhdABAMgkOBVUua3cXMMF7lcZaZkdyoAurl hfcz78uuN3I+deQFvtlFXKPdp+BoEFnnUB4u0U6KGPM9OOwLeSSBLvl8Ms4Cz/WzEdtqFnaA XT4Ki1YNGxmTkKr6rIq4mlzKPTpXK+nFalcecf7Y+rLQPAiRgvbOqGVc1RBWMtX/7RX2oOd7 +MAFNHO4pSvK7Zftw2T+AP1DJ4wYeijG/7oUuKETlK5G1jNwbyt6bJVVcySZ3m+w7lR3Q/z+ KBw01VNWe3qoEUMY76Fr45w9ZAB8YeLkixMWt57nDmi0bQEiP9PDoq74Hm8SZmcDgM/0Dxnd csxvSK+MN6fJXJnFMBoaXr8vYElZydvAJLK0DQap7cq4ugfquV7occV3sDDJanHqjGhqmCF1 ILI/G7n8Sq7+opi+SQmVepud3RNbJsZdWV3kWkPo9hIorr0fjCjGHX7LHLIw8q6DfLsWrbZ/ jDV6YpOsRa3DnuqVJ0qn05DxXcAezo08B30qzacTY6HJohVsWrxQG5GezLBY95kJ5mz5cQl+ M0svZa63nSAbZ0vFMNLAXAgSbEoytNsbhADsVKU9GMjLUGU6kfHVEpPn4sm/sWFKQEIAPmCF hs8cCRDhdWUwPGtYFArT9FhHrr3epcH8vCKBvHhFPbbI2cxRsX6sgmCi0ULseae+JEQb/PIu Fy+htbwe3ib8ZftrgJj2ll/HF/7R+VPFTFRqSMfoJb9/k3ophS713KeTnRkzbAplJNhaZBqN +wmHy6q1uBb+XMyB+2kq9MYMNtJqDn0pv2NlzRZQu0PGIOn5VMNVH5xUTamUyJo264m99Qlq 0aAQ70sa+V+JVemsMvdytXM9eEc/ViXRX21HXAViPLYbzpPPa8JW0sSKdbfkMUG7hd+kFISj YzoewGa0Pl/AOStzixFEWPAArhRMPRBUheuYyNi3xGedMQmdOwcdSNXsMBVyI/tdfuSELp7U p5sm566G/0wavuzn4hDwrhTDM6eHf63uDqKUyhywZKRgHXZpXfO3KnUjmSOyXjm/ubZ5ekSG KvOR+JMgdzvYPoeLeR64+dNa9CiuHLph9F3HXCXrrvquDlN6JJ8xOOlDg1Xqn7zeK0ATV8Az ySJKjvCYQxNEfTweZj93m29hTdavLi13c0Qg49TSwxmAf0MxUMvTPZ9mNUBbhCQQnMU7onEM lBYKqtOfPyMMwBimVPvzYTVtTLTw1kP3wnbg23UUHyePXt89ggzqmDup4wPNTJb/hODmRTmI iKnDx0ApFGfXTfsKxQuS8OaFsv9vpSrQbUGBUZcVaq/lp3oABcdwtUnq10/KQAO74gO6xvrq /9srt8Uj4facUHhcQ1VFFnVSd91bvEAFuXn5230AjXkiO/HJ6w7Zde0StnT3nP+k9CFBNJuD s7LwJxqhJlGQZLev7IWpMfVmLqmjIPlk+Q7tHYBaHND4gjtWHoqfEG6WWAB2KhyCA6yWasQM bJDgQETMnmu2ffZfLrdxS6jmW2Ow8ipPVeO/KNOebnpUUzubYfT3uHso+MNN2CqEei9IwGmC mj7+8pk5C+lqwfZMNgU5t2Pw81Ejcd6lgoKq3zrkojegkJ5fO+wRMKfQk1zcKVYBfOMCWink bSNF6H0MGTfb+1uhss7rY9kR0/MRkbWRDpW+EVsvrtqEoHVKkGLkKekomuBbYzrndSW1Irpr xBA10LJzjkjor7jkFXlGVKkO6/R00806WRY2fpo7qOU7NH0HecfD/szkhv6thG8ayu3UwWFt qDNk/gT7/i23cikg3s1dOUn+LTxVxWkYXbIdT30JJLufxexSJ4Vr1gyNBawGooaH/RUTa8E7 jQm7aywpzAgwDVKUz53XsSPYTUO5S41hjXN6sghcHvsflPAZ+KFPzuKu5LN7msbX6DZUbleW z7TXKIDU8+FHEDl1Zdd6BvK2eLg5oLJ5TYdWMUiEQW6hzGIuCjq+ItWkKNHbnntxmIrYjLTf qsYDbxj5dSKJMBjIxNgAK5/KpV5bMsoyU4fyf5Va2RVMbIlHHEuzT46PI+c/GlSQVmjCNr3k +/EbdBIHTgQxdGEPhHK61C7p2IGsQpa81f6wKqOG7q0niFZcPikSJZKShEOQEc1lJmpdt2ST 1P/YdgMNwhBCaiXBUqmmzaiGHwCOi0jVulH6yQAB5AzBlwEAH3bGpLHEZ/sCAAAAAARZWg== --------------030906080603050105080408-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 02 13:59:44 2014 Received: (at 18892) by debbugs.gnu.org; 2 Nov 2014 18:59:44 +0000 Received: from localhost ([127.0.0.1]:46379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xl0NL-0003XL-L5 for submit@debbugs.gnu.org; Sun, 02 Nov 2014 13:59:44 -0500 Received: from mail-oi0-f43.google.com ([209.85.218.43]:33266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xl0NJ-0003Wz-KV for 18892@debbugs.gnu.org; Sun, 02 Nov 2014 13:59:42 -0500 Received: by mail-oi0-f43.google.com with SMTP id e131so7807973oig.2 for <18892@debbugs.gnu.org>; Sun, 02 Nov 2014 10:59:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/tJpJjkDciJ3pYQfxjYEPTRBXNVI+CB2W3J86086sWM=; b=IIhewsICIPVUQeZvV5lyTeVnQ1cW8Oh4LT2SnpW5IV61TJj5R2MoH4WS9w4mAhwGUe OX3oW2pWIMDt1VAXC5xMEvUo3af+qv84Is6RE44WbStSw81LAo/jd5OsL+MpTVG7V3tY ryljlar+pF5Y1YtG2pkVG+j3Ut6jjR3jcB6d0540TGT/2NSkAS8r56Q0nzGmdTI1Rovl EvbRN1XDXYeJbOGNaYp3RVtiMrRnqQZaPiGwuHEO3hg0bcZKvK0986OAbHtEPYcZV+Hv Yt6Et51QiB7KtXqt5K2Ab7DH1jLR38VXn3fWeel9vOs+URnt9gZ5GCHwzUnNqZ+jnF42 +Wlg== X-Received: by 10.202.224.65 with SMTP id x62mr274012oig.91.1414954775768; Sun, 02 Nov 2014 10:59:35 -0800 (PST) Received: from [192.168.0.75] (cpe-72-178-123-130.satx.res.rr.com. [72.178.123.130]) by mx.google.com with ESMTPSA id d6sm6987335obq.4.2014.11.02.10.59.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Nov 2014 10:59:35 -0800 (PST) Message-ID: <54567F16.9020409@gmail.com> Date: Sun, 02 Nov 2014 12:59:34 -0600 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120628 Firefox/13.0.1 SeaMonkey/2.10.1 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <5451627E.9040209@gmail.com> <54559D4B.1090200@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Jim Meyering wrote: > Your total free memory is obviously larger than 2GiB, but remember > that what's listed there is the total, while the offending usage > required a *contiguous* 2GiB region. My understanding of the kernel is that it allocates in 4K blocks and maps them to user space to appear to be contiguous. If I write a program that does: size_t size = 0xA0000000; // 2,684,354,560 char* mem = (char*) malloc( size ); size_t i; for ( i = 0; i < size; i++, mem++ ) *mem='A'; There are no problems, but it does take about 9 seconds on my system. The start address is 7ffa5405d010. The end address is 7ffaf405d010. What am I missing? -- Bruce > On Sat, Nov 1, 2014 at 7:56 PM, Bruce Dubbs wrote: >> Jim Meyering wrote: >>> >>> On Wed, Oct 29, 2014 at 2:56 PM, Bruce Dubbs >>> wrote: >>> ... >>>>>> >>>>>> http://meyering.net/grep/grep-2.20.72-d512.tar.xz >>> >>> ... >>>> >>>> Linux From Scratch 7.6 >>>> >>>> configure and make were clean. >>>> >>>> $ env RUN_EXPENSIVE_TESTS=yes make -k check >>>> >>>> big-match: skipped test: not enough main memory to run the test >>>> sjis-mb: skipped test: SJIS locale not found >>>> >>>> I do have 8G of memory. >>> >>> >>> That test fails when grep fails to allocate enough space to hold a 2GiB >>> line. >>> No big deal, and not hard to imaging happening with a few applications >>> in 8GiB of RAM. >> >> >> Curious though. It should have been OK. I did not have any gui running at >> the time. Even if RAM was full, swap should have handled it. >> >> $ free >> total used free shared buffers cached >> Mem: 8105972 2380012 5725960 880 610460 326820 >> -/+ buffers/cache: 1442732 6663240 >> Swap: 10485756 3216 10482540 >> >> -- Bruce >> >> > From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 01:15:06 2014 Received: (at 18892) by debbugs.gnu.org; 3 Nov 2014 06:15:06 +0000 Received: from localhost ([127.0.0.1]:46679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlAuw-00077H-2m for submit@debbugs.gnu.org; Mon, 03 Nov 2014 01:15:06 -0500 Received: from mailgw06.kcn.ne.jp ([61.86.7.213]:54266) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlAur-00076N-W9 for 18892@debbugs.gnu.org; Mon, 03 Nov 2014 01:15:04 -0500 Received: from imp01 (mailgw5.kcn.ne.jp [61.86.15.231]) by mailgw06.kcn.ne.jp (Postfix) with ESMTP id C5868E80021 for <18892@debbugs.gnu.org>; Mon, 3 Nov 2014 15:14:54 +0900 (JST) Received: from mail07.kcn.ne.jp ([61.86.6.186]) by imp01 with bizsmtp id AuEu1p00P40oyB901uEuiF; Mon, 03 Nov 2014 15:14:54 +0900 X-OrgRCPT: 18892@debbugs.gnu.org Received: from [10.120.1.9] (i118-21-128-66.s30.a048.ap.plala.or.jp [118.21.128.66]) by mail07.kcn.ne.jp (Postfix) with ESMTPA id 8CB0ED5009D; Mon, 3 Nov 2014 15:14:54 +0900 (JST) Date: Mon, 03 Nov 2014 15:14:53 +0900 From: Norihiro Tanaka To: Assaf Gordon Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' In-Reply-To: <545672FD.5060509@gmail.com> References: <54559950.5050408@cs.ucla.edu> <545672FD.5060509@gmail.com> Message-Id: <20141103151452.C5E6.27F6AC2D@kcn.ne.jp> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_54571B8800000000C5DD_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.65.07 [ja] X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org, Paul Eggert X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) --------_54571B8800000000C5DD_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Assaf Gordon wrote: > On 11/01/2014 10:39 PM, Paul Eggert wrote: > > Assaf Gordon wrote: > > >> $ ../../../src/grep -r '^' ; echo $? > >> a:a > >> b:b > >> ../../../src/grep: c: Inappropriate file type or format > >> ../../../src/grep: d: Inappropriate file type or format > >> ../../../src/grep: e: Inappropriate file type or format > >> 2 > > > > What system calls is this 'grep' executing? What's the output of ktrace and kdump? > > Attached is the ktrace+tdump output of running the command. > > The error appears on line 217 (open() returns -1 for file "c"), > though similar errors stemming from 'fstat' for files a,b are ignored (lines 150,191). > > - Assaf NetBSD returns errno == EFTYPE in open with O_NOFOLLOW for symlink instead of errno == ELOOP which POSIX says. Similarly, Tru64 returns errno == ENOTSUP. So I added them to ignorable list. --------_54571B8800000000C5DD_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII"; name="0001-grep-fix-symlink-non-conforming-to-POSIX.patch" Content-Disposition: attachment; filename="0001-grep-fix-symlink-non-conforming-to-POSIX.patch" Content-Transfer-Encoding: base64 RnJvbSAxNjNlNGU4NjhmY2U3MzNjNDk0ZTZkMzE1NGU2YWRmOTdjNjRkZTljIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb3JpaGlybyBUYW5ha2EgPG5vcml0bmtAa2NuLm5lLmpwPgpE YXRlOiBNb24sIDMgTm92IDIwMTQgMTQ6MDQ6NDAgKzA5MDAKU3ViamVjdDogW1BBVENIXSBncmVw OiBmaXggc3ltbGluayBub24tY29uZm9ybWluZyB0byBQT1NJWAoKUmVwb3J0ZWQgYnkgQXNzYWYg R29yZG9uIGluOiBodHRwOi8vYnVncy5nbnUub3JnLzE4ODkyCiogc3JjL2dyZXAuYyAoZ3JlcGZp bGUpOiBBbHNvIHRyZWF0IEVGVFlQRSAoaWYgZGVmaW5lZCkgYW5kIEVOT1RTVVAKYXMgRUxPT1Au Ci0tLQogc3JjL2dyZXAuYyB8IDIyICsrKysrKysrKysrKysrKysrKysrLS0KIDEgZmlsZSBjaGFu Z2VkLCAyMCBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL3NyYy9n cmVwLmMgYi9zcmMvZ3JlcC5jCmluZGV4IDBhNGFjMjcuLjU1OWM2MjMgMTAwNjQ0Ci0tLSBhL3Ny Yy9ncmVwLmMKKysrIGIvc3JjL2dyZXAuYwpAQCAtMTUxOSw4ICsxNTE5LDI2IEBAIGdyZXBmaWxl IChpbnQgZGlyZGVzYywgY2hhciBjb25zdCAqbmFtZSwgYm9vbCBmb2xsb3csIGJvb2wgY29tbWFu ZF9saW5lKQogICBpbnQgZGVzYyA9IG9wZW5hdF9zYWZlciAoZGlyZGVzYywgbmFtZSwgT19SRE9O TFkgfCAoZm9sbG93ID8gMCA6IE9fTk9GT0xMT1cpKTsKICAgaWYgKGRlc2MgPCAwKQogICAgIHsK LSAgICAgIGlmIChmb2xsb3cgfHwgKGVycm5vICE9IEVMT09QICYmIGVycm5vICE9IEVNTElOSykp Ci0gICAgICAgIHN1cHByZXNzaWJsZV9lcnJvciAoZmlsZW5hbWUsIGVycm5vKTsKKyAgICAgIGlm ICghZm9sbG93KQorICAgICAgICBzd2l0Y2ggKGVycm5vKQorICAgICAgICAgIHsKKyAgICAgICAg ICBjYXNlIEVMT09QOgorCisgICAgICAgICAgICAvKiBXaXRoIG9wZW4gKCJzeW1saW5rIiwgT19O T0ZPTExPV3wuLi4pLCBQT1NJWCBzYXlzCisgICAgICAgICAgICAgICBlcnJubyA9PSBFTE9PUCwg YnV0IHNvbWUgb3BlcmF0aW5nIHN5c3RlbXMgZG8gbm90IGNvbmZvcm0KKyAgICAgICAgICAgICAg IHRvIHRoZSBzdGFuZGFyZC4gICovCisjaWZkZWYgRUZUWVBFCisgICAgICAgICAgICAvKiBOZXRC U0QgdXNlcyBlcnJubyA9PSBFRlRZUEUuICAqLworICAgICAgICAgIGNhc2UgRUZUWVBFOgorI2Vu ZGlmCisgICAgICAgICAgICAvKiBGcmVlQlNEIDguMSB1c2VzIGVycm5vID09IEVNTElOSy4gICov CisgICAgICAgICAgY2FzZSBFTUxJTks6CisKKyAgICAgICAgICAgIC8qIFRydTY0IDUuMUIgdXNl cyBlcnJubyA9PSBFTk9UU1VQLiAgKi8KKyAgICAgICAgICBjYXNlIEVOT1RTVVA6CisgICAgICAg ICAgICByZXR1cm4gdHJ1ZTsKKyAgICAgICAgICB9CisgICAgICBzdXBwcmVzc2libGVfZXJyb3Ig KGZpbGVuYW1lLCBlcnJubyk7CiAgICAgICByZXR1cm4gdHJ1ZTsKICAgICB9CiAgIHJldHVybiBn cmVwZGVzYyAoZGVzYywgY29tbWFuZF9saW5lKTsKLS0gCjIuMS4zCgo= --------_54571B8800000000C5DD_MULTIPART_MIXED_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 01:16:22 2014 Received: (at 18892) by debbugs.gnu.org; 3 Nov 2014 06:16:22 +0000 Received: from localhost ([127.0.0.1]:46683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlAw9-00079d-Nn for submit@debbugs.gnu.org; Mon, 03 Nov 2014 01:16:22 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:43429) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlAw7-00079Q-Nf for 18892@debbugs.gnu.org; Mon, 03 Nov 2014 01:16:20 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 202C9A60021; Sun, 2 Nov 2014 22:16:13 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dZ+7PeaIgnnH; Sun, 2 Nov 2014 22:16:08 -0800 (PST) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id CED89A6001E; Sun, 2 Nov 2014 22:16:08 -0800 (PST) Message-ID: <54571DA4.8060208@cs.ucla.edu> Date: Sun, 02 Nov 2014 22:16:04 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Assaf Gordon Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54515367.3040609@gmail.com> <54558855.9070108@gmail.com> <54559950.5050408@cs.ucla.edu> <545672FD.5060509@gmail.com> In-Reply-To: <545672FD.5060509@gmail.com> Content-Type: multipart/mixed; boundary="------------030407000501040505030106" X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) This is a multi-part message in MIME format. --------------030407000501040505030106 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Assaf Gordon wrote: > Attached is the ktrace+tdump output of running the command. Thanks, I see the problem now: NetBSD uses a nonstandard errno value when openat (fd, "symlink", ... O_NOFOLLOW ...) fails. I installed the attached, which should fix the NetBSD problem. --------------030407000501040505030106 Content-Type: text/plain; charset=UTF-8; name="0001-grep-port-O_NOFOLLOW-errno-checking-to-NetBSD.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-grep-port-O_NOFOLLOW-errno-checking-to-NetBSD.patch" RnJvbSBhOTQyOTYxODYwOTgyYTdkNDg0ODdiZTI2MjU1NjgwOWIwYjBiMjZiIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBTdW4sIDIgTm92IDIwMTQgMjI6MTE6MzQgLTA4MDAKU3ViamVjdDogW1BBVENI XSBncmVwOiBwb3J0IE9fTk9GT0xMT1cgZXJybm8gY2hlY2tpbmcgdG8gTmV0QlNECgpQcm9i bGVtIHJlcG9ydGVkIGJ5IEFzc2FmIEdvcmRvbiBpbjogaHR0cDovL2J1Z3MuZ251Lm9yZy8x ODg5MgoqIE5FV1M6IERvY3VtZW50IGl0LgoqIHNyYy9ncmVwLmMgKG9wZW5fc3ltbGlua19u b2ZvbGxvd19lcnJvcik6Ck5ldyBmdW5jdGlvbiwgd2hpY2ggZG9lcyB0aGUgcmlnaHQgdGhp bmcgb24gTmV0QlNELgooZ3JlcGZpbGUpOiBVc2UgaXQuCi0tLQogTkVXUyAgICAgICB8ICA0 ICsrKysKIHNyYy9ncmVwLmMgfCAxNiArKysrKysrKysrKysrKystCiAyIGZpbGVzIGNoYW5n ZWQsIDE5IGluc2VydGlvbnMoKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9ORVdT IGIvTkVXUwppbmRleCAwN2E1ZDU0Li40N2FmNDcyIDEwMDY0NAotLS0gYS9ORVdTCisrKyBi L05FV1MKQEAgLTQxLDYgKzQxLDEwIEBAIEdOVSBncmVwIE5FV1MgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAtKi0gb3V0bGluZSAtKi0KICAgZ3JlcCAtRSByZWplY3Rl ZCB1bm1hdGNoZWQgJyknLCBpbnN0ZWFkIG9mIHRyZWF0aW5nIGl0IGxpa2UgJ1wpJy4KICAg W2J1ZyBwcmVzZW50IHNpbmNlICJ0aGUgYmVnaW5uaW5nIl0KIAorICBPbiBOZXRCU0QsIGdy ZXAgLXIgbm8gbG9uZ2VyIHJlcG9ydHMgIkluYXBwcm9wcmlhdGUgZmlsZSB0eXBlIG9yIGZv cm1hdCIKKyAgd2hlbiByZWZ1c2luZyB0byBmb2xsb3cgYSBzeW1ib2xpYyBsaW5rLgorICBb YnVnIGludHJvZHVjZWQgaW4gZ3JlcC0yLjEyXQorCiAqKiBDaGFuZ2VzIGluIGJlaGF2aW9y CiAKICAgVGhlIEdSRVBfT1BUSU9OUyBlbnZpcm9ubWVudCB2YXJpYWJsZSBpcyBub3cgb2Jz b2xlc2NlbnQsIGFuZCBncmVwCmRpZmYgLS1naXQgYS9zcmMvZ3JlcC5jIGIvc3JjL2dyZXAu YwppbmRleCAwYTRhYzI3Li44ZGJmODZlIDEwMDY0NAotLS0gYS9zcmMvZ3JlcC5jCisrKyBi L3NyYy9ncmVwLmMKQEAgLTE1MTMsMTMgKzE1MTMsMjcgQEAgZ3JlcGRpcmVudCAoRlRTICpm dHMsIEZUU0VOVCAqZW50LCBib29sIGNvbW1hbmRfbGluZSkKICAgcmV0dXJuIGdyZXBmaWxl IChkaXJkZXNjLCBlbnQtPmZ0c19hY2NwYXRoLCBmb2xsb3csIGNvbW1hbmRfbGluZSk7CiB9 CiAKKy8qIFRydWUgaWYgZXJybm8gaXMgRVJSIGFmdGVyICdvcGVuICgic3ltbGluayIsIC4u LiBPX05PRk9MTE9XIC4uLiknLgorICAgUE9TSVggc3BlY2lmaWVzIEVMT09QLCBidXQgaXQn cyBFTUxJTksgb24gRnJlZUJTRCBhbmQgRUZUWVBFIG9uIE5ldEJTRC4gICovCitzdGF0aWMg Ym9vbAorb3Blbl9zeW1saW5rX25vZm9sbG93X2Vycm9yIChpbnQgZXJyKQoreworICBpZiAo ZXJyID09IEVMT09QIHx8IGVyciA9PSBFTUxJTkspCisgICAgcmV0dXJuIHRydWU7CisjaWZk ZWYgRUZUWVBFCisgIGlmIChlcnIgPT0gRUZUWVBFKQorICAgIHJldHVybiB0cnVlOworI2Vu ZGlmCisgIHJldHVybiBmYWxzZTsKK30KKwogc3RhdGljIGJvb2wKIGdyZXBmaWxlIChpbnQg ZGlyZGVzYywgY2hhciBjb25zdCAqbmFtZSwgYm9vbCBmb2xsb3csIGJvb2wgY29tbWFuZF9s aW5lKQogewogICBpbnQgZGVzYyA9IG9wZW5hdF9zYWZlciAoZGlyZGVzYywgbmFtZSwgT19S RE9OTFkgfCAoZm9sbG93ID8gMCA6IE9fTk9GT0xMT1cpKTsKICAgaWYgKGRlc2MgPCAwKQog ICAgIHsKLSAgICAgIGlmIChmb2xsb3cgfHwgKGVycm5vICE9IEVMT09QICYmIGVycm5vICE9 IEVNTElOSykpCisgICAgICBpZiAoZm9sbG93IHx8ICEgb3Blbl9zeW1saW5rX25vZm9sbG93 X2Vycm9yIChlcnJubykpCiAgICAgICAgIHN1cHByZXNzaWJsZV9lcnJvciAoZmlsZW5hbWUs IGVycm5vKTsKICAgICAgIHJldHVybiB0cnVlOwogICAgIH0KLS0gCjEuOS4zCgo= --------------030407000501040505030106-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 01:30:52 2014 Received: (at 18892) by debbugs.gnu.org; 3 Nov 2014 06:30:52 +0000 Received: from localhost ([127.0.0.1]:46691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBAA-0007as-UI for submit@debbugs.gnu.org; Mon, 03 Nov 2014 01:30:52 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:43911) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBA8-0007ad-BK for 18892@debbugs.gnu.org; Mon, 03 Nov 2014 01:30:49 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id B7640A60023; Sun, 2 Nov 2014 22:30:42 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dXOPTCofqBW8; Sun, 2 Nov 2014 22:30:34 -0800 (PST) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 1665EA6001E; Sun, 2 Nov 2014 22:30:34 -0800 (PST) Message-ID: <54572109.2000409@cs.ucla.edu> Date: Sun, 02 Nov 2014 22:30:33 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Norihiro Tanaka , Assaf Gordon Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' References: <54559950.5050408@cs.ucla.edu> <545672FD.5060509@gmail.com> <20141103151452.C5E6.27F6AC2D@kcn.ne.jp> In-Reply-To: <20141103151452.C5E6.27F6AC2D@kcn.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) Norihiro Tanaka wrote: > /* Tru64 5.1B uses errno == ENOTSUP. */ Ah, I see that you were working on the same bug I was. I don't think we need to worry about Tru64, partly because ENOTSUP would be troublesome anyway (does it mean that O_NOFOLLOW isn't supported? if so, 'grep' has other problems), partly because HP stopped supporting Tru64 in December 2012 and typically we can stop supporting a platform once its supplier stops. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 01:38:10 2014 Received: (at 18892) by debbugs.gnu.org; 3 Nov 2014 06:38:10 +0000 Received: from localhost ([127.0.0.1]:46695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBHF-0007ma-DB for submit@debbugs.gnu.org; Mon, 03 Nov 2014 01:38:09 -0500 Received: from mailgw05.kcn.ne.jp ([61.86.7.212]:53695) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlBHD-0007lz-2u for 18892@debbugs.gnu.org; Mon, 03 Nov 2014 01:38:07 -0500 Received: from imp02 (mailgw6.kcn.ne.jp [61.86.15.232]) by mailgw05.kcn.ne.jp (Postfix) with ESMTP id 4971467B1E for <18892@debbugs.gnu.org>; Mon, 3 Nov 2014 15:38:00 +0900 (JST) Received: from mail06.kcn.ne.jp ([61.86.6.185]) by imp02 with bizsmtp id Aue01p0013zXHqt01ue09c; Mon, 03 Nov 2014 15:38:00 +0900 X-OrgRCPT: 18892@debbugs.gnu.org Received: from [10.120.1.9] (i118-21-128-66.s30.a048.ap.plala.or.jp [118.21.128.66]) by mail06.kcn.ne.jp (Postfix) with ESMTPA id B27DC1BF0091; Mon, 3 Nov 2014 15:37:59 +0900 (JST) Date: Mon, 03 Nov 2014 15:37:58 +0900 From: Norihiro Tanaka To: Paul Eggert Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' In-Reply-To: <54572109.2000409@cs.ucla.edu> References: <20141103151452.C5E6.27F6AC2D@kcn.ne.jp> <54572109.2000409@cs.ucla.edu> Message-Id: <20141103153757.C5EE.27F6AC2D@kcn.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.65.07 [ja] X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org, Assaf Gordon X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) > Norihiro Tanaka wrote: > > /* Tru64 5.1B uses errno == ENOTSUP. */ > > Ah, I see that you were working on the same bug I was. I don't think > we need to worry about Tru64, partly because ENOTSUP would be troublesome > anyway (does it mean that O_NOFOLLOW isn't supported? if so, 'grep' has > other problems), partly because HP stopped supporting Tru64 in December > 2012 and typically we can stop supporting a platform once its supplier > stops. Thanks, I agree you. And I feel your work is more elegant than my. (^_^) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 09:50:14 2014 Received: (at 18892) by debbugs.gnu.org; 3 Nov 2014 14:50:14 +0000 Received: from localhost ([127.0.0.1]:46977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlIxR-0000rg-PY for submit@debbugs.gnu.org; Mon, 03 Nov 2014 09:50:14 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:45737) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlIxQ-0000rP-03 for 18892@debbugs.gnu.org; Mon, 03 Nov 2014 09:50:12 -0500 Received: by mail-wg0-f48.google.com with SMTP id m15so5852250wgh.21 for <18892@debbugs.gnu.org>; Mon, 03 Nov 2014 06:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ceJMFmZBJBmBX1BkdylO14gM9HMJysPVlg2oS0flS60=; b=Y25JOQ0bS2eyqlpFfvQreUs2J5ON1iginQZ+PfICEK4FZU9jOXAp3JH7EDLLYM87VW z5SwwTLYaezY35TGd9vpiKeykgskN4OzDWj6u0cV/C2uqpTrh0UEMKmdC4O+MuuS6h81 imoiTQtQLi2XRXHMJmaLED5nuPUtKH7Scy30Oc50IDuXP6QJz4NJ3vTHQP/tlnGMO/vC 9iffowzVKFkamrz7/idAQ0d9D1hmH+DHCwkq+59pffrizZykVVU+YxxCznC09vfFjuwD CyQ+6sV/+x0Hy0aOupTLfSsWFHicSpsU+Bp0gJFHLNRXwc/EpoOXW5u5VOUr76L7Bh5F IJMA== X-Received: by 10.180.108.144 with SMTP id hk16mr16490317wib.68.1415026205924; Mon, 03 Nov 2014 06:50:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.86.131 with HTTP; Mon, 3 Nov 2014 06:49:45 -0800 (PST) In-Reply-To: <54571DA4.8060208@cs.ucla.edu> References: <54515367.3040609@gmail.com> <54558855.9070108@gmail.com> <54559950.5050408@cs.ucla.edu> <545672FD.5060509@gmail.com> <54571DA4.8060208@cs.ucla.edu> From: Jim Meyering Date: Mon, 3 Nov 2014 06:49:45 -0800 X-Google-Sender-Auth: M0LBtecpyQO0ryIpMMPoX1gEkcY Message-ID: Subject: Re: bug#18892: few test failure with 'grep-2.20.72-d512' To: Paul Eggert Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18892 Cc: 18892@debbugs.gnu.org, Assaf Gordon X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Nice patch. Thank you. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 12:53:29 2015 Received: (at control) by debbugs.gnu.org; 19 Sep 2015 16:53:29 +0000 Received: from localhost ([127.0.0.1]:37874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdLOD-0005hi-9A for submit@debbugs.gnu.org; Sat, 19 Sep 2015 12:53:29 -0400 Received: from mail-ig0-f173.google.com ([209.85.213.173]:33787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdLOA-0005ha-T8 for control@debbugs.gnu.org; Sat, 19 Sep 2015 12:53:27 -0400 Received: by igbkq10 with SMTP id kq10so54906408igb.0 for ; Sat, 19 Sep 2015 09:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=TbmAj7nI4DwtGZ9Qc/xm0zd2C7YM+n6J08Q4u7SMa68=; b=NYxiMssoTMxul1E/0p64kzBgbFxDeejnr7rZ/uBJoPYoY0fhyDvpG1H1/qt7ck2uol uEjrYbJLOoO/W1SkL+tr+FmlJ05el+h1c9YFc5HOpQCaQmxumZNQ8T0LrMiaUrDKJg8U MKSZSQysGzynJiei3tX/x7EFhAfz1ViMcfopWdpwq7fqaK5HgXVwXARu4XRdoZjcV8ZY eV5yVnXHIQYVY5D7pIWqSs4vSop2LOqtvlia+lApG8lkvBq8btqKvUDNIqG/6mNOKaHy haPX7gW4j9eKKdueMnVmhbxoeH67iVvQi6c9gqRNozGXPsi5+ceeLrEK+CfkchrvG8a3 mqbw== X-Received: by 10.50.43.166 with SMTP id x6mr3835945igl.89.1442681606506; Sat, 19 Sep 2015 09:53:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.137.136 with HTTP; Sat, 19 Sep 2015 09:53:07 -0700 (PDT) From: Jim Meyering Date: Sat, 19 Sep 2015 09:53:07 -0700 X-Google-Sender-Auth: 76GzMC_pG45y-3zstQzX4CsAhe8 Message-ID: Subject: fixed some time ago To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 18892 thanks From unknown Mon Jun 23 07:48:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Oct 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator