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: Thu, 27 Jan 2011 00:54:54 +0100 Message-ID: References: <8CD870DF94E6CA5-E68-1D13C@Webmail-d124.sysops.aol.com> <5EA77F96-7EA8-49D8-B8B6-D84D52D11334@telia.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 1296086114 13865 80.91.229.12 (26 Jan 2011 23:55:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 23:55:14 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jan 27 00:55:09 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 1PiFCe-00025f-GE for guile-bugs@m.gmane.org; Thu, 27 Jan 2011 00:55:08 +0100 Original-Received: from localhost ([127.0.0.1]:38463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiFCd-0006Ce-LG for guile-bugs@m.gmane.org; Wed, 26 Jan 2011 18:55:07 -0500 Original-Received: from [140.186.70.92] (port=50411 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiFCW-0006CU-Ft for bug-guile@gnu.org; Wed, 26 Jan 2011 18:55:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiFCV-0001lx-H1 for bug-guile@gnu.org; Wed, 26 Jan 2011 18:55:00 -0500 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:34342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiFCV-0001la-2d for bug-guile@gnu.org; Wed, 26 Jan 2011 18:54:59 -0500 Original-Received: from [10.0.1.199] (217.210.127.13) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D065C2900B6522F; Thu, 27 Jan 2011 00:54:56 +0100 In-Reply-To: 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:5048 Archived-At: On 26 Jan 2011, at 22:10, Andy Wingo wrote: >>>> When starting with 'guile -l', autocompiling fails, even with an >>>> empty file. >>>> >> 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. > > Thanks for the detailed report. I believe I've fixed this in git to > give a more sensible error. On Mac OS X, there are two locations for cached objects; when put there, the system will assume they can be regenerated and not be backed up. These would be ~/Library/Caches/Guile/ /Library/Caches/Guile/ if keeping to Mac tradition using uppercase names. One can also mark ~/.cache/ to be the same kind of area.