-
Notifications
You must be signed in to change notification settings - Fork 717
Closed
Description
On Windows, projects break with .hsc
files and many dependencies. Here's the error as produced by Cabal-1.22.4.0
(via stack-1.0.0
):
-- While building package hsc2hs-windows-broken-0.0.0 using:
C:\sr\setup-exe-cache\x86_64-windows\setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe --builddir=.stack-work\dist\2672c1f3 build exe:hsc2hs-windows-broken --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: C:\vagrant\.stack-work\logs\hsc2hs-windows-broken-0.0.0.log
Configuring hsc2hs-windows-broken-0.0.0...
Preprocessing executable 'hsc2hs-windows-broken' for
hsc2hs-windows-broken-0.0.0...
setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe:
C:\Users\vagrant\AppData\Local\Programs\stack\x86_64-windows\ghc-7.10.3\bin\hsc2hs.exe:
does not exist
I've made a Vagrant-ized repro in this Gist, including debug output from Stack/Cabal: https://gist.github.com/mkscrg/18c560b8eb303c6ebcf2
FWIW, this feels similar ghc#10777, which stack ran into w/ commercialhaskell/stack#466 and commercialhaskell/stack#795.
(I first reported this as a Stack issue: commercialhaskell/stack#1718)
VitorCBSB