GNU bug report logs - #42909
feature/native-comp; comp.el: Pass comp-eln-load-path to child

Previous Next

Package: emacs;

Reported by: Andrew Whatson <whatson <at> gmail.com>

Date: Tue, 18 Aug 2020 02:24:01 UTC

Severity: normal

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andrew Whatson <whatson <at> gmail.com>
Subject: bug#42909: closed (Re: bug#42909: feature/native-comp; comp.el:
 Pass comp-eln-load-path to child)
Date: Tue, 18 Aug 2020 09:45:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42909: feature/native-comp; comp.el: Pass comp-eln-load-path to child

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42909 <at> debbugs.gnu.org.

-- 
42909: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42909
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea Corallo <akrl <at> sdf.org>
To: Andrew Whatson <whatson <at> gmail.com>
Cc: 42909-done <at> debbugs.gnu.org
Subject: Re: bug#42909: feature/native-comp;
 comp.el: Pass comp-eln-load-path to child
Date: Tue, 18 Aug 2020 09:44:20 +0000
Andrew Whatson <whatson <at> gmail.com> writes:

> Hi Andrea,
>
> Yes, I've already done copyright assignment to the FSF for Emacs.
>
> Cheers

Great, I've added a ChangeLog and committed fc9b68636b at your name.

Closing it.

Thanks!

  Andrea

-- 
akrl <at> sdf.org

[Message part 3 (message/rfc822, inline)]
From: Andrew Whatson <whatson <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Andrew Whatson <whatson <at> gmail.com>
Subject: feature/native-comp; comp.el: Pass comp-eln-load-path to child
Date: Tue, 18 Aug 2020 12:19:21 +1000
The `comp-eln-load-path' must be passed to the child to ensure that .eln
files are written to the correct location.

Without this, when a custom `comp-eln-load-path' is used, Emacs will
crash with "Native elisp load failed: file does not exist".

---
 lisp/emacs-lisp/comp.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 85b5562f28..3176351b37 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2580,6 +2580,7 @@ comp-run-async-workers
                             (setf comp-speed ,comp-speed
                                   comp-debug ,comp-debug
                                   comp-verbose ,comp-verbose
+                                  comp-eln-load-path ',comp-eln-load-path
                                   load-path ',load-path)
                             ,comp-async-env-modifier-form
                             (message "Compiling %s..." ,source-file)
-- 
2.28.0




This bug report was last modified 4 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.