Gentoo Archives: gentoo-dev

From: "Marijn Schouten (hkBst)" <hkBst@g.o>
To: "gentoo-dev@l.g.o" <gentoo-dev@l.g.o>
Subject: [gentoo-dev] preserving mtimes
Date: Tue, 06 May 2008 22:56:30
Message-Id: 4820DF4C.7000801@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi list,
5
6 files installed by portage to ${ROOT} do not have the same time stamps as the same files
7 in ${D}. This creates problems for Common Lisp implementations and one Scheme
8 implementation in our overlay, explained in [1]. Current work-around is tarring up and
9 untarring to preserve mtimes. Fixes mentioned in [2] could reduce that hack to a touch of
10 some generated files to make them older than their sources, at least in our case.
11
12 Unfortunately not all package managers implement the same behaviour and I don't think PMS
13 says anything about it.
14
15 With reference counting implemented there doesn't seem to be any reason not to preserve
16 mtimes by default anymore and I think that would be the correct thing to do, but either
17 way I'd like PMS to specify what should happen wrt to mtimes, so that I can rely on that.
18
19 Marijn
20
21 [1]:http://bugs.gentoo.org/show_bug.cgi?id=16162#c32
22 [2]:http://bugs.gentoo.org/show_bug.cgi?id=16162#c52
23
24 - --
25 Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
26 <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v2.0.9 (GNU/Linux)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
30
31 iEYEARECAAYFAkgg30wACgkQp/VmCx0OL2xnQwCfayTo5PATYpCPRgcROP+9p0ES
32 jroAn3H2XJ103UC3V7XglDGSWZLHPDRH
33 =4pVG
34 -----END PGP SIGNATURE-----
35 --
36 gentoo-dev@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] preserving mtimes Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
Re: [gentoo-dev] preserving mtimes Zac Medico <zmedico@g.o>