From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Guile and MSWindows Date: Fri, 01 Feb 2013 18:13:35 +0100 Message-ID: <87a9roareo.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1359738828 15379 80.91.229.3 (1 Feb 2013 17:13:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2013 17:13:48 +0000 (UTC) Cc: guile-user@gnu.org To: "objc" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 01 18:14:07 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U1KBi-0006Iq-8E for guile-user@m.gmane.org; Fri, 01 Feb 2013 18:14:06 +0100 Original-Received: from localhost ([::1]:43289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1KBP-0000O3-RB for guile-user@m.gmane.org; Fri, 01 Feb 2013 12:13:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1KBG-0000NM-4u for guile-user@gnu.org; Fri, 01 Feb 2013 12:13:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1KBE-00086c-W4 for guile-user@gnu.org; Fri, 01 Feb 2013 12:13:38 -0500 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:6152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1KBE-00086T-PQ for guile-user@gnu.org; Fri, 01 Feb 2013 12:13:36 -0500 X-IronPort-AV: E=Sophos;i="4.84,579,1355094000"; d="scan'208";a="1038651" Original-Received: from 181.202-246-81.adsl-dyn.isp.belgacom.be (HELO pluto) ([81.246.202.181]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 01 Feb 2013 18:13:35 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= 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 In-Reply-To: (objc's message of "Tue, 29 Jan 2013 15:12:51 -0000") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.83 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9978 Archived-At: Hi, "objc" skribis: > I just built guile-2.0.7.18-03a2f > Check out http://branch-twigg.webs.com/ for what I done with it. > currently playing with BioSchematics - L-System Parser and Drawing tool b= y - Xavier Raynaud Interesting. > FAIL: tests/alist.test: sloppy-assq not > FAIL: tests/alist.test: sloppy-assv not > FAIL: tests/alist.test: assv not > FAIL: tests/alist.test: assq-ref not > FAIL: tests/alist.test: assv-ref not > FAIL: tests/common-list.test: delete-if-not!: non-empty list, remove some These ones are scary. Can you try to type them at the REPL, to see what happens? > $ cat guile.log | grep ERR > ERROR: tests/bytevectors.test: 2.9 Operations on Strings: string->utf16 -= arguments: ((system-error "string->utf16" "failed to convert string: ~A" (= "hello, world") (-1))) Is GNU libiconv installed? What=E2=80=99s -1 in errno.h? > ERROR: tests/coverage.test: instrumented/executed-lines: instr =3D exec -= arguments: ((wrong-type-arg "car" "Wrong type argument in position ~A (exp= ecting ~A): ~S" (1 "pair" #f) (#f) > )) Can you try to get a backtrace? That is, at the REPL, you type: (use-modules (system vm coverage) (system vm vm) (system base compile) (srfi srfi-11)) (define-syntax code (syntax-rules () ((_ filename snippet) (let ((input (open-input-string snippet))) (set-port-filename! input filename) (read-enable 'positions) (compile (read input)))))) (define %test-vm (make-vm)) (let ((proc (code "foo.scm" "(lambda (x y) ;; 0 (+ x y)) ;; 1"))) (let-values (((data result) (with-code-coverage %test-vm (lambda () (proc 1 2))))) (and (coverage-data? data) (=3D 3 result) (let-values (((instr exec) (instrumented/executed-lines data "foo.scm"))) (and (=3D 2 instr) (=3D 2 exec)))))) and report what happens. > ERROR: tests/foreign.test: make-pointer: equal? modulo finalizer - argume= nts: ((misc-error "dynamic-pointer" "Symbol not found: ~a" ("scm_is_pair") = #f)) Nothing to worry about, I just committed a workaround. Thanks! Ludo=E2=80=99.