haskell / haskell/cabal

Cabal mangles exceptions

Offen
#823 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Cabal: other old-milestone: ⊥ priority: low type: bug
Vorherrschende Sprache
Haskell
Sterne
1.7k
Forks
750
Ø Merge
4 T. 3 Std.
Gemergte PRs (30 T.)
28

Beschreibung

(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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.