{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/3629","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3629/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3629/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3629/events","html_url":"https://github.com/commercialhaskell/stack/issues/3629","id":279922704,"number":3629,"title":"stack 1.6.1-rc1 with -jN fails after N packages build with N x \"openBinaryFile: doesn't exist","user":{"login":"ruomad","id":17097800,"avatar_url":"https://avatars1.githubusercontent.com/u/17097800?v=4","gravatar_id":"","url":"https://api.github.com/users/ruomad","html_url":"https://github.com/ruomad","followers_url":"https://api.github.com/users/ruomad/followers","following_url":"https://api.github.com/users/ruomad/following{/other_user}","gists_url":"https://api.github.com/users/ruomad/gists{/gist_id}","starred_url":"https://api.github.com/users/ruomad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruomad/subscriptions","organizations_url":"https://api.github.com/users/ruomad/orgs","repos_url":"https://api.github.com/users/ruomad/repos","events_url":"https://api.github.com/users/ruomad/events{/privacy}","received_events_url":"https://api.github.com/users/ruomad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-06T22:01:47Z","updated_at":"2017-12-06T22:07:19Z","closed_at":null,"author_association":"NONE","body":"I'm running stack -jN on windows 64bit \r\nit fails after N successfully built packages with N errors like : \r\n\r\n```\r\nProgress: 14/52C:\\Users\\XXX\\AppData\\Local\\Programs\\stack\\x86_64-windows\\root\\precompiled\\x86_64-windows\\ghc-8.2.2\\2.0.1.0\\cmVnZXgtdGRmYS0xLjIuMkBzaGEyNTY6MGEyZjY5N2E0YTExNmYxMmFiMjYzMDk1MzcyZmY1M2VkMmVhZTVlMTgzYmQwZjZiNzUzYmJlOTVmMTg0YThjYSwzMDgz\\4eF6xk9yvpsnNgtCqiVJdL0RXSz-nATQXHOLD0A44HI=: openBinaryFile: does not exist (No such file or directory)\r\n\r\nC:\\Users\\XXX\\AppData\\Local\\Programs\\stack\\x86_64-windows\\root\\precompiled\\x86_64-windows\\ghc-8.2.2\\2.0.1.0\\dmVjdG9yLTAuMTIuMC4xQHNoYTI1NjowYjgzODA3MTQ0OTAyMTA0MGI0MzY2MjAxZWI1ZTUxNzkwYTg5NDZhMWI4NWMzMGQ4MjNiZjU2OTBlNDI1YmY2LDcwNzM=\\1Bg9r_zZlzDyieViOKgxRvpM04EiQA0FKe2DNhLiz18=: openBinaryFile: does not exist (No such file or directory)\r\n\r\nC:\\Users\\XXX\\AppData\\Local\\Programs\\stack\\x86_64-windows\\root\\precompiled\\x86_64-windows\\ghc-8.2.2\\2.0.1.0\\emxpYi0wLjYuMS4yQHNoYTI1NjphMGFjMmI2NTBlYzNjMzhmZjA0MWU0ZGE1YTNiNjk2OWMxY2E2OGE3MzBmY2Q5NWQ5ZWQ3ODI5NDMwNWM2NzY4LDQxMjE=\\uCvt9dqb3LAG64VPb-b3ZXW6ZWwk2naKoO4P3lMMfyI=: openBinaryFile: does not exist (No such file or directory)\r\n\r\nC:\\Users\\XXX\\AppData\\Local\\Programs\\stack\\x86_64-windows\\root\\precompiled\\x86_64-windows\\ghc-8.2.2\\2.0.1.0\\dW5peC1jb21wYXQtMC41LjAuMUBzaGEyNTY6YjI1MDY2ZmIzNjM1YmExNTdhZTJiYTZiODYwNzU3N2E4MWRmZDUwYzg5MGU3ZDg0ZjYwYzk2MjFiMGMzMGJhYSwxOTQz\\pSpozZxcghowRQtp_lLjbi1bLxPNAOYb0Hp54bsYqsA=: openBinaryFile: does not exist (No such file or directory)\r\n```"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/349790689","html_url":"https://github.com/commercialhaskell/stack/issues/3629#issuecomment-349790689","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/3629","id":349790689,"user":{"login":"borsboom","id":2164261,"avatar_url":"https://avatars0.githubusercontent.com/u/2164261?v=4","gravatar_id":"","url":"https://api.github.com/users/borsboom","html_url":"https://github.com/borsboom","followers_url":"https://api.github.com/users/borsboom/followers","following_url":"https://api.github.com/users/borsboom/following{/other_user}","gists_url":"https://api.github.com/users/borsboom/gists{/gist_id}","starred_url":"https://api.github.com/users/borsboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borsboom/subscriptions","organizations_url":"https://api.github.com/users/borsboom/orgs","repos_url":"https://api.github.com/users/borsboom/repos","events_url":"https://api.github.com/users/borsboom/events{/privacy}","received_events_url":"https://api.github.com/users/borsboom/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T22:07:19Z","updated_at":"2017-12-06T22:07:19Z","author_association":"CONTRIBUTOR","body":"Does this happen if you use `-j1`?\r\n\r\nIt looks like those paths all exceed 260 characters, which is the maximum path length on Windows when using the old Windows API (which are what GHC's base libraries, and therefore Stack, Cabal, and GHC, use).  Try setting the `STACK_ROOT` environment variable to a short path like `C:\\sr`."}}
{"actor":{"display_login":"borsboom"}}