Bug#893486: cabal: failed to parse output of 'ghc-pkg dump'

2018-03-20 Thread Clint Adams
Did you also remove $HOME/.ghc ?



Bug#893486: cabal: failed to parse output of 'ghc-pkg dump'

2018-03-19 Thread Stephane Popinet
Package: cabal-install
Version: 1.24.0.1-3
Severity: important

Dear Maintainer,

Trying to do:

% rm -r -f $HOME/.cabal
% cabal install gitit

results in:

cabal: failed to parse output of 'ghc-pkg dump'

Here are the paths/versions to the programs above:

% which cabal
/usr/bin/cabal
% cabal --version
cabal-install version 1.24.0.1
compiled using version 1.24.1.0 of the Cabal library 
% which ghc-pkg 
/usr/bin/ghc-pkg
% ghc-pkg --version
GHC package manager version 8.0.1

Thank you for your attention,

Stephane Popinet

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages cabal-install depends on:
ii  ghc [libghc-cabal-dev]  8.0.1-17+b1
ii  libc6   2.24-11+deb9u1
ii  libffi6 3.2.1-6
ii  libgmp102:6.1.2+dfsg-1
ii  zlib1g  1:1.2.8.dfsg-5

Versions of packages cabal-install recommends:
ii  ghc  8.0.1-17+b1

cabal-install suggests no packages.

-- no debconf information