Subject: Re: bug#60627: emacs-nadvice package do not generate autoload file.

From: Nicolas Goaziou <[email-masked]>
Date: Sat, 07 Jan 2023 16:11:26 +0100

Hello,

Feng Shu <[email-masked]> writes:

> Debugger entered--Lisp error: (file-missing "Cannot open load file" "没有那个文件或目录" "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads")
>   load("/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-nadvice-0.3/share/emacs/site-lisp/nadvice-0.3/nadvice-autoloads" nil t)
>   package-activate-1(#s(package-desc :name nadvice :version (0
> 3) :summary "Forward compatibility for Emacs-24.4's nadvice" :reqs
> nil :kind nil :archive nil :dir
> "/gnu/store/gcvj3grb55ic034b9a56p6m182b2qfdr-emacs-..." :extras
> ((:maintainer "Stefan Monnier" . "[email-masked]") (:authors
> ("Stefan Monnier" . "[email-masked]"))) :signed nil) nil
> deps)
>   package-activate(nadvice)
>   package-activate-1(#s(package-desc :name compat :version (28
> 1 2 2) :summary "Emacs Lisp Compatibility Library" :reqs ((emacs (24
> 3)) (nadvice (0 3))) :kind nil :archive nil :dir
> "/gnu/store/an425abx04g2hhg11c39h0y63gf6wc3l-emacs-..." :extras ((:url
> . "https://sr.ht/~pkal/compat") (:keywords "lisp") (:maintainer
> "Compat Development" . "~pkal/[email-masked]") (:authors
> ("Philip Kaludercic" . "[email-masked]"))) :signed nil) nil deps)
>   package-activate(compat)

This is now mitigated in commit db746d16602f4b22ed678aaaeeb5974398d27874.

To properly fix this, as the next step, I'm leaning towards removing
emacs-nadvice package altogether. It is not useful in Guix since we
provide Emacs 28+.

WDYT?

Regards,
-- 
Nicolas Goaziou