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: Sun, 02 Jul 2023 02:08:45 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> Also, please show the backtrace corresponding to the above 
> recipe.
> The backtrace you posted mentions files like
> /home/n/.emacs.d/elpaca/repos/elpaca/elpaca.el, but there's no
> reference to $HOME/elpaca/repos in your recipe above.  So I 
> presume
> the backtrace with the above recipe will mention different 
> files, and
> it is important to see those file names.

I sincerely doubt that will show anything more than what has been 
demonstrated already. 
Here you are from emacs -Q /tmp/test.el (contents mentioned in 
last message):

Compiling /tmp/test.el...done
comp--native-compile: Native compiler error: "/tmp/test.el", 
"Compiling 
/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab.eln...
Creating file with prefix: Permission denied, 
/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab

Error: permission-denied (\"Creating file with prefix\" 
\"Permission denied\" 
\"/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab\")
 mapbacktrace(#f(compiled-function (evald func args flags) 
 #<bytecode -0x6de363c98517970>))
 debug-early-backtrace()
 debug-early(error (permission-denied \"Creating file with 
 prefix\" \"Permission denied\" 
 \"/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab\"))
 make-temp-file(\"/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab\" 
 nil \".eln.tmp\" nil)
 comp--compile-ctxt-to-file(\"/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab.eln\")
 comp-compile-ctxt-to-file(\"/usr/lib/emacs/30.0.50/native-lisp/30.0.50-58a66af6/test-53c62054-ac29ecab.eln\")
 comp-final1()
 load-with-code-conversion(\"/tmp/emacs-int-comp-test-53c62054-ac29ecab-s3wF7W.el\" 
 \"/tmp/emacs-int-comp-test-53c62054-ac29ecab-s3wF7W.el\" nil t)
 command-line-1((\"-l\" 
 \"/tmp/emacs-int-comp-test-53c62054-ac29ecab-s3wF7W.el\"))
 command-line()
 normal-top-level()
"








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.