[GHC] #2955: Data in $HOME/.ghc is not validated leading to obscure
error messages when using ghc
GHC
trac at galois.com
Fri Jan 16 05:21:21 EST 2009
#2955: Data in $HOME/.ghc is not validated leading to obscure error messages when
using ghc
-------------------+--------------------------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Os: Linux | Architecture: Unknown/Multiple
-------------------+--------------------------------------------------------
I installed cabal-install-0.6.0 from source, used ghc for a couple of days
and then deleted the $HOME/.cabal directory.
A couple of days later a whole bunch of stuff was failing to compile with
ghc. With a bit of help from the #haskell IRC channel, I tracked this down
to the file $HOME/.ghc/i386-linux-6.8.2/package.conf which pointed to the
recently deleted $HOME/.cabal directory.
The fix would be to validate all data in $HOME/.ghc and if needed provide
a decent error message.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2955>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list