Ticket #5730 (closed bug: duplicate)

Opened 17 months ago

Last modified 17 months ago

unicode characters in cabal path leads to package installation failure

Reported by: guest Owned by:
Priority: normal Milestone: 7.6.1
Component: Build System Version: 7.0.4
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Compile-time crash Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by igloo) (diff)

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\\Application Data\\cabal\\primitive-0.4.0.1\\ghc-7.0.4\\HSprimitive-0.4.0.1.o": failed

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\\Application Data\\cabal\\primitive-0.4.0.1\\ghc-7.0.4\\HSprimitive-0.4.0.1.o": failed

Change History

Changed 17 months ago by igloo

  • difficulty set to Unknown
  • description modified (diff)

Changed 17 months ago by igloo

  • milestone set to 7.6.1

Thanks for the report

Changed 17 months ago by simonmar

  • status changed from new to closed
  • resolution set to duplicate

Already reported as #5697

Note: See TracTickets for help on using tickets.