Package: global
Version: 5.7.1-2
Severity: normal

Dear Maintainer,

I installed global on jessie, and got this output:
------------
Setting up global (5.7.1-2) ...
ERROR: global is broken - called emacs-package-install as a new-style add-on, 
but has no compat file.
Install global for emacs
Install global for emacs24
install/global: byte-compiling for emacs24
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50global.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...

In gtags-get-rootpath:
usr/share/emacs24/site-lisp/global/gtags.el:233:14:Warning: assignment to free
    variable n'
    usr/share/emacs24/site-lisp/global/gtags.el:233:14:Warning: reference to 
free
    variable n'
    
In gtags-select-it:
usr/share/emacs24/site-lisp/global/gtags.el:523:13:Warning: goto-line' is for
    interactive use only; use forward-line' instead.
Wrote /usr/share/emacs24/site-lisp/global/gtags.elc
----------------    

Suggesting that something is wrong/out-of-date with the emacs 
package-interfacing.

It's this in the postinst:
# Automatically added by dh_installemacsen
if [ "$1" = "configure" ] && [ -e
/var/lib/emacsen-common/state/package/installed/emacsen-common ]
then
        /usr/lib/emacsen-common/emacs-package-install --postinst global
fi

and global contains an emacs package 'gtags.el'

Emacs policy:
https://www.debian.org/doc/packaging-manuals/debian-emacs-policy
says that a package must

"add a "Depends: emacsen-common (>= 2.0.8)" and include a file like 
this that indicates its emacsen-common compatibility level:
            /usr/lib/emacsen-common/packages/compat/<package>"

but global contains neither the dependency, nor the file, presumably
because it pre-dates this info.

-- System Information:
Debian Release: 8.6
Architecture: arm64 (aarch64)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Reply via email to