Issue Details (XML | Word | Printable)

Key: STDCXX-876
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

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

Created: 17/Apr/08 12:22 AM   Updated: 17/Apr/08 12:22 AM
Return to search
Component/s: Utilities
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 4h
Original Estimate - 4h
Remaining Estimate: 4h
Remaining Estimate - 4h
Time Spent: Not Specified
Remaining Estimate - 4h

Environment:
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
HP-UX B.11.31

Severity: Incorrect Behavior


 Description  « Hide
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.
$ 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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.