1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi, |
5 |
|
6 |
On behalf of the Lisp project (which includes the Emacs subproject) I'd like to |
7 |
propose that preservation of mtimes be included as a requirement of EAPI3. |
8 |
|
9 |
An EAPI bump may not be really necessary for this - after all we're just |
10 |
specifying previously unspecified behavior - but it will help Paludis. |
11 |
|
12 |
Portage already supports this, and according to my information pkgcore too, but |
13 |
unfortunately not paludis. More details on the bug mentioned below. |
14 |
|
15 |
Background: |
16 |
Dynamic languages such as Common Lisp and Elisp, but also python (and ruby?) |
17 |
compile source files to some form which loads and executes faster; in Lisp-speak |
18 |
these are called fasl's (for FASt Load), for python these are the pyc files. |
19 |
Need for recompilation is determined by comparing the mtimes of the original |
20 |
source and the fasl. Both source and fasl are usually installed. If the mtimes |
21 |
are modified such that the fasl is not newer than the original source anymore |
22 |
then implementations will attempt to recompile these sources and will try to |
23 |
write the output alongside the sources. This will cause a sandbox violation if |
24 |
it happens in an ebuild or fail due to permissions when done as a user. |
25 |
|
26 |
See also: |
27 |
https://bugs.gentoo.org/264130 "PMS should require that file mtimes are |
28 |
preserved on merge"; Gentoo Hosted Projects, PMS/EAPI; NEW; ulm@g.o:pms-bugs@g.o |
29 |
|
30 |
Marijn |
31 |
|
32 |
- -- |
33 |
Gods do not want you to think, lest they lose existence. |
34 |
Religions do not want you to think, lest they lose power. |
35 |
|
36 |
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML |
37 |
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode |
38 |
-----BEGIN PGP SIGNATURE----- |
39 |
Version: GnuPG v2.0.11 (GNU/Linux) |
40 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
41 |
|
42 |
iEYEARECAAYFAknQ1+wACgkQp/VmCx0OL2yE0QCeJZZJOCFuWY7+6FfnQUCnfFRK |
43 |
YX0Anj+pGrV+kbkrW6UK2w6FNGF0vBzp |
44 |
=sjQR |
45 |
-----END PGP SIGNATURE----- |