{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1718","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1718/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1718/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1718/events","html_url":"https://github.com/commercialhaskell/stack/issues/1718","id":129901565,"number":1718,"title":"hsc2hs breaks on Windows with many dependencies","user":{"login":"mkscrg","id":471342,"avatar_url":"https://avatars.githubusercontent.com/u/471342?v=3","gravatar_id":"","url":"https://api.github.com/users/mkscrg","html_url":"https://github.com/mkscrg","followers_url":"https://api.github.com/users/mkscrg/followers","following_url":"https://api.github.com/users/mkscrg/following{/other_user}","gists_url":"https://api.github.com/users/mkscrg/gists{/gist_id}","starred_url":"https://api.github.com/users/mkscrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkscrg/subscriptions","organizations_url":"https://api.github.com/users/mkscrg/orgs","repos_url":"https://api.github.com/users/mkscrg/repos","events_url":"https://api.github.com/users/mkscrg/events{/privacy}","received_events_url":"https://api.github.com/users/mkscrg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/resolution:%20upstream%20issue","name":"resolution: upstream issue","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8","html_url":"https://github.com/commercialhaskell/stack/milestones/Support","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8/labels","id":1208081,"number":8,"title":"Support","description":"Issues without clear work items for the codebase","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":186,"state":"open","created_at":"2015-07-14T20:38:48Z","updated_at":"2016-08-11T22:19:43Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-01-29T22:35:24Z","updated_at":"2016-08-12T07:07:47Z","closed_at":null,"body":"On Windows, Stack fails to build projects with `.hsc` files and many dependencies. The error looks like\r\n\r\n```\r\n--  While building package hsc2hs-windows-broken-0.0.0 using:\r\n      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\"\r\n    Process exited with code: ExitFailure 1\r\n    Logs have been written to: C:\\vagrant\\.stack-work\\logs\\hsc2hs-windows-broken-0.0.0.log\r\n\r\n    Configuring hsc2hs-windows-broken-0.0.0...\r\n    Preprocessing executable 'hsc2hs-windows-broken' for\r\n    hsc2hs-windows-broken-0.0.0...\r\n    setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe:\r\n    C:\\Users\\vagrant\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-7.10.3\\bin\\hsc2hs.exe:\r\n    does not exist\r\n```\r\n\r\nHere's a Vagrant-ized Gist with repro instructions: https://gist.github.com/mkscrg/18c560b8eb303c6ebcf2\r\n\r\nFWIW, this feels similar to #466 / #795 / [ghc#10777](https://ghc.haskell.org/trac/ghc/ticket/10777#ticket).\r\n\r\nWorkaround: move `.hsc` code into a Stack sub-project.\r\n\r\ncc @bsummer4"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/239376370","html_url":"https://github.com/commercialhaskell/stack/issues/1718#issuecomment-239376370","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1718","id":239376370,"user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T07:07:47Z","updated_at":"2016-08-12T07:07:47Z","body":"To just give a quick update from the Cabal update: the problem is that we are passing too many arguments to `hsc2hs`. The solution would be to use a response file, like was done in Haddock."}}
{"actor":{"display_login":"ezyang"}}