[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48079: Temporary files while building after native-comp merge
From: |
Stefan Kangas |
Subject: |
bug#48079: Temporary files while building after native-comp merge |
Date: |
Sun, 2 May 2021 05:12:24 -0500 |
tags 48079 - patch
thanks
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Stefan Kangas <stefan@marxist.se> writes:
>
>> But perhaps the fix is as simple as:
>>
>> diff --git a/.gitignore b/.gitignore
>> index fcbc9cd7f4..e27ebe36d0 100644
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -135,6 +135,7 @@ src/gl-stamp
>> *.dll
>> *.core
>> *.elc
>> +*.elc[0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z][0-9A-Za-z]
>> *.eln
>> *.o
>> *.res
>
> Sounds like a good idea to me. (But add a comment about what these
> files are.)
Thanks.
But now I am seeing that some of these files have not been deleted in my
tree:
lisp/emacs-lisp/comp.elcivrXZS
lisp/window.elc9aaVMg
This might be because I interrupted the build process at some point; I
don't know.
These files don't get removed when I run extraclean or bootstrap. So if
we just ignore them there is a risk that these files will slowly build
up over time.
Perhaps we should also make sure they get cleaned up when building, as
in the attached.
Another alternative, arguably more correct, would be to figure out
exactly under which circumstances these files gets left over and delete
them there. (There is a let-bound `kill-emacs-hook' in
`byte-compile-file', which might be a good place to start looking.)
What makes this a bit tricky is that this is somewhat hard to reproduce.
0001-Delete-temporary-.elcXXXXXX-files-created-when-compi.patch
Description: Text Data
- bug#48079: Temporary files while building after native-comp merge, Lars Ingebrigtsen, 2021/05/02
- bug#48079: Temporary files while building after native-comp merge,
Stefan Kangas <=
- bug#48079: Temporary files while building after native-comp merge, Lars Ingebrigtsen, 2021/05/02
- bug#48079: Temporary files while building after native-comp merge, Andrea Corallo, 2021/05/02
- bug#48079: Temporary files while building after native-comp merge, Lars Ingebrigtsen, 2021/05/05
- bug#48079: Temporary files while building after native-comp merge, Eli Zaretskii, 2021/05/05
- bug#48079: Temporary files while building after native-comp merge, Lars Ingebrigtsen, 2021/05/05
- bug#48079: Temporary files while building after native-comp merge, Eli Zaretskii, 2021/05/05
- bug#48079: Temporary files while building after native-comp merge, Andrea Corallo, 2021/05/05
- bug#48079: Temporary files while building after native-comp merge, Lars Ingebrigtsen, 2021/05/06
- bug#48079: Temporary files while building after native-comp merge, Andrea Corallo, 2021/05/06