[GHC] #5730: unicode characters in cabal path leads to package installation failure
GHC
cvs-ghc at haskell.org
Thu Dec 29 20:26:25 CET 2011
#5730: unicode characters in cabal path leads to package installation failure
--------------------------------+-------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 7.0.4 | Keywords:
Os: Windows | Architecture: Unknown/Multiple
Failure: Compile-time crash | Testcase:
Blockedby: | Blocking:
Related: |
--------------------------------+-------------------------------------------
on windows xp/7/8 when path to local cabal packages contains russian
unicode characters, some of packages with dependencies fail to link.
local cabal install path is in user directory on windows,
like C:\Documents and Settings\леново\Application Data\cabal\
and ghc fails like this:
loadObj "C:\\Documents and Settings\\\1083\1077\1085\1086\1074\1086\\App
lication
Data\\cabal\\primitive-0.4.0.1\\ghc-7.0.4\\HSprimitive-0.4.0.1.o": fail
ed
some of packages that fail:
vector
alex
not works on haskell platform 2011.4.0.0, 2011.2.0.1
log:
C:\Documents and Settings\леново>cabal install vector
Resolving dependencies...
...
Installing library in C:\Documents and Settings\леново\Application
Data\cabal\primitive-0.4.0.1\ghc-7.0.4
Registering primitive-0.4.0.1...
Downloading vector-0.9...
Configuring vector-0.9...
Preprocessing library vector-0.9...
Building vector-0.9...
...
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package primitive-0.4.0.1 ... ghc.exe: panic! (the 'impossible'
happened
)
(GHC version 7.0.4 for i386-unknown-mingw32):
loadObj "C:\\Documents and
Settings\\\1083\1077\1085\1086\1074\1086\\App
lication
Data\\cabal\\primitive-0.4.0.1\\ghc-7.0.4\\HSprimitive-0.4.0.1.o": fail
ed
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5730>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list