[HP aCC 6.15/HP-UX/IPF] zh_CN.GBK.sh test fails with status 4
-------------------------------------------------------------

                 Key: STDCXX-876
                 URL: https://issues.apache.org/jira/browse/STDCXX-876
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 4.2.0
         Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
HP-UX B.11.31

            Reporter: Martin Sebor
            Priority: Minor
             Fix For: 4.2.2


The test script for the zh_CN.GBK locale, {{zh_CN.GBK.sh}}, fails with exit 
status of 4. Some details are below. I suspect the problem is in one of the 
utilities, maybe both.

{noformat}
$ gmake LOCALES=zh_CN.GBK run && ./run_utils -d -f -i 
/amd/devco/sebor/stdcxx/etc/nls -l zh_CN.GBK        
NAME                                     STATUS WARN ASSERTS FAILED PERCNT    
USER     SYS    REAL
sanity_test.sh                                0    0     229      5    97%   
0.460   1.310   4.060
zh_CN.GBK.sh                                  4    0                        
11.710   1.310  24.440
PROGRAM SUMMARY:
  Programs:                     2
  Non-zero exit status:         1
  Signalled:                    0
  Compiler warnings:            0
  Linker warnings:              0
  Runtime warnings:             0
  Assertions:                 229
  Failed assertions:            5
  Cumulative times:
    Real                       28.500s
    User                       12.170s
    Sys                         2.620s
RWSTD_SRC_ROOT=/amd/devco/sebor/stdcxx/etc/nls
export RWSTD_SRC_ROOT
mkdir -p /tmp/zh_CN.GBK.27509/stage.1/charmaps
./localedef -w -c -f /amd/devco/sebor/stdcxx/etc/nls/charmaps/GBK -i 
/amd/devco/sebor/stdcxx/etc/nls/src/zh_CN 
/tmp/zh_CN.GBK.27509/stage.1/zh_CN.GBK >/dev/tty 2>&1
LC_ALL=/tmp/zh_CN.GBK.27509/stage.1/zh_CN.GBK ./locale --charmap -l 
>/tmp/zh_CN.GBK.27509/stage.1/charmaps/GBK 2>/dev/tty
LC_ALL=/tmp/zh_CN.GBK.27509/stage.1/zh_CN.GBK ./locale -ck -h -l LC_ALL 
>/tmp/zh_CN.GBK.27509/stage.1/zh_CN.src 2>/dev/tty
Warning 706: iconv_open("UTF-8", "GBK") failed; tried { "UTF-8", "utf8", 
"utf_8" } and { "GBK", "gbk" }
Warning 706: iconv_open("UTF-8", "GBK") failed; tried { "UTF-8", "utf8", 
"utf_8" } and { "GBK", "gbk" }
Warning 706: iconv_open("UTF-8", "GBK") failed; tried { "UTF-8", "utf8", 
"utf_8" } and { "GBK", "gbk" }
Warning 706: iconv_open("UTF-8", "GBK") failed; tried { "UTF-8", "utf8", 
"utf_8" } and { "GBK", "gbk" }
Warning 706: iconv_open("UTF-8", "GBK") failed; tried { "UTF-8", "utf8", 
"utf_8" } and { "GBK", "gbk" }
rm /tmp/zh_CN.GBK.27509/stage.1/zh_CN.GBK
rm: /tmp/zh_CN.GBK.27509/stage.1/zh_CN.GBK directory
mkdir -p /tmp/zh_CN.GBK.27509/stage.2/charmaps
./localedef -w -c -f /tmp/zh_CN.GBK.27509/stage.1/charmaps/GBK -i 
/tmp/zh_CN.GBK.27509/stage.1/zh_CN.src /tmp/zh_CN.GBK.27509/stage.2/zh_CN.GBK 
>/dev/tty 2>&1
/tmp/zh_CN.GBK.27509/stage.1/charmaps/GBK:5894: Error 311: invalid range found 
in character map file
                <U0EAD>..<U0EAD>            \xcd\xa4   # L'\xead' (2 characters)
                         ^^^^^^^
rm -rf /tmp/zh_CN.GBK.27509
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to