[Hackage] #833: Cabal mangles exceptions

Hackage cvs-ghc at haskell.org
Thu Apr 21 21:07:25 CEST 2011


#833: Cabal mangles exceptions
----------------------------+-----------------------------------------------
  Reporter:  igloo          |        Owner:      
      Type:  defect         |       Status:  new 
  Priority:  normal         |    Milestone:      
 Component:  Cabal library  |      Version:  HEAD
  Severity:  normal         |     Keywords:      
Difficulty:  unknown        |   Ghcversion:      
  Platform:                 |  
----------------------------+-----------------------------------------------
 Cabal mangles exceptions, e.g.:
 {{{
 $ "utils/ghc-cabal/dist/build/tmp/ghc-cabal" install
 "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.1.20110421/ghc"
 "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.1.20110421/ghc-
 pkg" ":" "/home/ian/ghc/git/ghc/bindisttest/install
 dir/lib/ghc-7.1.20110421" libraries/ghc-prim dist-install ''
 '/home/ian/ghc/git/ghc/bindisttest/install dir'
 '/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.1.20110421'
 '/home/ian/ghc/git/ghc/bindisttest/install
 dir/share/doc/ghc/html/libraries'
 Installing library in /home/ian/ghc/git/ghc/bindisttest/install
 dir/lib/ghc-7.1.20110421/ghc-prim-0.2.0.0
 ghc-cabal: /home/ian/ghc/git/ghc/bindisttest/install
 dir/lib/ghc-7.1.20110421/settings: openFile: does not exist (No such file
 or
 directory)
 }}}
 where a space in the filename has been replaced with a '\n'. This can be
 very confusing!

 It looks like `Distribution.Simple.Utils.topHandler` / `wrapText` is the
 culprit.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/833>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list