Subject: Re: bug#10684: guile-2.0.5 test failures on powerpc-darwin8

From: [email-masked] (Ludovic Courtès)
Date: Wed, 01 Feb 2012 23:36:43 +0100

Hi David,

David Fang <[email-masked]> skribis:

> FAIL: i18n.test: character mapping: char-locale-upcase Turkish
> FAIL: i18n.test: character mapping: char-locale-downcase Turkish
> FAIL: i18n.test: string mapping: string-locale-upcase Turkish
> FAIL: i18n.test: string mapping: string-locale-downcase Turkish

This most likely indicates that Darwin 8 has incorrect case mapping data
for the Turkish locale.

Can you try this (in a UTF-8 terminal):

  (use-modules (ice-9 i18n))
  (setlocale LC_ALL "tr_TR.UTF-8")
  (char-locale-upcase #\i)

> FAIL: net-db.test: getaddrinfo: wrong service name

Can you try this:

  (getaddrinfo "127.0.0.1" "does-not-exist" AI_NUMERICHOST)

> ERROR: regexp.test: regexp-quote: regexp/extended: (char 254 #\Ã¾
> "Ã¾") - 
> arguments: ((regular-expression-syntax "make-regexp" "empty
> (sub)expression" #f ("Ã¾")))

Hm?

> FAIL: regexp.test: regexp-quote: regexp/extended: (string "aX" 254
> #\Ã¾ "aÃ¾" "aÃ¾")
> FAIL: regexp.test: regexp-quote: regexp/extended: string of all chars

Can you try:

  (setlocale LC_ALL "en_US.ISO-8859-1") ;; or some other ISO-8859-1 locale
  (let* ((s (string (integer->char 254)))
         (q (regexp-quote s)))
    (regexp-exec (make-regexp q regexp/extended) s))

Thanks,
Ludo’.