From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: mtime of fresh .go
Date: Mon, 19 Jul 2010 00:31:24 +0200 [thread overview]
Message-ID: <87vd8cv2v7.fsf@gnu.org> (raw)
In-Reply-To: <m3aappx7qn.fsf@unquote.localdomain> (Andy Wingo's message of "Sun, 18 Jul 2010 15:03:12 +0200")
Hey!
Andy Wingo <wingo@pobox.com> writes:
> On Fri 16 Jul 2010 10:07, ludo@gnu.org (Ludovic Courtès) writes:
>
>> commit 535fb833b34dfc3cc11a679d39390b06fd7e9180
>> Author: Andy Wingo <wingo@pobox.com>
>> Date: Fri Jun 5 10:51:21 2009 +0200
>>
>> stamp .go with timestamp of .scm; a fresh go has same mtime of .scm
>>
>> * libguile/load.c (compiled_is_fresh): Rename from compiled_is_newer.
>> Check that the mtines of the .go and .scm match exactly, so we don't
>> get fooled by rsync-like modifications of the filesystem.
>>
>> When packaging things “normally”, the .go has an mtime strictly greater
>> than that of the source file, so checking for equality doesn’t work.
>
> But when reinstalling code from a binary packaging system, sometimes the
> mtime can go backwards.
Please forgive my ignorance, but can you give an example of how this can
happen?
Besides, what do you think packages that install scm and go files should
do?
A package of mine basically lists .go’s in ‘nodist_foobar_DATA’ and
.scm’s in ‘foobar_SOURCES’ (or similar). Having to change the mtime of
.go’s in ‘install-hook’ seems inconvenient and fragile to me.
Thanks,
Ludo’.
next prev parent reply other threads:[~2010-07-18 22:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 8:07 mtime of fresh .go Ludovic Courtès
2010-07-18 13:03 ` Andy Wingo
2010-07-18 22:31 ` Ludovic Courtès [this message]
2010-07-19 19:10 ` Andy Wingo
2010-07-19 22:17 ` Ludovic Courtès
2010-07-20 7:46 ` Andy Wingo
2010-07-20 16:13 ` Ludovic Courtès
2010-07-20 19:19 ` Andy Wingo
2010-07-21 15:57 ` Ludovic Courtès
2010-07-20 7:46 ` Andy Wingo
2010-07-20 16:30 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vd8cv2v7.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guile-devel@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).