GNU bug report logs - #64226
30.0.50; emacs-lisp-native-compile-and-load permission error

Previous Next

Package: emacs;

Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>

Date: Thu, 22 Jun 2023 15:17:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: No Wayman <iarchivedmywholelife <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: acorallo <at> gnu.org, 64226 <at> debbugs.gnu.org
Subject: bug#64226: 30.0.50; emacs-lisp-native-compile-and-load permission error
Date: Thu, 22 Jun 2023 12:22:07 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> No, I don't think so, not with 
> emacs-lisp-native-compile-and-load.
> Andrea, am I right?

See comp-final:

	(with-temp-buffer
         (unwind-protect
             (if (zerop
                  (call-process (expand-file-name invocation-name
                                                  invocation-directory)
				 nil t t "-no-comp-spawn" "-Q" "--batch" "-l"
                                temp-file))
                 (progn
                   (delete-file temp-file)
                   output)
		(signal 'native-compiler-error (list (buffer-string))))
           (comp-log-to-buffer (buffer-string))))))))


> And you haven't answered my other question:

>> If, in "emacs -Q", you visit the source file, that is
>> 
>>   $HOME/.emacs.d/elpaca/builds/elpaca/elpaca.el
>> 
>> and then type
>> 
>>   M-: (native-compile buffer-file-name) RET
>> 
>> what file name do you see in the echo-area after the 
>> compilation
>> finishes?

The following file name is messaged with no error signaled:

"/home/n/.emacs.d/eln-cache/30.0.50-58a66af6/elpaca-0646d6fc-1256ece5.eln"






This bug report was last modified 1 year and 287 days ago.

Previous Next


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