From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Harig Newsgroups: gmane.lisp.guile.bugs Subject: Re: [bug #32243] guile-tools errors if PROGRAM can't be found Date: Thu, 03 Feb 2011 17:25:20 -0500 Message-ID: <8CD9208606DE18B-2564-1FEFF@webmail-m030.sysops.aol.com> References: <20110125-132550.sv73118.41633@savannah.gnu.org> <20110202-193648.sv20118.17161@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296772832 20232 80.91.229.12 (3 Feb 2011 22:40:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2011 22:40:32 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Feb 03 23:40:28 2011 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 1Pl7qc-0005aA-TF for guile-bugs@m.gmane.org; Thu, 03 Feb 2011 23:40:19 +0100 Original-Received: from localhost ([127.0.0.1]:51129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl7ci-0006T2-0A for guile-bugs@m.gmane.org; Thu, 03 Feb 2011 17:25:56 -0500 Original-Received: from [140.186.70.92] (port=55176 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl7cb-0006SB-As for bug-guile@gnu.org; Thu, 03 Feb 2011 17:25:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl7cZ-000515-56 for bug-guile@gnu.org; Thu, 03 Feb 2011 17:25:48 -0500 Original-Received: from imr-mb01.mx.aol.com ([64.12.207.164]:33338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl7cZ-000511-1X for bug-guile@gnu.org; Thu, 03 Feb 2011 17:25:47 -0500 Original-Received: from imo-ma02.mx.aol.com (imo-ma02.mx.aol.com [64.12.78.137]) by imr-mb01.mx.aol.com (8.14.1/8.14.1) with ESMTP id p13MPU3r010574 for ; Thu, 3 Feb 2011 17:25:30 -0500 Original-Received: from idirectscm@aim.com by imo-ma02.mx.aol.com (mail_out_v42.9.) id 7.f90.ba9dc33 (43917) for ; Thu, 3 Feb 2011 17:25:26 -0500 (EST) Original-Received: from smtprly-da03.mx.aol.com (smtprly-da03.mx.aol.com [205.188.249.146]) by cia-dc08.mx.aol.com (v129.8) with ESMTP id MAILCIADC086-5bc14d4b2b501a1; Thu, 03 Feb 2011 17:25:26 -0500 Original-Received: from webmail-m030 (webmail-m030.sim.aol.com [64.12.101.213]) by smtprly-da03.mx.aol.com (v129.8) with ESMTP id MAILSMTPRLYDA038-5bc14d4b2b501a1; Thu, 03 Feb 2011 17:25:20 -0500 X-AOL-IP: 98.185.24.91 In-Reply-To: <20110202-193648.sv20118.17161@savannah.gnu.org> X-MB-Message-Source: WebUI X-MB-Message-Type: User X-Mailer: AIM WebMail 33189-STANDARD Original-Received: from 98.185.24.91 by webmail-m030.sysops.aol.com (64.12.101.213) with HTTP (WebMailUI); Thu, 03 Feb 2011 17:25:20 -0500 X-AOL-SENDER: idirectscm@aim.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 64.12.207.164 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:5074 Archived-At: (Re-sending -- This apparently did not get through the mail the first=20 time.) > Follow-up Comment #1: > > Fixed in git; thanks for the reminder. Are the problems described below repaired by the latest fix, also? [~]$ guile-tools -v guile-tools (GNU Guile 1.9.15) 2.0 Copyright (C) 2010 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. [~]$ guile-tools doc-snarf -l Backtrace: In ice-9/boot-9.scm: 170: 9 [catch #t # ...] In unknown file: ?: 8 [catch-closure] In ice-9/boot-9.scm: 62: 7 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 6 [eval # #] In /usr/local/bin/guile-tools: 189: 5 [main ("/usr/local/bin/guile-tools" "doc-snarf" "-l")] In scripts/doc-snarf.scm: 99: 4 [doc-snarf "-l"] In ice-9/getopt-long.scm: 387: 3 [getopt-long ("doc-snarf" "-l") ((version # #) (help # #)=20 (output # #) ...)] In unknown file: ?: 2 [scm-error misc-error #f ...] In ice-9/boot-9.scm: 115: 1 [# misc-error ...] In unknown file: ?: 0 [catch-closure misc-error #f ...] [~]$ guile-tools doc-snarf -v doc-snarf Backtrace: In ice-9/boot-9.scm: 170: 7 [catch #t # ...] In unknown file: ?: 6 [catch-closure] In ice-9/boot-9.scm: 62: 5 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 4 [eval # #] In /usr/local/bin/guile-tools: 189: 3 [main ("/usr/local/bin/guile-tools" "doc-snarf" "-v")] In scripts/doc-snarf.scm: 83: 2 [display-version] In ice-9/boot-9.scm: 115: 1 [# unbound-variable ...] In unknown file: ?: 0 [catch-closure unbound-variable "module-lookup" ...] [~]$ guile-tools doc-snarf --he Backtrace: In ice-9/boot-9.scm: 170: 10 [catch #t # ...] In unknown file: ?: 9 [catch-closure] In ice-9/boot-9.scm: 62: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 7 [eval # #] In /usr/local/bin/guile-tools: 189: 6 [main ("/usr/local/bin/guile-tools" "doc-snarf" "--he")] In scripts/doc-snarf.scm: 99: 5 [doc-snarf "--he"] In ice-9/getopt-long.scm: 387: 4 [getopt-long ("doc-snarf" "--he") (# # # # ...)] 335: 3 [process-options (# # # # ...) ("--he")] In unknown file: ?: 2 [scm-error misc-error #f "~A ~S" ("no such option:" "he") #f] In ice-9/boot-9.scm: 115: 1 [# misc-error ...] In unknown file: ?: 0 [catch-closure misc-error #f "~A ~S" ("no such option:" "he")=20 #f] ERROR: In procedure catch-closure: ERROR: no such option: "he" [~]$ guile-tools lint -h Backtrace: In ice-9/boot-9.scm: 170: 10 [catch #t # ...] In unknown file: ?: 9 [catch-closure] In ice-9/boot-9.scm: 62: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 7 [eval # #] In /usr/local/bin/guile-tools: 189: 6 [main ("/usr/local/bin/guile-tools" "lint" "-h")] In unknown file: ?: 5 [for-each # ("-h")] In scripts/lint.scm: 109: 4 [lint "-h"] In ice-9/r4rs.scm: 190: 3 [with-input-from-file "-h" ...] In unknown file: ?: 2 [open-file "-h" "r"] In ice-9/boot-9.scm: 115: 1 [# system-error ...] In unknown file: ?: 0 [catch-closure system-error "open-file" ...] ERROR: In procedure open-file: ERROR: No such file or directory: "-h" [~]$ guile-tools scan-api Backtrace: In ice-9/boot-9.scm: 170: 8 [catch #t # ...] In unknown file: ?: 7 [catch-closure] In ice-9/boot-9.scm: 62: 6 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 389: 5 [eval # #] In /usr/local/bin/guile-tools: 189: 4 [main ("/usr/local/bin/guile-tools" "scan-api")] In scripts/scan-api.scm: 160: 3 [scan-api] In unknown file: ?: 2 [list-ref () {0}] In ice-9/boot-9.scm: 115: 1 [# out-of-range ...] In unknown file: ?: {0} [catch-closure out-of-range "list-ref" ...] ERROR: In procedure list-ref: ERROR: Argument 2 out of range: 0