haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
381 stars 91 forks source link

ghc not working on non-latin user path on Windows #342

Closed epogrebnyak closed 4 years ago

epogrebnyak commented 4 years ago

I have a non-latin username on Windows and it is a big pain. Hoped choco installation isolates me from this problem somehow, but it seems it does not yet.

I've installed Haskell Platform with choco, and ghci works well and ghc does not.

Example:

D:\
λ echo main = putStrLn "Hello World!" > hello.hs && ghc hello.hs
[1 of 1] Compiling Main             ( hello.hs, hello.o )
Linking hello.exe ...
C:\Users\Евгений\AppData\Local\Temp\ghc3212_0\ghc_6.rsp: commitBuffer: invalid argument (invalid character)

Is this a Haskell Platform issue or ghc issue or falls in between? The only place I found simsilar error was here https://gitlab.haskell.org/ghc/ghc/issues/15338 (marked as closed).

epogrebnyak commented 4 years ago

Resolved by upgrading Windows version as described here.