unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: David Fang <fang@csl.cornell.edu>
Cc: bug-guile@gnu.org
Subject: Re: i18n test fail, guile-2.0.0
Date: Wed, 23 Feb 2011 22:58:47 +0100	[thread overview]
Message-ID: <87tyfubeg8.fsf@gnu.org> (raw)
In-Reply-To: <20110222145917.X8477@fiji.csl.cornell.edu> (David Fang's message of "Tue, 22 Feb 2011 15:01:50 -0500 (EST)")

Hi,

David Fang <fang@csl.cornell.edu> writes:

> With guile-2.0.0, I see some i18n test failures on i686- and x86_64
> -pc-linux-gnu:

Which glibc version?  (See “ldd --version”.)

> ERROR: i18n.test: number->locale-string: French: integer - arguments:
> ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 6 7) (7)))
> ERROR: i18n.test: number->locale-string: French: fraction - arguments:
> ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 4 5) (5)))
> ERROR: i18n.test: number->locale-string: French: fraction, 1 digit - 
> arguments: ((out-of-range #f "Value out of range ~S to ~S: ~S" (0 4 5)
> (5)))

What does “locale -a | grep FR” say on your system?

Can you try this and report the backtrace?

   (let ((fr (make-locale LC_ALL "fr_FR.utf8")))
     (number->locale-string 123456 #t fr))

(If necessary, replace “fr_FR.utf8” with the locale name you found
above.)

Thanks for the report,
Ludo’.



  reply	other threads:[~2011-02-23 21:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 20:01 i18n test fail, guile-2.0.0 David Fang
2011-02-23 21:58 ` Ludovic Courtès [this message]
2011-02-23 22:15   ` David Fang
2011-02-23 23:13     ` Ludovic Courtès
2011-02-24  0:48       ` Bruno Haible
2011-02-24 10:23         ` Ludovic Courtès
2011-02-24 14:48         ` Ludovic Courtès
2011-02-24 19:05           ` David Fang
2011-02-24 21:44             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyfubeg8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guile@gnu.org \
    --cc=fang@csl.cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).