From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.bugs Subject: Re: GIT version: autocompiling startup file Date: Fri, 21 Jan 2011 11:04:24 +0100 Message-ID: <5EA77F96-7EA8-49D8-B8B6-D84D52D11334@telia.com> References: <8CD870DF94E6CA5-E68-1D13C@Webmail-d124.sysops.aol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295604329 20104 80.91.229.12 (21 Jan 2011 10:05:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 10:05:29 +0000 (UTC) Cc: bug-guile@gnu.org To: Mark Harig Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jan 21 11:05:21 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 1PgDrr-0006QX-9x for guile-bugs@m.gmane.org; Fri, 21 Jan 2011 11:05:19 +0100 Original-Received: from localhost ([127.0.0.1]:45145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgDrq-0007e7-8n for guile-bugs@m.gmane.org; Fri, 21 Jan 2011 05:05:18 -0500 Original-Received: from [140.186.70.92] (port=33528 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgDrO-0007QR-Ex for bug-guile@gnu.org; Fri, 21 Jan 2011 05:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgDr2-0007Nh-Pu for bug-guile@gnu.org; Fri, 21 Jan 2011 05:04:50 -0500 Original-Received: from smtp-out11.han.skanova.net ([195.67.226.200]:42878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgDr2-0007N2-Gp for bug-guile@gnu.org; Fri, 21 Jan 2011 05:04:28 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by smtp-out11.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D0756AC00C39CBC; Fri, 21 Jan 2011 11:04:26 +0100 In-Reply-To: <8CD870DF94E6CA5-E68-1D13C@Webmail-d124.sysops.aol.com> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:5000 Archived-At: On 21 Jan 2011, at 00:07, Mark Harig wrote: >> When starting with 'guile -l', autocompiling fails, even with an >> empty file. >> >> $ guile -l empty.scm >> ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 >> ;;; or pass the --no-autocompile argument to disable. >> ;;; compiling empty.scm >> ;;; WARNING: compilation of empty.scm failed: >> ;;; key wrong-type-arg, throw_args ("dirname" "Wrong type argument >> in position ~A (expecting ~A): ~S" (1 "string" #f) (#f)) >> GNU Guile 1.9.14.68-a7d8a > > This is not happening on my build of guile 1.9.14. I found the error: On my computer, the directory ~/.cache/ had already been created by another program, setting another owner so that guile could not create its directories in it. Then, in the function compiled-file-name in file system/base/compile.scm, the exception from ensure-writable-dir is converted to #f, which is the argument after "string" in the error message above. By contrast, if it compiles, the location of the .go file is written out.