Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-255

Locales utility produces bad output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • Utilities
    • None

    Description

      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.

      Attachments

        1. en_US-buildlog.out
          2 kB
          Andrew Black

        Activity

          People

            sebor Martin Sebor
            ablack-rw Andrew Black
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: