Subject: Re: bug#58429: 29.0.50; inhibit-automatic-native-compilation does not work as expected.

From: Max Brieiev <[email-masked]>
Date: Wed, 12 Oct 2022 14:15:11 +0300

Lars Ingebrigtsen <[email-masked]> writes:

> Andrea Corallo <[email-masked]> writes:
>
>> AFAIU this bug report is not about package.el, magit (again AFAIU) was
>> already installed.
>
> I'm not sure?
>
> Max, could you (setq debug-on-error t) and repeat the problem and post
> the resulting backtrace?

Here it is:

Debugger entered--Lisp error: (native-compiler-error (lambda (&rest arg1) (let ((f #'make-process)) (apply f arg1))) "Compiling /tmp/comp-lambda-TGVcD2.eln...\nx86_64-un...")
  (signal native-compiler-error ((lambda (&rest arg1) (let ((f #'make-process)) (apply f arg1))) "Compiling /tmp/comp-lambda-TGVcD2.eln...\nx86_64-un..."))
  (comp--native-compile (lambda (&rest arg1) (let ((f #'make-process)) (apply f arg1))) nil nil)
  (comp-trampoline-compile make-process)
  (comp-subr-trampoline-install make-process)
  (advice--add-function :around (#f(compiled-function () #<bytecode 0x3647c019df7e91>) . #f(compiled-function (gv--val) #<bytecode 0x85c60bbba7cb3c2>)) make-process--with-editor-process-filter nil)
  (advice-add make-process :around make-process--with-editor-process-filter)
  (require with-editor)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-process.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-process.el" nil t)
  (require magit-process)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-transient.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-transient.el" nil t)
  (require magit-transient)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-margin.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-margin.el" nil t)
  (require magit-margin)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-core.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-core.el" nil t)
  (require magit-core)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit.el" nil t)
  (require magit)
  (load-with-code-conversion "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-status.el" "/home/max/.emacs.d/elpa/magit-20221008.1927/magit-status.el" nil t)
  (command-execute magit record)
  (execute-extended-command nil "magit" "magit")
  (funcall-interactively execute-extended-command nil "magit" "magit")
  (command-execute execute-extended-command)