haskell / haskell/cabal

Cabal mangles exceptions

オープン
#823 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
Cabal: other old-milestone: ⊥ priority: low type: bug
主要言語
Haskell
スター
1.7k
フォーク
750
平均マージ
4日 3時間
マージ済み PR(30日)
28

説明

(Imported from [Trac #833](http://hackage.haskell.org/trac/hackage/ticket/833), reported by @igloo on 2011-04-21)

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。