From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: mtime of fresh .go Date: Tue, 20 Jul 2010 18:13:30 +0200 Message-ID: <87lj96uo5x.fsf@gnu.org> References: <87mxtrdf42.fsf@gnu.org> <87vd8cv2v7.fsf@gnu.org> <87wrsrxgkb.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279644803 2899 80.91.229.12 (20 Jul 2010 16:53:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Jul 2010 16:53:23 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jul 20 18:53:22 2010 Return-path: Envelope-to: guile-devel@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 1ObG4H-00083r-Ud for guile-devel@m.gmane.org; Tue, 20 Jul 2010 18:53:22 +0200 Original-Received: from localhost ([127.0.0.1]:60888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObG4H-0000hN-CM for guile-devel@m.gmane.org; Tue, 20 Jul 2010 12:53:21 -0400 Original-Received: from [140.186.70.92] (port=40910 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObFUV-0007h6-GO for guile-devel@gnu.org; Tue, 20 Jul 2010 12:16:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObFRm-0007ZR-8L for guile-devel@gnu.org; Tue, 20 Jul 2010 12:13:35 -0400 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:63248) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObFRm-0007ZG-40 for guile-devel@gnu.org; Tue, 20 Jul 2010 12:13:34 -0400 X-IronPort-AV: E=Sophos;i="4.55,233,1278280800"; d="scan'208";a="55859822" Original-Received: from laptop-147-210-128-193.labri.fr (HELO nixey) ([147.210.128.193]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 20 Jul 2010 18:13:32 +0200 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Thermidor an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: (Andy Wingo's message of "Tue, 20 Jul 2010 09:46:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10703 Archived-At: Hello, Andy Wingo writes: > On Tue 20 Jul 2010 00:17, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Andy Wingo writes: >> >>> * RPM or Deb systems typically timestamp their files based on the times >>> they were built, not installed, and we don't have guarantees that >>> upgrading a package won't actually move the mtime into the past. >> >> What matters is that the mtime(.go) >=3D mtime(.scm), and I=E2=80=99d ex= pect it to >> be preserved by packaging systems, even after an upgrade, no? > > Not all packages with Scheme files will have .go files, so you get > compilation by the user in some cases. But even if the version > increases, you are not guaranteed that the mtime increases. Do you mean that installing a new version of a Guile-using package that does not ship .go files may not trigger a recompilation? (Whereas you would want automatic recompilation.) >>> * When installing source code (via _SOURCES / _DATA), you don't have >>> any guarantees about the relations between the times of the SOURCE >>> and DATA files, *as installed*. >> >> Apparently =E2=80=9Cmake install=E2=80=9D preserves mtimes on my system.= IOW, since >> uninstalled .gos have mtime >=3D uninstalled .scms, the same holds for >> installed .gos and .scms. > > AFAIR it does not on mine -- I wouldn't have added the install-hook in > Guile otherwise... Oh, OK. I=E2=80=99ll mail bug-automake then. Thanks, Ludo=E2=80=99.