From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Smith Newsgroups: gmane.lisp.guile.bugs Subject: bug#9677: Compiling geiser doc.scm failure. Date: Wed, 5 Oct 2011 15:43:33 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1318072855 21283 80.91.229.12 (8 Oct 2011 11:20:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2011 11:20:55 +0000 (UTC) To: 9677@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Oct 08 13:20:51 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCUxW-0000ms-46 for guile-bugs@m.gmane.org; Sat, 08 Oct 2011 13:20:50 +0200 Original-Received: from localhost ([::1]:40097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCUxV-00021q-Hh for guile-bugs@m.gmane.org; Sat, 08 Oct 2011 07:20:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBXj6-0003QH-O4 for bug-guile@gnu.org; Wed, 05 Oct 2011 16:06:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBXj4-0003Ab-Im for bug-guile@gnu.org; Wed, 05 Oct 2011 16:06:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBXj4-0003AX-HC for bug-guile@gnu.org; Wed, 05 Oct 2011 16:05:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBXj8-00070g-NB for bug-guile@gnu.org; Wed, 05 Oct 2011 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dale Smith Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 05 Oct 2011 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9677 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131784516126935 (code B ref -1); Wed, 05 Oct 2011 20:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Oct 2011 20:06:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBXj6-00070N-Pi for submit@debbugs.gnu.org; Wed, 05 Oct 2011 16:06:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBXNc-0006Uf-6V for submit@debbugs.gnu.org; Wed, 05 Oct 2011 15:43:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBXNQ-0006Xi-TD for submit@debbugs.gnu.org; Wed, 05 Oct 2011 15:43:38 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:38822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBXNQ-0006Xe-Re for submit@debbugs.gnu.org; Wed, 05 Oct 2011 15:43:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBXNP-0005vv-Q3 for bug-guile@gnu.org; Wed, 05 Oct 2011 15:43:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBXNO-0006X9-8t for bug-guile@gnu.org; Wed, 05 Oct 2011 15:43:35 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:42322) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBXNO-0006Wv-3a for bug-guile@gnu.org; Wed, 05 Oct 2011 15:43:34 -0400 Original-Received: by ggdk5 with SMTP id k5so1228846ggd.0 for ; Wed, 05 Oct 2011 12:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=fHqmaUT+i8zlj+FW7yIKqZn4S2IAx47GsFpkI1CGJEs=; b=pa6t1xHZWr+8xMMAIY3zutg1cIy0OELKqButINYEj8e1cKLynGr1g7+iBLGj+WkfQe mQJTd6bBhAZKLQJxaHoIRHHnDdTebhwvDuGAcCUaD3LxOERAKew2HOERnHZMGxm3XTtt L6m5b03it9vjPTkrTYw9qBCXPlG8Dt5OmSnfk= Original-Received: by 10.150.95.12 with SMTP id s12mr2721323ybb.436.1317843813071; Wed, 05 Oct 2011 12:43:33 -0700 (PDT) Original-Received: by 10.151.100.18 with HTTP; Wed, 5 Oct 2011 12:43:33 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 05 Oct 2011 16:05:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 Oct 2011 16:06:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 08 Oct 2011 07:20:48 -0400 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:5855 Archived-At: I was having some difficulty using geiser with a recent guile, and noticed an error in my *geiser messages* buffer: INFO: RETORT: ((error (key . retort-syntax)) (output . ";;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /usr/local/share/geiser/guile/geiser/emacs.scm ;;; compiling /usr/local/share/geiser/guile/geiser/evaluation.scm ;;; compiling /usr/local/share/geiser/guile/geiser/modules.scm ;;; compiling /usr/local/share/geiser/guile/geiser/utils.scm ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/utils.scm.go ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/modules.scm.go ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/evaluation.scm.go ;;; compiling /usr/local/share/geiser/guile/geiser/completion.scm ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/completion.scm.go ;;; compiling /usr/local/share/geiser/guile/geiser/xref.scm ;;; compiling /usr/local/share/geiser/guile/geiser/doc.scm ;;; WARNING: compilation of /usr/local/share/geiser/guile/geiser/doc.scm failed: ;;; ERROR: In procedure scm_hash_fn_create_handle_x: Wrong type argument in position 1 (expecting hash-table): #f ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/xref.scm.go ;;; compiled /home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/usr/local/share/geiser/guile/geiser/emacs.scm.go $1 = done The message wasn't that helpful in locating the problem, so I tried compiling the file directly: wrote `/home/dsmith/.cache/guile/ccache/2.0-LE-4-2.0/home/dsmith/src/mainline/scheme/guile/geiser/completion.scm.go' Backtrace: In ice-9/boot-9.scm: 170: 19 [catch #t # ...] In unknown file: ?: 18 [catch-closure] In ice-9/boot-9.scm: 62: 17 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 16 [eval # #] In /usr/local/bin/guild: 68: 15 [main ("/usr/local/bin/guild" "compile" "-L" ...)] In srfi/srfi-1.scm: 619: 14 [for-each # #] In scripts/compile.scm: 174: 13 [# "geiser/doc.scm"] In system/base/compile.scm: 148: 12 [compile-file "geiser/doc.scm" #:output-file ...] 43: 11 [call-once #] In ice-9/boot-9.scm: 184: 10 [with-throw-handler #t ...] In system/base/compile.scm: 59: 9 [#] 151: 8 [# #] 200: 7 [read-and-compile # #:from ...] 232: 6 [compile # # # ...] 178: 5 [lp # # # ...] In language/tree-il/compile-glil.scm: 64: 4 [compile-glil # # #] In language/tree-il/analyze.scm: 536: 3 [analyze-lexicals #] 394: 2 [allocate! # #f 0] In unknown file: ?: 1 [hashq-set! #f # #] In ice-9/boot-9.scm: 119: 0 [# wrong-type-arg ...] ice-9/boot-9.scm:119:20: In procedure #: ice-9/boot-9.scm:119:20: In procedure scm_hash_fn_create_handle_x: Wrong type argument in position 1 (expecting hash-table): #f That looks more like a problem with guile than geiser so I did a bisect from the 2.0.2 release: 40be30c97459e1baf8a9997c1c116a67f153cfef is the first bad commit commit 40be30c97459e1baf8a9997c1c116a67f153cfef Author: Andy Wingo Date: Tue Sep 27 23:21:53 2011 +0200 peval: more effective binding pruning * module/language/tree-il/optimize.scm (peval): Factor prune-bindings out of `let' and company. Have it process unreferenced bindings in effect context instead of always residualizing non-constant expressions. :040000 040000 ba7e3a49bef54cbb529f07970219f5a2b16a3036 74128c8f9e22b846ddcf9d7f4e9e7dd8b77f4cbf M module :040000 040000 10e88d61baaf6072fc4051c8f6530ad24b4baaa3 c513a2d03b1b8308ffb4915517fe3b7994b6e88e M test-suite bisect run success