From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.bugs Subject: bug#14361: Building guile 2.0.9 under mingw + msys Date: Tue, 07 May 2013 20:18:05 +0300 Message-ID: <83fvxyemk2.fsf@gnu.org> References: <87pqerdxq4.fsf@pobox.com> <83ehuy698u.fsf@gnu.org> <8362ga5h7h.fsf@gnu.org> <87r4ywpnv0.fsf@gnu.org> <83r4yw49u6.fsf@gnu.org> <87y5smnj86.fsf@pobox.com> <83ehudp29y.fsf@gnu.org> <87fw0s2tmx.fsf@pobox.com> <83a9r0p4jw.fsf@gnu.org> <87zjythmj1.fsf@pobox.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1367947188 28691 80.91.229.3 (7 May 2013 17:19:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 17:19:48 +0000 (UTC) Cc: 14361@debbugs.gnu.org, ludo@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue May 07 19:19:47 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 1UZlYF-0003xA-8O for guile-bugs@m.gmane.org; Tue, 07 May 2013 19:19:43 +0200 Original-Received: from localhost ([::1]:58154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlYE-0004Rd-Iz for guile-bugs@m.gmane.org; Tue, 07 May 2013 13:19:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlXZ-0003GP-6n for bug-guile@gnu.org; Tue, 07 May 2013 13:19:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZlXX-0007IR-Nn for bug-guile@gnu.org; Tue, 07 May 2013 13:19:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlXX-0007IA-Ar for bug-guile@gnu.org; Tue, 07 May 2013 13:18:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UZlYY-0001Ir-Jj for bug-guile@gnu.org; Tue, 07 May 2013 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 07 May 2013 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14361 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-guile@gnu.org, ludo@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13679471694920 (code B ref -1); Tue, 07 May 2013 17:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 May 2013 17:19:29 +0000 Original-Received: from localhost ([127.0.0.1]:33110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZlY0-0001HJ-R6 for submit@debbugs.gnu.org; Tue, 07 May 2013 13:19:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47614) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UZlXx-0001H0-1c for submit@debbugs.gnu.org; Tue, 07 May 2013 13:19:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZlWs-0006sd-Nt for submit@debbugs.gnu.org; Tue, 07 May 2013 13:18:21 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:36226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlWs-0006sU-AU for submit@debbugs.gnu.org; Tue, 07 May 2013 13:18:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlWq-0002Mi-7H for bug-guile@gnu.org; Tue, 07 May 2013 13:18:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZlWo-0006pT-B5 for bug-guile@gnu.org; Tue, 07 May 2013 13:18:16 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZlWo-0006oB-39; Tue, 07 May 2013 13:18:14 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MMF00400UNMKN00@a-mtaout22.012.net.il>; Tue, 07 May 2013 20:18:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MMF004SGUQB1X90@a-mtaout22.012.net.il>; Tue, 07 May 2013 20:18:12 +0300 (IDT) In-reply-to: <87zjythmj1.fsf@pobox.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:7121 Archived-At: > From: Andy Wingo > Cc: ludo@gnu.org, 10474-done@debbugs.gnu.org > Date: Sun, 24 Feb 2013 14:25:06 +0100 > > So with these last commits, hopefully native MinGW builds are supported. > Would you mind testing again? Please send a new mail to > bug-guile@gnu.org to track any new failures. Thanks, and sorry for a long delay. I tried today building Guile 2.0.9. The C compilation went very smoothly, with only a couple of warnings (one is the known iconv prototype "issue", the other a variable that is set and not used). However, once it got to compiling Scheme files, it repeatedly failed after writing each .go file. Here are a few typical failures: GEN guile-procedures.texi Backtrace: In unknown file: ?: 3 [apply-smob/1 # #t ...] ?: 2 [apply-smob/1 # quit #] ?: 1 [apply-smob/1 # #t ...] ?: 0 [apply-smob/1 #] ERROR: The program then sits at the ERROR: prompt, but does not accept any input. Seems that this comes from smob.c: static SCM scm_smob_trampoline (unsigned int nreq, unsigned int nopt, unsigned int rest) { SCM trampoline; if (SCM_UNLIKELY (rest > 1 || nreq + nopt + rest > 3)) scm_out_of_range ("make-smob", scm_from_uint (nreq + nopt + rest)); trampoline = SCM_SMOB_TRAMPOLINE (nreq, nopt, rest); if (SCM_LIKELY (SCM_UNPACK (trampoline))) return trampoline; switch (nreq + nopt + rest) { /* The + 1 is for the smob itself. */ case 0: trampoline = scm_c_make_gsubr ("apply-smob/0", nreq + 1, nopt, rest, apply_0); break; case 1: trampoline = scm_c_make_gsubr ("apply-smob/1", nreq + 1, nopt, rest, apply_1); But I have no idea what it means. When this happens, guile.exe still runs (actually, there are 2 Guile processes, one a child of the other), so it is impossible to delete guile-procedures.texi, because one of these processes holds it open. I needed to kill guile.exe (the child) to be able to try again. I tried "make -k" to see how far I can advance. The next compilation of ice-9/eval.scm then stops with the same error: make[2]: Entering directory `/d/usr/eli/utils/guile-2.0.9/module' GUILEC ice-9/eval.go wrote `ice-9/eval.go' Backtrace: In unknown file: ?: 3 [apply-smob/1 # #t ...] ?: 2 [apply-smob/1 # quit #] ?: 1 [apply-smob/1 # #t ...] ?: 0 [apply-smob/1 #] ERROR: Similarly after compiling ice-9/readline.scm: wrote `ice-9/readline.go' Backtrace: In unknown file: ?: 4 [apply-smob/1 # quit #] In ice-9/eval.scm: 484: 3 [eval # #] 481: 2 [lp (#) (#)] In unknown file: ?: 1 [apply-smob/1 #] In ice-9/eval.scm: 481: 0 [lp (#) ((#))] ice-9/eval.scm:481:19: Any ideas? Where should I look for the source of this problem? TIA