Locales utility produces bad output ----------------------------------- Key: STDCXX-255 URL: http://issues.apache.org/jira/browse/STDCXX-255 Project: C++ Standard Library Type: Bug Components: Utilities Environment: uname -a Linux quandry 2.6.14.5 #1 PREEMPT Thu Dec 29 16:01:39 MST 2005 i686 unknown unknown GNU/Linux gcc -v Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 3.2.3 Reporter: Andrew Black As part of the make runall process for the bin directory, a (generated) script called sanity_test.sh is executed prior to building the locales. This script tests various aspects of the locale and localedef utilities. When running this script manually with the -d (debug) parameter and the buildspace bin directory in the path, I recive the following output. It appears to me that the locale utility may have built incorrectly. Checking location of locale utilities... correct. Checking "locale --help" output...Error 399: invalid size at (nil): 4294967295, expected 352 incorrect. ERROR: "locale --help" gives wrong output (NAME). incorrect. ERROR: "locale --help" gives wrong output (SYNOPSIS). incorrect. ERROR: "locale --help" gives wrong output (DESCRIPTION). correct. Checking "locale -a" output...Error 399: invalid size at (nil): 4294967295, expected 352 check completed. Checking "locale -m" output...Error 399: invalid size at (nil): 4294967295, expected 352 correct. Checking "locale -k LC_ALL" output...Error 399: invalid size at (nil): 4294967295, expected 352 incorrect. ERROR: "locale -k" gives wrong output (upper). incorrect. ERROR: "locale -k" gives wrong output (lower). incorrect. ERROR: "locale -k" gives wrong output (space). incorrect. ERROR: "locale -k" gives wrong output (print). incorrect. ERROR: "locale -k" gives wrong output (cntrl). incorrect. ERROR: "locale -k" gives wrong output (alpha). incorrect. ERROR: "locale -k" gives wrong output (digit). incorrect. ERROR: "locale -k" gives wrong output (punct). incorrect. ERROR: "locale -k" gives wrong output (graph). incorrect. ERROR: "locale -k" gives wrong output (xdigit). incorrect. ERROR: "locale -k" gives wrong output (toupper). incorrect. ERROR: "locale -k" gives wrong output (tolower). incorrect. ERROR: "locale -k" gives wrong output (abday). incorrect. ERROR: "locale -k" gives wrong output (day). incorrect. ERROR: "locale -k" gives wrong output (abmon). incorrect. ERROR: "locale -k" gives wrong output (mon). incorrect. ERROR: "locale -k" gives wrong output (am_pm). incorrect. ERROR: "locale -k" gives wrong output (d_t_fmt). incorrect. ERROR: "locale -k" gives wrong output (d_fmt). incorrect. ERROR: "locale -k" gives wrong output (t_fmt). incorrect. ERROR: "locale -k" gives wrong output (t_fmt_ampm). incorrect. ERROR: "locale -k" gives wrong output (int_curr_symbol). incorrect. ERROR: "locale -k" gives wrong output (currency_symbol). incorrect. ERROR: "locale -k" gives wrong output (mon_decimal_point). incorrect. ERROR: "locale -k" gives wrong output (mon_thousands_sep). incorrect. ERROR: "locale -k" gives wrong output (mon_grouping). incorrect. ERROR: "locale -k" gives wrong output (positive_sign). incorrect. ERROR: "locale -k" gives wrong output (negative_sign). incorrect. ERROR: "locale -k" gives wrong output (int_frac_digits). incorrect. ERROR: "locale -k" gives wrong output (frac_digits). incorrect. ERROR: "locale -k" gives wrong output (p_cs_precedes). incorrect. ERROR: "locale -k" gives wrong output (p_sep_by_space). incorrect. ERROR: "locale -k" gives wrong output (n_cs_precedes). incorrect. ERROR: "locale -k" gives wrong output (n_sep_by_space). incorrect. ERROR: "locale -k" gives wrong output (p_sign_posn). incorrect. ERROR: "locale -k" gives wrong output (n_sign_posn). incorrect. ERROR: "locale -k" gives wrong output (decimal_point). incorrect. ERROR: "locale -k" gives wrong output (thousands_sep). incorrect. ERROR: "locale -k" gives wrong output (grouping). (seems) correct. Checking "localedef --help" output... correct. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira