GNU bug report logs - #32160
auto compile fails to recompile when included source files change

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guile; Reported by: Arun Isaac <arunisaac@HIDDEN>; dated Sun, 15 Jul 2018 02:52:01 UTC; Maintainer for guile is bug-guile@HIDDEN.

Message received at 32160 <at> debbugs.gnu.org:


Received: (at 32160) by debbugs.gnu.org; 3 Aug 2018 16:36:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 03 12:36:17 2018
Received: from localhost ([127.0.0.1]:40126 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fld3p-0007Px-OP
	for submit <at> debbugs.gnu.org; Fri, 03 Aug 2018 12:36:17 -0400
Received: from world.peace.net ([64.112.178.59]:56626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1fld3o-0007Pl-D2
 for 32160 <at> debbugs.gnu.org; Fri, 03 Aug 2018 12:36:16 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1fld3f-000071-4y; Fri, 03 Aug 2018 12:36:07 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#32160: auto compile fails to recompile when included source
 files change
References: <cu7in5hdyup.fsf@HIDDEN> <87muu4ve9y.fsf@HIDDEN>
 <20180802200226.GA12552@HIDDEN> <cu7muu3df13.fsf@HIDDEN>
Date: Fri, 03 Aug 2018 12:34:40 -0400
In-Reply-To: <cu7muu3df13.fsf@HIDDEN> (Arun Isaac's message of "Fri, 
 03 Aug 2018 14:04:48 +0530")
Message-ID: <87h8kbwgrj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32160
Cc: tomas@HIDDEN, 32160 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Arun,

Arun Isaac <arunisaac@HIDDEN> writes:

>>> If you'd like to investigate further, I'd be glad to give you
>>> pointers and advice, but it's not a project for the faint-hearted :-/
>
> I am faint-hearted and do not wish to pursue this further. :-P I just
> thought it might be useful to report. Should I close this bug report, or
> leave it open for someone to fix in the future?

I'd prefer to leave it open, because it is indeed an important issue
that would be good to fix eventually.

      Thanks!
        Mark




Information forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.

Message received at 32160 <at> debbugs.gnu.org:


Received: (at 32160) by debbugs.gnu.org; 3 Aug 2018 08:35:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 03 04:35:05 2018
Received: from localhost ([127.0.0.1]:39476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flVY9-0008KI-HL
	for submit <at> debbugs.gnu.org; Fri, 03 Aug 2018 04:35:05 -0400
Received: from vultr.systemreboot.net ([45.77.148.100]:52982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1flVY7-0008JY-Dz
 for 32160 <at> debbugs.gnu.org; Fri, 03 Aug 2018 04:35:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=+Ikd/u6wQ5k0IRDknDcIcY5HNgDdkSDB/e0FnT/5oPU=; b=dbxFqG6Oeox8HQsIrNZCrkZb9
 NxKs6SuBo4fTf+RlHdyt9Eg3JG+RPwaJHF++ZZjFtQ9OhvfTKyGsESbvxbsTi54zcobFloHhv1Jtf
 xEacaI0jv50eqtPx79wjaRiyAaAAFRWXEcKJ4SRrDt2XUdoIab5SNAiK5RCi4B4PcY+9g=;
Received: from [192.168.2.1] (helo=steel)
 by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.91) (envelope-from <arunisaac@HIDDEN>)
 id 1flVXy-00011R-Sf; Fri, 03 Aug 2018 14:04:55 +0530
From: Arun Isaac <arunisaac@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#32160: auto compile fails to recompile when included source
 files change
In-Reply-To: <20180802200226.GA12552@HIDDEN>
References: <cu7in5hdyup.fsf@HIDDEN> <87muu4ve9y.fsf@HIDDEN>
 <20180802200226.GA12552@HIDDEN>
Date: Fri, 03 Aug 2018 14:04:48 +0530
Message-ID: <cu7muu3df13.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32160
Cc: tomas@HIDDEN, 32160 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> If you'd like to investigate further, I'd be glad to give you
>> pointers and advice, but it's not a project for the faint-hearted :-/

I am faint-hearted and do not wish to pursue this further. :-P I just
thought it might be useful to report. Should I close this bug report, or
leave it open for someone to fix in the future?




Information forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.

Message received at 32160 <at> debbugs.gnu.org:


Received: (at 32160) by debbugs.gnu.org; 2 Aug 2018 21:02:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 02 17:02:57 2018
Received: from localhost ([127.0.0.1]:39283 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flKkK-0006pR-Vd
	for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:57 -0400
Received: from world.peace.net ([64.112.178.59]:53226)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1flKkG-0006p9-8w
 for 32160 <at> debbugs.gnu.org; Thu, 02 Aug 2018 17:02:55 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1flKk9-0002e2-KE; Thu, 02 Aug 2018 17:02:45 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: 32160 <at> debbugs.gnu.org
Subject: Re: bug#32160: auto compile fails to recompile when included source
 files change
References: <cu7in5hdyup.fsf@HIDDEN> <87muu4ve9y.fsf@HIDDEN>
 <87in4svbwv.fsf@HIDDEN>
Date: Thu, 02 Aug 2018 17:01:20 -0400
In-Reply-To: <87in4svbwv.fsf@HIDDEN> (Mark H. Weaver's message of "Thu, 02
 Aug 2018 14:52:32 -0400")
Message-ID: <87effgv5y7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32160
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Mark H Weaver <mhw@HIDDEN> writes:

> My response to Arun Isaac <arunisaac@HIDDEN> was rejected
> by his mail server:
[...]
> If someone could let him know about this issue, I would be grateful.

tomas@HIDDEN kindly forwarded my messages to Arun, so there's no
need for anyone else to do it now.  Thanks, Tomas!

      Mark




Information forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.

Message received at 32160 <at> debbugs.gnu.org:


Received: (at 32160) by debbugs.gnu.org; 2 Aug 2018 18:54:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 02 14:54:05 2018
Received: from localhost ([127.0.0.1]:39265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flIjc-0003hi-Qj
	for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 14:54:04 -0400
Received: from world.peace.net ([64.112.178.59]:52982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1flIjb-0003hF-9F
 for 32160 <at> debbugs.gnu.org; Thu, 02 Aug 2018 14:54:03 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1flIjU-0001YT-Fp; Thu, 02 Aug 2018 14:53:56 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: 32160 <at> debbugs.gnu.org
Subject: Re: bug#32160: auto compile fails to recompile when included source
 files change
References: <cu7in5hdyup.fsf@HIDDEN> <87muu4ve9y.fsf@HIDDEN>
Date: Thu, 02 Aug 2018 14:52:32 -0400
In-Reply-To: <87muu4ve9y.fsf@HIDDEN> (Mark H. Weaver's message of "Thu, 02
 Aug 2018 14:01:29 -0400")
Message-ID: <87in4svbwv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32160
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

My response to Arun Isaac <arunisaac@HIDDEN> was rejected
by his mail server:

  SMTP error from remote mail server after RCPT TO:<arunisaac@HIDDEN>:
  550 Sender Policy Framework (SPF) verification failed

I do not have DNS records supporting SPF for my domain netris.org, and
apparently his mail server is configured to reject all mail that is not
authenticated by SPF.  So, I'm unable to send him email.  Oh well.  This
is the first time I've run into this problem.

If someone could let him know about this issue, I would be grateful.

      Mark




Information forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.

Message received at 32160 <at> debbugs.gnu.org:


Received: (at 32160) by debbugs.gnu.org; 2 Aug 2018 18:03:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 02 14:03:01 2018
Received: from localhost ([127.0.0.1]:39245 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1flHwD-0002V6-7O
	for submit <at> debbugs.gnu.org; Thu, 02 Aug 2018 14:03:01 -0400
Received: from world.peace.net ([64.112.178.59]:52874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>) id 1flHwB-0002Uo-Fi
 for 32160 <at> debbugs.gnu.org; Thu, 02 Aug 2018 14:02:59 -0400
Received: from mhw by world.peace.net with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89)
 (envelope-from <mhw@HIDDEN>)
 id 1flHw5-0001A4-OF; Thu, 02 Aug 2018 14:02:53 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>
Subject: Re: bug#32160: auto compile fails to recompile when included source
 files change
References: <cu7in5hdyup.fsf@HIDDEN>
Date: Thu, 02 Aug 2018 14:01:29 -0400
In-Reply-To: <cu7in5hdyup.fsf@HIDDEN> (Arun Isaac's message of "Sun, 
 15 Jul 2018 07:49:58 +0530")
Message-ID: <87muu4ve9y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32160
Cc: 32160 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Arun,

Arun Isaac <arunisaac@HIDDEN> writes:

> Guile's auto compile fails to recompile when included source files
> change.
>
> For example, I have two source files -- foo.scm and bar.scm. foo.scm
> includes bar.scm using `include'. When I run foo.scm for the first time,
> it is auto compiled and run correctly. But, if I modify bar.scm and run
> foo.scm again, foo.scm is not rebuilt and the old version is run.

Yes, this is a known limitation in Guile's auto-compilation support.
Unfortunately, we don't have any system in place to track these
dependencies between modules.  Years ago, I spent some time thinking
about how to do it, but it's nontrivial given the unstructured and
imperative model by which modules load themselves and their
dependencies.  The .go file format would also need to be extended to
embed the dependency information.

There's also the question of how to fingerprint the dependencies.  If
timestamps are used, it would defeat deterministic builds, but if hashes
are used, it might dramatically slow down module loading, especially
given that it would not be sufficient to check the immediate
dependencies: the full transitive closure of the module dependency graph
would need to be traversed.

And then there's the unfortunate fact that although circular module
dependencies are (sensibly) prohibited by standard Scheme and most other
languages, in Guile they are not prohibited, and although they cause a
great many headaches, they sort-of-work if you are lucky, and Guix now
depends heavily on them.  Last I checked, Guix has a large number of
package modules (well over 50, and possibly more than 100 at this point)
that form a strongly connected component in the module dependency graph.

I'm sorry that I don't have a better answer for you.  If you'd like to
investigate further, I'd be glad to give you pointers and advice, but
it's not a project for the faint-hearted :-/

      Regards,
        Mark




Information forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jul 2018 02:51:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 14 22:51:52 2018
Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1feX8Z-0000LS-FV
	for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 22:51:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58853)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1feX8X-0000LG-Fl
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 22:51:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arunisaac@HIDDEN>) id 1feX8R-0001pH-Lb
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 22:51:44 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:40746)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <arunisaac@HIDDEN>)
 id 1feX8R-0001pB-Hu
 for submit <at> debbugs.gnu.org; Sat, 14 Jul 2018 22:51:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49823)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <arunisaac@HIDDEN>) id 1feX8Q-0001pG-Dz
 for bug-guile@HIDDEN; Sat, 14 Jul 2018 22:51:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <arunisaac@HIDDEN>) id 1feX8N-0001le-7y
 for bug-guile@HIDDEN; Sat, 14 Jul 2018 22:51:42 -0400
Received: from [2001:19f0:5:274f:351:616f:fec3:2694] (port=46354
 helo=vultr.systemreboot.net)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <arunisaac@HIDDEN>)
 id 1feX8M-0001je-Ow
 for bug-guile@HIDDEN; Sat, 14 Jul 2018 22:51:39 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=5oeQdJs38zteWFzQttS+7KcVnEUck+D5/uugbhfEOw4=; b=Z7tgdTCUmAlWSVEUORQTe53P7E
 TSfaEBBSFUwthudUIqO/pTQVxNPBn7NwVcchGa8Uw2FJLq48WeOd6A4MH+okCbsW7VJm83CWZKNB3
 IPuYwT7VcDQH3t/vSuywqNAyUa1g04WiHa2IkUQUFNq28NBFw0Xr0U4BwMVXHrR3IbNo=;
Received: from [124.40.246.228] (helo=steel)
 by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.91) (envelope-from <arunisaac@HIDDEN>)
 id 1feWaV-0001AW-CK
 for bug-guile@HIDDEN; Sun, 15 Jul 2018 07:46:39 +0530
From: Arun Isaac <arunisaac@HIDDEN>
To: bug-guile@HIDDEN
Subject: auto compile fails to recompile when included source files change
Date: Sun, 15 Jul 2018 07:49:58 +0530
Message-ID: <cu7in5hdyup.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)


Guile's auto compile fails to recompile when included source files
change.

For example, I have two source files -- foo.scm and bar.scm. foo.scm
includes bar.scm using `include'. When I run foo.scm for the first time,
it is auto compiled and run correctly. But, if I modify bar.scm and run
foo.scm again, foo.scm is not rebuilt and the old version is run.

Here is a concrete example of what I mean.

$ cat foo.scm
(include "bar.scm")

$ cat bar.scm
(display "old")
(newline)

$ guile -s foo.scm
;;; note: source file /tmp/test/foo.scm
;;;       newer than compiled /home/arun/.cache/guile/ccache/2.2-LE-8-3.A/tmp/test/foo.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/test/foo.scm
;;; compiled /home/arun/.cache/guile/ccache/2.2-LE-8-3.A/tmp/test/foo.scm.go
old

$ sed -i 's/old/new/' bar.scm

$ cat bar.scm
(display "new")
(newline)

$ guile -s foo.scm
old

In the last step, guile still printed "old" without recompiling. It
should have recompiled and printed "new".




Acknowledgement sent to Arun Isaac <arunisaac@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guile@HIDDEN. Full text available.
Report forwarded to bug-guile@HIDDEN:
bug#32160; Package guile. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.