From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: Re: r6rs-ports.test is failing Date: Fri, 17 Dec 2010 14:51:17 +0100 Message-ID: <871v5g5wyy.fsf@gnu.org> References: <20101201222836.SVM6A.91648.root@cdptpa-web17-z01> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1292594169 28052 80.91.229.12 (17 Dec 2010 13:56:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 13:56:09 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Dec 17 14:56:05 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PTamo-0002Oi-GP for guile-bugs@m.gmane.org; Fri, 17 Dec 2010 14:56:05 +0100 Original-Received: from localhost ([127.0.0.1]:38776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTamg-0006fg-Qo for guile-bugs@m.gmane.org; Fri, 17 Dec 2010 08:55:46 -0500 Original-Received: from [140.186.70.92] (port=41092 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTaiy-0003be-5w for bug-guile@gnu.org; Fri, 17 Dec 2010 08:51:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTaix-00087x-2m for bug-guile@gnu.org; Fri, 17 Dec 2010 08:51:56 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:39038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTaiw-00086E-TT for bug-guile@gnu.org; Fri, 17 Dec 2010 08:51:55 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTaii-0005eV-4T for bug-guile@gnu.org; Fri, 17 Dec 2010 14:51:40 +0100 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 14:51:40 +0100 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 14:51:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Frimaire an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:fzOZ2WS1OXpWM+jYGKzfeSGfnV0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4910 Archived-At: Hi! Sorry for the late reply. 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’.