#5754: Cabal cannot register a package in a directory with Unicode chars
-----------------------------+----------------------------------------------
  Reporter:  simonmar        |          Owner:  simonmar        
      Type:  bug             |         Status:  closed          
  Priority:  highest         |      Milestone:  7.4.1           
 Component:  Package system  |        Version:  7.2.1           
Resolution:  invalid         |       Keywords:                  
        Os:  Windows         |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown    |     Difficulty:  Unknown         
  Testcase:                  |      Blockedby:                  
  Blocking:                  |        Related:                  
-----------------------------+----------------------------------------------

Comment(by simonmar):

 There does seem to be a separate bug that manifests on Linux, but it seems
 to be gone with the latest Cabal.  It only happens if I use a `cabal`
 built against `Cabal-0.10` to build a package with GHC 7.2 or later (or
 equivalently compile `Setup.hs` against `Cabal-0.10`).  Then this happens:

 {{{
 > ./Setup build
 Preprocessing library parallel-3.2.0.0...
 Building parallel-3.2.0.0...
 Registering parallel-3.2.0.0...
 Setup: parallel-3.2.0.0: Warning: library-dirs:
 /home/simonmar/scratch/αβγλ/dist/build doesn't exist or isn't a
 directory
 parallel-3.2.0.0: Warning: haddock-interfaces:
 /home/simonmar/scratch/αβγλ/dist/doc/html/parallel/parallel.haddock
 doesn't exist or isn't a file
 parallel-3.2.0.0: Warning: haddock-html:
 /home/simonmar/scratch/αβγλ/dist/doc/html/parallel doesn't exist or
 isn't
 a directory
 parallel-3.2.0.0: import-dirs: /home/simonmar/scratch/αβγλ/dist/build
 doesn't exist or isn't a directory (use --force to override)
 parallel-3.2.0.0: file Control/Seq.hi is missing (use --force to override)
 parallel-3.2.0.0: file Control/Parallel.hi is missing (use --force to
 override)
 parallel-3.2.0.0: file Control/Parallel/Strategies.hi is missing (use
 --force
 to override)
 parallel-3.2.0.0: cannot find libHSparallel-3.2.0.0.a on library path (use
 --force to override)
 }}}

 Since that bug appears to be fixed now, I'm not going to worry about it
 (but we do need to make sure `cabal` can be built with 7.2 and later,
 which currently does not seem to be the case).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5754#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to