unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: bug-guile@gnu.org
Subject: Re: r6rs-ports.test is failing
Date: Fri, 17 Dec 2010 14:51:17 +0100	[thread overview]
Message-ID: <871v5g5wyy.fsf@gnu.org> (raw)
In-Reply-To: 20101201222836.SVM6A.91648.root@cdptpa-web17-z01

Hi!

Sorry for the late reply.

<dsmich@roadrunner.com> writes:

> $ git describe
> release_1-9-13-107-ga0ad8ad
>
> $ ./check-guile r6rs-ports.test
> Testing /home/dsmith/src/guile/meta/guile ... r6rs-ports.test
> with GUILE_LOAD_PATH=/home/dsmith/src/guile/test-suite
> Running r6rs-ports.test
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [2 args]
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [3 args]
> UNRESOLVED: r6rs-ports.test: 7.2.11 Binary Output: put-bytevector [4 args]
> ERROR: r6rs-ports.test: 8.2.6  Input and output ports: transcoded-port [error handling mode = replace] - arguments: ((encoding-error "scm_from_stringn" "input locale conversion error" 84 "UTF-8" "UTF-32" #vu8(255 1 2 3 103 110 117)))

Can you try this?

  (define p (open-bytevector-input-port #vu8(255 1 2 3 103 110 117)))
  (set-port-conversion-strategy! p 'substitute)
  (get-line p)

Here on x86_64-linux-gnu, with libunistring 0.9.3, it returns a
7-character string ending in “gnu”.

Thanks,
Ludo’.




  parent reply	other threads:[~2010-12-17 13:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 22:28 r6rs-ports.test is failing dsmich
2010-12-06 20:09 ` dsmich
2010-12-17 13:51 ` Ludovic Courtès [this message]
2010-12-17 16:30   ` dsmich
2010-12-17 16:38     ` Ludovic Courtès
2010-12-17 16:42       ` dsmich
2011-01-22 15:57 ` Andy Wingo
2011-01-24 15:54   ` dsmich
2011-01-26 20:36     ` dsmich
2011-01-27 17:09       ` 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=871v5g5wyy.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guile@gnu.org \
    /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).