From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zefram Newsgroups: gmane.lisp.guile.bugs Subject: bug#16364: auto-compile noise can't be avoided by script Date: Fri, 17 Jan 2014 21:56:09 +0000 Message-ID: <20140117215609.GH21945@fysh.org> References: <20140105234106.GI30283@fysh.org> <87fvomuwfw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1389995838 12057 80.91.229.3 (17 Jan 2014 21:57:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 21:57:18 +0000 (UTC) Cc: 16364@debbugs.gnu.org To: Ludovic Courtes Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jan 17 22:57:22 2014 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 1W4HPi-00033u-F5 for guile-bugs@m.gmane.org; Fri, 17 Jan 2014 22:57:18 +0100 Original-Received: from localhost ([::1]:40205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4HPi-0006Md-4A for guile-bugs@m.gmane.org; Fri, 17 Jan 2014 16:57:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4HPZ-0006MW-3H for bug-guile@gnu.org; Fri, 17 Jan 2014 16:57:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4HPT-000682-0K for bug-guile@gnu.org; Fri, 17 Jan 2014 16:57:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4HPS-00067y-Ta for bug-guile@gnu.org; Fri, 17 Jan 2014 16:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4HPS-0004zH-F3 for bug-guile@gnu.org; Fri, 17 Jan 2014 16:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Zefram Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 17 Jan 2014 21:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16364 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 16364-submit@debbugs.gnu.org id=B16364.138999577719086 (code B ref 16364); Fri, 17 Jan 2014 21:57:02 +0000 Original-Received: (at 16364) by debbugs.gnu.org; 17 Jan 2014 21:56:17 +0000 Original-Received: from localhost ([127.0.0.1]:55599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4HOi-0004xm-Rm for submit@debbugs.gnu.org; Fri, 17 Jan 2014 16:56:17 -0500 Original-Received: from river.fysh.org ([5.135.154.127]:34418) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4HOf-0004xc-C7 for 16364@debbugs.gnu.org; Fri, 17 Jan 2014 16:56:14 -0500 Original-Received: from zefram by river.fysh.org with local (Exim 4.80 #2 (Debian)) id 1W4HOb-0008RN-Ju; Fri, 17 Jan 2014 21:56:09 +0000 Content-Disposition: inline In-Reply-To: <87fvomuwfw.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:7396 Archived-At: Ludovic Courtes wrote: >However, you can set the environment variable GUILE_AUTO_COMPILE=0. > >Do you think that would solve the problem? It does not solve the problem. Firstly, it can't be done from the #! line at all, so the script can't do it early enough. It only works if it's already been set by the user, which is no good for what should be an internal detail of the program. Secondly, it suffers the second problem that I noted with --no-auto-compile: if there's already a cached compilation then that'll be looked at, and if it's out of date then a "newer than" banner is emitted. With the environment variable set the cached version will never be updated, nor will it be deleted, so the banner then appears on every execution. -zefram