[Haskell-cafe] Weird problem: Couldn't read cabal file "hashable/"

Eugene Kirpichov ekirpichov at gmail.com
Mon Jan 7 07:05:08 CET 2013


A friend of mine is trying to install my "timeplotters" (see email
He's getting a weird error: one of the tools installs fine but the other
one fails with the error "Couldn't read cabal file "hashable/""; curiously, so does running "cabal install

Even more curiously, hashable does not appear anywhere in the list
of dependencies, even indirect. Look:

$ cabal -v3 install cabal-install
searching for ghc in path.
found ghc at /usr/bin/ghc
/usr/bin/ghc is version 7.0.3
looking for tool "ghc-pkg" near compiler in /usr/bin
found ghc-pkg in /usr/bin/ghc-pkg
/usr/bin/ghc-pkg is version 7.0.3
Reading installed packages...
Reading available packages...
Resolving dependencies...
cabal: Couldn't read cabal file "hashable/"

He's using haskell platform on Ubuntu 12.04.
$ ghc —version
The Glorious Glasgow Haskell Compilation System, version 7.0.3
$ cabal —version
cabal-install version 0.10.2
using version of the Cabal library

He *did* try erasing ~/.cabal, ~/.ghc and /usr/lib/ghc and then
reinstalling haskell-platform package - it didn't change anything. He
doesn't remember ever having Haskell installed before, but that can't be
completely ruled out.

I just tried installing a fresh Ubuntu 12.04 onto a VM and I did not have
this problem that he has.

What additional information can I ask him for? Maybe somebody already
encountered this problem?

(Actually, I have a whole strace cabal install cabal-install, but it's 33Mb
- I can upload it somewhere if it could be helpful).

Eugene Kirpichov
http://jkff.info/software/timeplotters - my performance visualization tools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130106/eea8007d/attachment-0001.htm>

More information about the Haskell-Cafe mailing list