From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Dion via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: Re: Guile 3.0.7 compile cache messages Date: Tue, 01 Jun 2021 08:14:23 -0400 Message-ID: <87im2xzsrk.fsf@clara> References: Reply-To: Olivier Dion Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35037"; mail-complaints-to="usenet@ciao.gmane.io" To: Zelphir Kaltstahl , Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Jun 01 14:14:56 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lo3IO-0008qi-Qh for guile-user@m.gmane-mx.org; Tue, 01 Jun 2021 14:14:56 +0200 Original-Received: from localhost ([::1]:58736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lo3IN-00014T-IY for guile-user@m.gmane-mx.org; Tue, 01 Jun 2021 08:14:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3I7-00012p-3B for guile-user@gnu.org; Tue, 01 Jun 2021 08:14:39 -0400 Original-Received: from smtp.polymtl.ca ([132.207.4.11]:37569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lo3I4-0004fv-0a for guile-user@gnu.org; Tue, 01 Jun 2021 08:14:38 -0400 Original-Received: from localhost ([89.36.78.172]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 151CEOXU019288 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 1 Jun 2021 08:14:29 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 151CEOXU019288 In-Reply-To: X-Poly-FromMTA: ([89.36.78.172]) at Tue, 1 Jun 2021 12:14:24 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17554 Archived-At: On Mon, 31 May 2021, Zelphir Kaltstahl wrote: > Hello Guile Users! > > It seems my Guile (version 3.0.7, installed via GNU Guile, updated today) is > doing something weird, or perhaps something correct but unexpected with regard > to informing about it finding compile caches. When I run a program with `guile > -L . main.scm`, it displays the following: I also find it annoying. I use Guile as a script language for a video game engine in C. This interferes with the logging system and it annoys the hell out of me >:-) > > ~~~~ > $ guile -L . main.scm > ;;; note: source file ./logging.scm > ;;; newer than compiled /home/user/.guix-profile/lib/guile/3.0/site-ccache/logging.go > ;;; found fresh local cache at /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/logging.scm.go > ;;; note: source file ./file-reader.scm > ;;; newer than compiled /home/user/.guix-profile/lib/guile/3.0/site-ccache/file-reader.go > ;;; found fresh local cache at /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/lf2-data-files/file-reader.scm.go > 160 > ~~~~ > > This is displayed every single time I run the same program, without making any > changes to the program. > > Is this intentional? > > I think it used to not display this info all the time. It could become quite > annoying with a bigger program consisting of hundreds of files / modules and > then Guile displaying a note for every single file. > > Even with `--no-auto-compile` as in `guile -L . --no-auto-compile main.scm` it > keeps displaying that message. > > Is there something I can do, to only make it display a note about caches, when > it finds, that a file needs recompiling, because the cache is not up to date any > longer? > > Here is some more detailed information about my versions: > > ~~~~ > $ guix --version > guix (GNU Guix) 4092813037f9fadb2c1da805dc9117277efc7910 > Copyright (C) 2021 the Guix authors > License GPLv3+: GNU GPL version 3 or later > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > $ guile --version > guile (GNU Guile) 3.0.7 > Copyright (C) 2021 Free Software Foundation, Inc. > > License LGPLv3+: GNU LGPL 3 or later . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > ~~~~ > > Best regards, > Zelphir > > -- > repositories: https://notabug.org/ZelphirKaltstahl > > -- Olivier Dion PolyMtl