Bug#850043: ghc-mod-el: Fail to install if Emacs 21/22 present.

Oleksandr Gavenko gavenkoa at gmail.com
Tue Jan 3 14:23:30 UTC 2017


Package: ghc-mod-el
Version: 5.6.0.0-2
Severity: normal

  $ cat /var/log/apt/term.log
  ...
  Install ghc-mod-el for emacs21
  install/ghc-mod: Handling install for emacsen flavor emacs21
  ...
  ERROR: install script from ghc-mod-el package failed

Solution to change /usr/lib/emacsen-common/packages/install/ghc-mod-el to:

  case $FLAVOR in
      emacs|*xemacs*|mule2|emacs2[1-3]) # not support xemacs
      exit 0
      ;;
  esac


-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ghc-mod-el depends on:
ii  emacsen-common  2.0.8
ii  ghc-mod         5.6.0.0-2

Versions of packages ghc-mod-el recommends:
ii  haskell-mode  13.14.2-1

ghc-mod-el suggests no packages.

-- no debconf information

-- 
http://defun.work/



More information about the Pkg-haskell-maintainers mailing list