[GHC] #11678: runhaskell (and ghc, ghci) fail to run if HOME is not set
GHC
ghc-devs at haskell.org
Sat Mar 5 11:45:26 UTC 2016
#11678: runhaskell (and ghc, ghci) fail to run if HOME is not set
-------------------------------------+-------------------------------------
Reporter: crosser | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Keywords: | Operating System: Linux
Architecture: x86_64 | Type of failure: Compile-time
(amd64) | crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Steps to reproduce:
{{{
$ env -i ghc
HOME: getAppUserDataDirectory: does not exist (no environment variable)
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
}}}
This may be not a big deal for the compiler and repl, but there are use
cases to run `runhaskell` without HOME, e.g. I encountered this when
running a cgi script under Apache. I think that the problem was introduced
after 7.8.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11678>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list