From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Newsgroups: gmane.lisp.guile.bugs Subject: [bug #30169] Auto-compilation failure of a module doesn't lead to a failure [1.9.11] Date: Thu, 17 Jun 2010 13:06:38 +0000 Message-ID: <20100617-130637.sv15145.59405@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1276780016 3033 80.91.229.12 (17 Jun 2010 13:06:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Jun 2010 13:06:56 +0000 (UTC) To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 17 15:06:52 2010 connect(): No such file or directory 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 1OPEnx-0004ia-J9 for guile-bugs@m.gmane.org; Thu, 17 Jun 2010 15:06:49 +0200 Original-Received: from localhost ([127.0.0.1]:51126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPEnx-0006G1-41 for guile-bugs@m.gmane.org; Thu, 17 Jun 2010 09:06:49 -0400 Original-Received: from [140.186.70.92] (port=60954 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPEnq-0006CK-7z for bug-guile@gnu.org; Thu, 17 Jun 2010 09:06:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPEnp-0000Iv-4g for bug-guile@gnu.org; Thu, 17 Jun 2010 09:06:42 -0400 Original-Received: from colonialone.fsf.org ([140.186.70.51]:53115 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPEnn-0000IO-Co; Thu, 17 Jun 2010 09:06:39 -0400 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPEnm-0001xw-LR; Thu, 17 Jun 2010 13:06:38 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1OPEnm-0002yg-Ci; Thu, 17 Jun 2010 13:06:38 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 30169 User-Agent: Mozilla/5.0 (GNU; rv:1.9.1.7) Gecko/20100107 IceCat/3.6 (like Firefox/3.6) X-Apparently-From: 147.210.128.170 (Savane authenticated user civodul) Original-References: In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:4670 Archived-At: URL: Summary: Auto-compilation failure of a module doesn't lead to a failure [1.9.11] Project: Guile Submitted by: civodul Submitted on: Thu 17 Jun 2010 01:06:37 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Consider this example, where auto-compilation of (foo) fails: #v+ $ cat foo.scm (define-module (foo)) (open $ cat bar.scm (use-modules (foo)) (display "hello!\n") $ guile -L . bar.scm ;;; note: source file bar.scm ;;; newer than compiled /home/ludo/.cache/guile/ccache/2.0-0.R-LE-8/home/ludo/src/guile/bar.scm.go ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling bar.scm ;;; compiling ./foo.scm ;;; WARNING: compilation of ./foo.scm failed: ;;; key read-error, throw args ("scm_i_lreadparen" "./foo.scm:3:1: end of file" () #f) ;;; WARNING: compilation of bar.scm failed: ;;; key read-error, throw_args ("scm_i_lreadparen" "./foo.scm:3:1: end of file" () #f) hello! $ echo $? 0 #v- Guile should instead abort as soon as auto-compilation fails. Thanks, Ludo'. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/