[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1052458: elpa-ess: ESS mode in Emacs fails with many errors on startup



Control: tags -1 unreproducible
Control: severity -1 important

Dear Hugh,

Le vendredi 22 septembre 2023 à 14:27 +0100, Hugh Pumphrey a écrit :
> Package: elpa-ess
> Version: 18.10.2+git20220915.f45542e-3
> Severity: grave
> Justification: renders package unusable
> X-Debbugs-Cc: Hugh.Pumphrey@gmail.com

>    * What led up to the situation?
> 
> I (as a long time user of R and the Emacs ESS mode) upgraded from 
> bullseye to bookworm. 
>    * What exactly did you do (or not do)
> 
> Attempted to edit an R source file in Emacs. (I am using emacs-lucid on 
> account of Bug#1043326 in emacs-gtk, but the bug I report here occurs
> in both emacs-lucid and emacs-gtk.)
> 
>    * What was the outcome of this action?
> 
> ESS mode fails to start up and many error and warning messages are
> emitted --- see below.
> 
>    * What outcome did you expect instead?
> 
> I expected ESS mode to start as normal, as it did for many debian releases
> before bookworm. 
> 
> To check that this was not some oddity of upgrading from bullseye to 
> bookworm I purged packages ess and elpa-ess and re-installed them; the 
> problem did not go away.
> 
> The error message appeared to be:
> 
> File mode specification error: (error Loading file 
> /usr/share/emacs/site-lisp/elpa/ess-18.10.3snapshot/ess-rd.el 
> failed to provide feature 'essddr')
> 
> A buffer containing many warning messages appeared which I copy here:
> 
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-r-mode.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-mode.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-custom.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-utils.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-generics.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-inf.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-tracebug.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-noweb-mode.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-help.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-s-lang.elc Disable showing Disable logging
> Warning (comp): Cannot look-up eln file as no source file was found for /usr/share/emacs/site-lisp/elpa/ess-18.10.2/ess-roxy.elc Disable showing Disable logging

I tried to reproduce your problem on a fresh installation of Debian
“bookworm” 12, but I got no problem. I also have several machines which
I upgraded from bullseye to bookworm, and elpa-ess also works fine on
them.

So something specific to your installation is causing the problem, but
I don’t know what.

At the very least, what strikes me is that the directory
/usr/share/emacs/site-lisp/elpa/ess-18.10.2/ should not exist. It looks
like a remnant of an old ESS version that did not get purged on
upgrade, for an unknown reason. You could try to delete that directory.

Cheers,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: