[Pkg-haskell-maintainers] Bug#767762: ghc-mod still contains emacs dependencies
Michael Alan Dorman
mdorman at ironicdesign.com
Sun Nov 9 13:10:25 UTC 2014
Package: ghc-mod
Version: 5.2.1.1-2
Followup-For: Bug #767762
Dear Maintainer,
I believe the split between ghc-mod and ghc-mod-el is incomplete, and
can, in fact, lead to a broken package.
As you can see, ghc-mod still depende on emacsen-common, which isn't a
huge dependency, but should be unnecessary.
mdorman at ogg:~$ aptitude show ghc-mod
Package: ghc-mod
State: installed
Automatically installed: yes
Version: 5.2.1.1-2
Priority: extra
Section: haskell
Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
Architecture: i386
Uncompressed Size: 65.9 M
Depends: libc6 (>= 2.11), libffi6 (>= 3.0.4), libgmp10, ghc (>= 7.6.3), ghc (< 7.6.3+), emacsen-common (>= 2.0.8)
Recommends: ghc-mod-el (>= 5.2.1.1-1)
Description: Happy Haskell programming
This package provides the executables ghc-mod and ghc-modi. The GNU Emacs integration code is provided by a separate package, namely ghc-mod-el.
Homepage: http://www.mew.org/~kazu/proj/ghc-mod/
Further and I believe this is where the breakage exists, it still
contains the emacs site-start file:
mdorman at ogg:~$ cat /var/lib/dpkg/info/ghc-mod.list
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ghc-mod
/usr/share/doc/ghc-mod/changelog.Debian.gz
/usr/share/doc/ghc-mod/changelog.gz
/usr/share/doc/ghc-mod/copyright
/usr/share/doc/ghc-mod/buildinfo_i386.gz
/usr/bin
/usr/bin/ghc-modi
/usr/bin/ghc-mod
/etc/emacs/site-start.d/51ghc-mod.el
Based on the code in that file, if someone has haskell-mode installed,
but does not have ghc-mod-el installed, they will get an error when
entering haskell mode as emacs tries to call a function that does not
exist.
I think the simple solution is to move both the emacsen-common
dependency and the site-start.d file into ghc-mod-el, where I believe
they belong.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.17-1-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
Versions of packages ghc-mod depends on:
ii emacsen-common 2.0.8
ii ghc 7.6.3-19
ii libc6 2.19-12
ii libffi6 3.1-2
ii libgmp10 2:6.0.0+dfsg-6
Versions of packages ghc-mod recommends:
pn ghc-mod-el <none>
ghc-mod suggests no packages.
-- Configuration Files:
/etc/emacs/site-start.d/51ghc-mod.el ecc14ad8a9a4a21d27a8c9d4a7a566c5 [Errno 2] No such file or directory: u'/etc/emacs/site-start.d/51ghc-mod.el ecc14ad8a9a4a21d27a8c9d4a7a566c5'
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list