Hi Zack,

Thanks for taking the time to look into this!

On 17 August 2018 at 16:16, Zack Weinberg wrote:
| Package: ess
| Version: 17.11-2
| Severity: normal
| 
| With the current packaging of Emacs 25.2.2 in unstable, ess doesn't get
| loaded as it ought to.  I believe this is fallout from the Emacs maintainers
| dropping the version number from the packages (as of 'emacs' package version
| 1:25.2+1-7).  On startup, the *Messages* buffer has

Likely. I think we use an old scheme that even differentiated between xemacs
and emacs. 
 
| Loading /etc/emacs/site-start.d/50ess.el (source)...
| Package ess not fully installed.  Skipping setup.
| Loading /etc/emacs/site-start.d/50ess.el (source)...done
| 
| and 'r-mode is not defined.  I traced through the execution of
| 50ess.el by hand and found that it's bailing out because
| debian-emacs-flavor is "emacs" and 
| /usr/share/emacs/site-lisp/ess/ess-site.elc 
| does not exist.  That file does not exist because
| /usr/lib/emacsen-common/packages/install/ess
| silently exits when its FLAVOR argument is "emacs".
| 
| I'm not sure what the _proper_ fix is, but if I byte-compile all the
| .el files in /usr/share/emacs/site-lisp/ess and then replace 50ess.el
| with just
| 
| (require 'ess-site)
| 
| then ess is loaded again.

Ack. Can you check if invoking emacsen-install differently, or updating it,
would help?

The postinst should still have

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        if [ -e /var/lib/emacsen-common/state/package/installed/emacsen-common 
-a -x /usr/lib/emacsen-common/emacs-package-install ] ; then
                /usr/lib/emacsen-common/emacs-package-install --postinst ess
        fi
fi

What happens when you run this, ie 'emacs-package-install --postinst ess' ?

I could (should ?) probably also looking into upgrading ess to an newer-style
package ie 'melpa-ess' ...

Dirk
 
| -- System Information:
| Debian Release: buster/sid
|   APT prefers unstable
|   APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
| Architecture: amd64 (x86_64)
| 
| Kernel: Linux 4.17.0-2-amd64 (SMP w/8 CPU cores)
| Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/dash
| Init: systemd (via /run/systemd/system)
| LSM: AppArmor: enabled
| 
| Versions of packages ess depends on:
| ii  dpkg            1.19.0.5+b1
| ii  emacsen-common  3.0.2
| ii  install-info    6.5.0.dfsg.1-4
| 
| Versions of packages ess recommends:
| ii  r-base-core  3.5.1-1+b1
| 
| Versions of packages ess suggests:
| pn  jags       <none>
| pn  julia      <none>
| pn  pspp       <none>
| pn  xlispstat  <none>
| 
| -- no debconf information

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to