bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15527: Failing test spencer1-locale for grep 2.14 on Solaris


From: Dagobert Michelsen
Subject: bug#15527: Failing test spencer1-locale for grep 2.14 on Solaris
Date: Tue, 8 Oct 2013 09:36:59 +0200

Hi Jim,

Am 07.10.2013 um 16:58 schrieb Jim Meyering <address@hidden>:
> On Fri, Oct 4, 2013 at 7:40 AM, Dagobert Michelsen <address@hidden> wrote:
>> I have a failing test spencer1-locale for #514. The error is the same as the 
>> one
>> reported here:
>>  http://lists.gnu.org/archive/html/bug-grep/2012-08/msg00020.html
>> 
>> I verified that the error also occurs when compiling with gcc 4.8.0.
>> 
>> Here is the snippet for the failing test:
> ...
>> ++ echo $'a\002c'
>> ++ LC_ALL=ru_RU.KOI8-R
>> ++ grep -E -e 'a[^A-^C]?c'
>> ++ echo 1
>> + status=1
>> + test 1 -ne 0
>> + echo Spencer test '#514' failed '(ru_RU.KOI8-R)'
>> Spencer test #514 failed (ru_RU.KOI8-R)
>> + failures=1
> ...
>> Please let me know if you need more information or access to the build 
>> machine.
> 
> Thank you for the report.
> Would you please see if using configure options
> --without-included-regex or --with-included-regex makes a difference?

--without-included-regex does not compile:

Undefined                       first referenced
 symbol                             in file
re_compile_pattern                  libgrep.a(dfasearch.o)
re_search                           libgrep.a(dfasearch.o)
re_match                            libgrep.a(dfasearch.o)
re_set_syntax                       libgrep.a(dfasearch.o)
ld: fatal: symbol referencing errors. No output written to grep

--with-included-regex yields in another error:

PASS: dfaexec-multibyte
empty: skipped test: your system lacks the timeout program
+ case $path_dir_ in
+ 
abs_path_dir_=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src
+ case $abs_path_dir_ in
+ 
PATH=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/src:/home/dam/+++
 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_=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src
+ case $abs_path_dir_ in
+ 
PATH=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/src:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/dam/mgar/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin
 
+ create_exe_shims_ 
/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src
 
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ require_tr_utf8_locale_
+ path_prepend_ .
+ test 1 '!=' 0
+ path_dir_=.
+ case $path_dir_ in
+ 
abs_path_dir_=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/.
+ case $abs_path_dir_ in
+ 
PATH=/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/.:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/../src:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/src:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/bin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/dam/mgar/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin
+ create_exe_shims_ 
/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/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
+ skip_ 'en_US.UTF-8 locale not found'
+ warn_ 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not found'
+ case $IFS in
+ printf '%s\n' 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not 
found'
word-delim-multibyte: skipped test: en_US.UTF-8 locale not found
+ test 9 = 2
+ printf '%s\n' 'word-delim-multibyte: skipped test: en_US.UTF-8 locale not 
found'
+ sed 1q
+ Exit 77
+ set +e
+ exit 77
+ exit 77
+ remove_tmp_
+ __st=77
+ cleanup_
+ :
+ cd 
/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests
+ chmod -R u+rwx 
/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/gt-word-delim-multibyte.108d
+ rm -rf 
/home/dam/mgar/pkg/grep/trunk/work/solaris10-sparc/build-isa-sparcv8plus/grep-2.14/tests/gt-word-delim-multibyte.108d
+ exit 77

============================================================================
Testsuite summary for GNU grep 2.14  
============================================================================  
# TOTAL: 58  
# PASS:  38  
# SKIP:  18
# XFAIL: 1
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================


I do have a number of uncommon locales installed, nonetheless I think the test 
suite
should run smoothly:

# locale -a
C
POSIX
bg_BG
bg_BG.ISO8859-5
bg_BG.UTF-8
et
et_EE
et_EE.ISO8859-15
et_EE.UTF-8
hr_HR
hr_HR.ISO8859-2
hr_HR.UTF-8
iso_8859_1
kk_KZ.UTF-8
lt
lt_LT
lt_LT.ISO8859-13
lt_LT.UTF-8
lv
lv_LV
lv_LV.ISO8859-13
lv_LV.UTF-8
mk_MK
mk_MK.ISO8859-5
mk_MK.UTF-8
nr
ro_RO
ro_RO.ISO8859-2
ro_RO.UTF-8
ru
ru.UTF-8
ru.koi8-r
ru_RU
ru_RU.ANSI1251
ru_RU.ISO8859-5
ru_RU.KOI8-R
ru_RU.UTF-8
sh_BA
address@hidden
sh_BA.UTF-8
sl_SI
sl_SI.ISO8859-2
sl_SI.UTF-8
sq_AL
sq_AL.ISO8859-2
sq_AL.UTF-8
sr_CS
sr_CS.UTF-8
sr_SP
sr_YU
sr_YU.ISO8859-5
tr
tr_TR
tr_TR.ISO8859-9
tr_TR.UTF-8
uk_UA.UTF-8


Best regards

  -- Dago


-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]