bug#81223: [PATCH] Fix file-missing error during async native compilation
Andrea Corallo <[email protected]> Thu, 06 Aug 2026 10:55:18 -0400
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
James Cherti <[email protected]> writes: > On 2026-07-29 11:18, James Cherti wrote: >> Hello Andrea, >> It makes sense. I've updated the patch: >> Attached: 0001-V2-Fix-file-missing-error-during-async-native- >> compilati.patch >> On 2026-07-27 11:21, Andrea Corallo wrote: >>> James Cherti <[email protected]> writes: >>> >>>> On 2026-06-11 11:07, Sean Whitton wrote: >>>>> James Cherti [11/Jun 9:41am -04] wrote: >>>>>> From a8f13a55a4838a0d2ead62513c7d1a9616c1b501 Mon Sep 17 >>>>>> 00:00:00 2001 >>>>>> From: James Cherti <[email protected]> >>>>>> Date: Thu, 11 Jun 2026 09:29:39 -0400 >>>>>> Subject: [PATCH] Fix file-missing error during async native >>>>>> compilation >>>>>> >>>>>> When a package is upgraded or deleted, the async compilation queue can >>>>>> retain stale jobs for files that no longer exist on disk. >>>>>> Attempting to >>>>>> resolve the target .eln filename for these missing files signals a >>>>>> file-missing error that disrupts the queue. >>>>>> >>>>>> * lisp/emacs-lisp/comp-run.el (comp--run-async-workers): Verify source >>>>>> files exist before attempting to resolve their .eln paths in both the >>>>>> dispatch loop and the process sentinel. >>>>> >>>>> Shorten these remarks and add corresponding code comments, please. >>>>> >>>>> Adding Philip for review since it seems primarily a package.el issue. >>>> >>>> You can find attached v2 of the patch >>>> (0001-V2-Fix-file-missing-error-during-async-native-compilati.patch). > > Let me know if you have feedback on v2 or if this is ready to merge. Hi James I've no further comments, it's okay to go in by me with Philip's comment. Do you have write access? Thx Andrea