Bug#878112: ghc-mod: Could not find $libexecdir/cabal-helper-wrapper

Ximin Luo infinity0 at debian.org
Mon Oct 9 23:37:23 UTC 2017


Package: ghc-mod
Version: 5.7.0.0-1
Severity: normal
Tags: patch

Dear Maintainer,

| $ ghc-mod debug
| ghc-mod: ghc-mod: Could not find $libexecdir/cabal-helper-wrapper
| 
| If you are a developer set the environment variable
| `cabal_helper_libexecdir' to override $libexecdir[..]

It seems that users should not have to do this, perhaps a configure flag is
missing from the Debian packaging?

As a temporary workaround this works:

| $ export cabal_helper_libexecdir=/usr/lib
| $ ghc-mod debug
| Version:              ghc-mod-5.7.0.0
| Library GHC Version:  8.0.2
| System GHC Version:   8.0.2
| [..]

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ghc-mod depends on:
ii  cabal-helper  0.7.3.0-2+b1
ii  ghc           8.0.2-10
ii  libc6         2.24-17
ii  libffi6       3.2.1-6
ii  libgmp10      2:6.1.2+dfsg-1

Versions of packages ghc-mod recommends:
ii  ghc-mod-el  5.7.0.0-1

ghc-mod suggests no packages.

-- no debconf information



More information about the Pkg-haskell-maintainers mailing list