From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Schukat Newsgroups: gmane.lisp.guile.bugs Subject: bug#14171: Aw: Re: bug#14171: REPL doesn't work on windows min-gw Date: Mon, 15 Apr 2013 08:37:58 +0200 Message-ID: <516BA046.7000208@email.de> References: , <87sj2yw2w2.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------070108060802060309070305" X-Trace: ger.gmane.org 1366007947 26093 80.91.229.3 (15 Apr 2013 06:39:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 06:39:07 +0000 (UTC) Cc: 14171@debbugs.gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Apr 15 08:39:11 2013 Return-path: Envelope-to: guile-bugs@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 1URd4I-00042J-If for guile-bugs@m.gmane.org; Mon, 15 Apr 2013 08:39:10 +0200 Original-Received: from localhost ([::1]:40784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URd4I-0003uv-56 for guile-bugs@m.gmane.org; Mon, 15 Apr 2013 02:39:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URd4A-0003th-JF for bug-guile@gnu.org; Mon, 15 Apr 2013 02:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URd44-0001r3-GV for bug-guile@gnu.org; Mon, 15 Apr 2013 02:39:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URd44-0001qv-C6 for bug-guile@gnu.org; Mon, 15 Apr 2013 02:38:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1URd83-0004PF-NK for bug-guile@gnu.org; Mon, 15 Apr 2013 02:43:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan Schukat Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 15 Apr 2013 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14171 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14171-submit@debbugs.gnu.org id=B14171.136600815216797 (code B ref 14171); Mon, 15 Apr 2013 06:43:02 +0000 Original-Received: (at 14171) by debbugs.gnu.org; 15 Apr 2013 06:42:32 +0000 Original-Received: from localhost ([127.0.0.1]:51252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URd7W-0004Ml-1D for submit@debbugs.gnu.org; Mon, 15 Apr 2013 02:42:32 -0400 Original-Received: from mout.web.de ([212.227.17.12]:52547) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1URd7F-0004LY-CF for 14171@debbugs.gnu.org; Mon, 15 Apr 2013 02:42:23 -0400 Original-Received: from [192.168.0.27] ([92.231.231.62]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Lm4hJ-1V0Ppx2A5p-00ZT7L; Mon, 15 Apr 2013 08:38:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: X-Provags-ID: V02:K0:VB9ywNw8yzxzhCjHbHDxKbJThCNGoJJH44EGsVw1Cl5 AWSyWjgf05SkQWIlRr75RpJB0wZLXULYQEdSjmUa25/lOqQEQE fHBYWZUvHCbqC0u47d9qwPyJl+wg1ZFoGlGnk9C0W5viY3bx2g yjmUN1T8ZfwSplTSB451UVyhQBwfUp/7rFve5wFBc1TPRSeh5g cBKTC/dHglcyZ8opdbjYA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7107 Archived-At: This is a multi-part message in MIME format. --------------070108060802060309070305 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Just a quick follow-up. Tried to run the test suite. And to see how it is supposed to work I first did that on linux. But when you use a --disaple-posix guile it fails at the second test already because chdir is defined in the posix module. So I didn't even run it on windows yet. Here's my output: ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/guile-test ;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/test-suite/lib.scm ;;; test-suite/lib.scm:531:46: warning: possibly unbound variable `setlocale' ;;; test-suite/lib.scm:531:46: warning: possibly unbound variable `LC_ALL' ;;; test-suite/lib.scm:533:49: warning: possibly unbound variable `setlocale' ;;; test-suite/lib.scm:533:49: warning: possibly unbound variable `LC_ALL' ;;; test-suite/lib.scm:539:14: warning: possibly unbound variable `setlocale' ;;; test-suite/lib.scm:539:14: warning: possibly unbound variable `LC_ALL' ;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/test-suite/lib.scm.go ;;; guile-test:250:20: warning: possibly unbound variable `close' ;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/guile-test.go Running tests/00-initial-env.test ;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/tests/00-initial-env.test ;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-initial-env.test.go Running tests/00-socket.test ;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test ;;; tests/00-socket.test:195:0: warning: possibly unbound variable `chdir' ;;; tests/00-socket.test:303:23: warning: possibly unbound variable `primitive-fork' ;;; tests/00-socket.test:338:33: warning: possibly unbound variable `waitpid' ;;; tests/00-socket.test:339:24: warning: possibly unbound variable `status:exit-val' ;;; tests/00-socket.test:383:23: warning: possibly unbound variable `primitive-fork' ;;; tests/00-socket.test:411:33: warning: possibly unbound variable `waitpid' ;;; tests/00-socket.test:412:24: warning: possibly unbound variable `status:exit-val' ;;; tests/00-socket.test:481:23: warning: possibly unbound variable `primitive-fork' ;;; tests/00-socket.test:516:33: warning: possibly unbound variable `waitpid' ;;; tests/00-socket.test:517:24: warning: possibly unbound variable `status:exit-val' ;;; tests/00-socket.test:522:20: warning: possibly unbound variable `chdir' ;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test.go Backtrace: In ice-9/boot-9.scm: 157: 10 [catch #t # ...] In unknown file: ?: 9 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 7 [eval # #] In guile-test: 240: 6 [main ("guile-test")] In ice-9/boot-9.scm: 697: 5 [for-each # #] In test-suite/lib.scm: 459: 4 [with-test-prefix* "tests/00-socket.test" ...] In ice-9/boot-9.scm: 2320: 3 [save-module-excursion #] 3966: 2 [#] In unknown file: ?: 1 [load-compiled/vm "/home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test.go"] In tests/00-socket.test: 195: 0 [#] tests/00-socket.test:195:0: In procedure #: tests/00-socket.test:195:0: In procedure module-lookup: Unbound variable: chdir and the guile.log: PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 1st argument string (eval) PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 1st argument string (compile) PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 2nd argument bool (eval) PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 2nd argument bool (compile) PASS: tests/00-initial-env.test: goopsless: + wrong type argument: implicit forcing is not supported (eval) PASS: tests/00-initial-env.test: goopsless: + wrong type argument: implicit forcing is not supported (compile) PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 1st argument string (eval) PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 1st argument string (compile) PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 2nd argument symbol (eval) PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 2nd argument symbol (compile) PASS: tests/00-socket.test: htonl: 0 PASS: tests/00-socket.test: htonl: -1 PASS: tests/00-socket.test: htonl: 2^32 PASS: tests/00-socket.test: htonl: 2^1024 PASS: tests/00-socket.test: inet-ntop: ipv6: 0 PASS: tests/00-socket.test: inet-ntop: ipv6: 2^128-1 PASS: tests/00-socket.test: inet-ntop: ipv6: -1 PASS: tests/00-socket.test: inet-ntop: ipv6: 2^128 PASS: tests/00-socket.test: inet-ntop: ipv6: 2^1024 PASS: tests/00-socket.test: inet-pton: ipv6: 00:00:00:00:00:00:00:00 PASS: tests/00-socket.test: inet-pton: ipv6: 0:0:0:0:0:0:0:1 PASS: tests/00-socket.test: inet-pton: ipv6: ::1 PASS: tests/00-socket.test: inet-pton: ipv6: FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF PASS: tests/00-socket.test: inet-pton: ipv6: F000:0000:0000:0000:0000:0000:0000:0000 PASS: tests/00-socket.test: inet-pton: ipv6: 0F00:0000:0000:0000:0000:0000:0000:0000 PASS: tests/00-socket.test: inet-pton: ipv6: 0000:0000:0000:0000:0000:0000:0000:00F0 PASS: tests/00-socket.test: inet-ntop: ipv4: 127.0.0.1 PASS: tests/00-socket.test: inet-ntop: ipv6: FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF PASS: tests/00-socket.test: inet-ntop: ipv6: ::1 PASS: tests/00-socket.test: make-socket-address: AF_INET PASS: tests/00-socket.test: make-socket-address: AF_INET6 PASS: tests/00-socket.test: make-socket-address: AF_UNIX PASS: tests/00-socket.test: ntohl: 0 PASS: tests/00-socket.test: ntohl: -1 PASS: tests/00-socket.test: ntohl: 2^32 PASS: tests/00-socket.test: ntohl: 2^1024 Regards Jan Schukat On 04/11/2013 04:40 PM, Jan Schukat wrote: > Ok, did use this package: guile-2.0.9.2-f480a-dirty.tar.gz and can > build and run guile-2.0 on mingw when I --disable-posix, which makes > sense, since Windows is not posix :) Can even use threads. > I guess I try to get the test-suite to run now. > I'm pretty happy now that my issues on windows could be resolved in > the last few weeks. > Regards > Jan Schukat > *Gesendet:* Mittwoch, 10. April 2013 um 22:23 Uhr > *Von:* "Andy Wingo" > *An:* "Jan Schukat" > *Cc:* 14171@debbugs.gnu.org > *Betreff:* Re: bug#14171: REPL doesn't work on windows min-gw > On Wed 10 Apr 2013 05:59, "Jan Schukat" writes: > > > system/repl/common.scm:147:25: In procedure make-repl: > > system/repl/common.scm:147:25: In procedure module-lookup: Unbound > > variable: times > > Can you try with the 2.0.9 release, made yesterday? It should fix this > error. > > Andy > -- > http://wingolog.org/ --------------070108060802060309070305 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Just a quick follow-up. Tried to run the test suite. And to see how it is supposed to work I first did that on linux. But when you use a --disaple-posix guile it fails at the second test already because chdir is defined in the posix module. So I didn't even run it on windows yet.

Here's my output:

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/guile-test
;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/test-suite/lib.scm
;;; test-suite/lib.scm:531:46: warning: possibly unbound variable `setlocale'
;;; test-suite/lib.scm:531:46: warning: possibly unbound variable `LC_ALL'
;;; test-suite/lib.scm:533:49: warning: possibly unbound variable `setlocale'
;;; test-suite/lib.scm:533:49: warning: possibly unbound variable `LC_ALL'
;;; test-suite/lib.scm:539:14: warning: possibly unbound variable `setlocale'
;;; test-suite/lib.scm:539:14: warning: possibly unbound variable `LC_ALL'
;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/test-suite/lib.scm.go
;;; guile-test:250:20: warning: possibly unbound variable `close'
;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/guile-test.go
Running tests/00-initial-env.test
;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/tests/00-initial-env.test
;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-initial-env.test.go
Running tests/00-socket.test
;;; compiling /home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test
;;; tests/00-socket.test:195:0: warning: possibly unbound variable `chdir'
;;; tests/00-socket.test:303:23: warning: possibly unbound variable `primitive-fork'
;;; tests/00-socket.test:338:33: warning: possibly unbound variable `waitpid'
;;; tests/00-socket.test:339:24: warning: possibly unbound variable `status:exit-val'
;;; tests/00-socket.test:383:23: warning: possibly unbound variable `primitive-fork'
;;; tests/00-socket.test:411:33: warning: possibly unbound variable `waitpid'
;;; tests/00-socket.test:412:24: warning: possibly unbound variable `status:exit-val'
;;; tests/00-socket.test:481:23: warning: possibly unbound variable `primitive-fork'
;;; tests/00-socket.test:516:33: warning: possibly unbound variable `waitpid'
;;; tests/00-socket.test:517:24: warning: possibly unbound variable `status:exit-val'
;;; tests/00-socket.test:522:20: warning: possibly unbound variable `chdir'
;;; compiled /home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test.go
Backtrace:
In ice-9/boot-9.scm:
 157: 10 [catch #t #<catch-closure 9515ae0> ...]
In unknown file:
   ?: 9 [apply-smob/1 #<catch-closure 9515ae0>]
In ice-9/boot-9.scm:
  63: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 7 [eval # #]
In guile-test:
 240: 6 [main ("guile-test")]
In ice-9/boot-9.scm:
 697: 5 [for-each #<procedure 9b1d490 at guile-test:240:29 (test)> #]
In test-suite/lib.scm:
 459: 4 [with-test-prefix* "tests/00-socket.test" ...]
In ice-9/boot-9.scm:
2320: 3 [save-module-excursion #<procedure 9b62d40 at ice-9/boot-9.scm:3961:3 ()>]
3966: 2 [#<procedure 9b62d40 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 1 [load-compiled/vm "/home/shookie/.cache/guile/ccache/2.0-LE-4-2.0/home/shookie/core/lib/guile-2.0/test-suite/tests/00-socket.test.go"]
In tests/00-socket.test:
 195: 0 [#<procedure 9b0ab80 ()>]

tests/00-socket.test:195:0: In procedure #<procedure 9b0ab80 ()>:
tests/00-socket.test:195:0: In procedure module-lookup: Unbound variable: chdir


and the guile.log:

PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 1st argument string (eval)
PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 1st argument string (compile)
PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 2nd argument bool (eval)
PASS: tests/00-initial-env.test: goopsless: + wrong type argument: 2nd argument bool (compile)
PASS: tests/00-initial-env.test: goopsless: + wrong type argument: implicit forcing is not supported (eval)
PASS: tests/00-initial-env.test: goopsless: + wrong type argument: implicit forcing is not supported (compile)
PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 1st argument string (eval)
PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 1st argument string (compile)
PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 2nd argument symbol (eval)
PASS: tests/00-initial-env.test: goopsless: - wrong type argument: 2nd argument symbol (compile)
PASS: tests/00-socket.test: htonl: 0
PASS: tests/00-socket.test: htonl: -1
PASS: tests/00-socket.test: htonl: 2^32
PASS: tests/00-socket.test: htonl: 2^1024
PASS: tests/00-socket.test: inet-ntop: ipv6: 0
PASS: tests/00-socket.test: inet-ntop: ipv6: 2^128-1
PASS: tests/00-socket.test: inet-ntop: ipv6: -1
PASS: tests/00-socket.test: inet-ntop: ipv6: 2^128
PASS: tests/00-socket.test: inet-ntop: ipv6: 2^1024
PASS: tests/00-socket.test: inet-pton: ipv6: 00:00:00:00:00:00:00:00
PASS: tests/00-socket.test: inet-pton: ipv6: 0:0:0:0:0:0:0:1
PASS: tests/00-socket.test: inet-pton: ipv6: ::1
PASS: tests/00-socket.test: inet-pton: ipv6: FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
PASS: tests/00-socket.test: inet-pton: ipv6: F000:0000:0000:0000:0000:0000:0000:0000
PASS: tests/00-socket.test: inet-pton: ipv6: 0F00:0000:0000:0000:0000:0000:0000:0000
PASS: tests/00-socket.test: inet-pton: ipv6: 0000:0000:0000:0000:0000:0000:0000:00F0
PASS: tests/00-socket.test: inet-ntop: ipv4: 127.0.0.1
PASS: tests/00-socket.test: inet-ntop: ipv6: FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
PASS: tests/00-socket.test: inet-ntop: ipv6: ::1
PASS: tests/00-socket.test: make-socket-address: AF_INET
PASS: tests/00-socket.test: make-socket-address: AF_INET6
PASS: tests/00-socket.test: make-socket-address: AF_UNIX
PASS: tests/00-socket.test: ntohl: 0
PASS: tests/00-socket.test: ntohl: -1
PASS: tests/00-socket.test: ntohl: 2^32
PASS: tests/00-socket.test: ntohl: 2^1024

Regards

Jan Schukat


On 04/11/2013 04:40 PM, Jan Schukat wrote:
Ok, did use this package: guile-2.0.9.2-f480a-dirty.tar.gz and can build and run guile-2.0 on mingw when I --disable-posix, which makes sense, since Windows is not posix :) Can even use threads.
 
I guess I try to get the test-suite to run now.
 
I'm pretty happy now that my issues on windows could be resolved in the last few weeks.
 
Regards
 
Jan Schukat
 
Gesendet: Mittwoch, 10. April 2013 um 22:23 Uhr
Von: "Andy Wingo" <wingo@pobox.com>
An: "Jan Schukat" <shookie@email.de>
Cc: 14171@debbugs.gnu.org
Betreff: Re: bug#14171: REPL doesn't work on windows min-gw
On Wed 10 Apr 2013 05:59, "Jan Schukat" <shookie@email.de> writes:

> system/repl/common.scm:147:25: In procedure make-repl:
> system/repl/common.scm:147:25: In procedure module-lookup: Unbound
> variable: times

Can you try with the 2.0.9 release, made yesterday? It should fix this
error.

Andy
--
http://wingolog.org/

--------------070108060802060309070305--