{"action":"created","issue":{"url":"https://api.github.com/repos/fpco/stackage-cli/issues/39","labels_url":"https://api.github.com/repos/fpco/stackage-cli/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/fpco/stackage-cli/issues/39/comments","events_url":"https://api.github.com/repos/fpco/stackage-cli/issues/39/events","html_url":"https://github.com/fpco/stackage-cli/issues/39","id":71468771,"number":39,"title":"MinGHC - failure with data-default-instances-old-locale","user":{"login":"tomberek","id":178444,"avatar_url":"https://avatars.githubusercontent.com/u/178444?v=3","gravatar_id":"","url":"https://api.github.com/users/tomberek","html_url":"https://github.com/tomberek","followers_url":"https://api.github.com/users/tomberek/followers","following_url":"https://api.github.com/users/tomberek/following{/other_user}","gists_url":"https://api.github.com/users/tomberek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomberek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomberek/subscriptions","organizations_url":"https://api.github.com/users/tomberek/orgs","repos_url":"https://api.github.com/users/tomberek/repos","events_url":"https://api.github.com/users/tomberek/events{/privacy}","received_events_url":"https://api.github.com/users/tomberek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-28T03:38:56Z","updated_at":"2015-04-28T04:28:59Z","closed_at":"2015-04-28T03:47:14Z","body":"Vanilla install with MinGHC 7.10.1 on Windows 7\r\nusing `cabal install stackage-cli`\r\n```\r\ncabal: Error: some packages failed to install:\r\ncookie-0.4.1.4 depends on data-default-instances-old-locale-0.0.1 which failed\r\nto install.\r\ndata-default-0.5.3 depends on data-default-instances-old-locale-0.0.1 which\r\nfailed to install.\r\ndata-default-instances-containers-0.0.1 failed during the building phase. The\r\nexception was:\r\nExitFailure 1\r\ndata-default-instances-old-locale-0.0.1 failed during the building phase. The\r\nexception was:\r\nExitFailure 1\r\nhttp-client-0.4.11.1 depends on data-default-instances-old-locale-0.0.1 which\r\nfailed to install.\r\nhttp-client-tls-0.2.2 depends on data-default-instances-old-locale-0.0.1 which\r\nfailed to install.\r\npublicsuffixlist-0.1 depends on data-default-instances-old-locale-0.0.1 which\r\nfailed to install.\r\nstackage-cli-0.0.0.4 depends on data-default-instances-old-locale-0.0.1 which\r\nfailed to install.\r\n```\r\n\r\ncontents of log for data-default-instances-old-locale\r\n```\r\nBuilding data-default-instances-old-locale-0.0.1...\r\nPreprocessing library data-default-instances-old-locale-0.0.1...\r\n[1 of 1] Compiling Data.Default.Instances.OldLocale ( Data\\Default\\Instances\\OldLocale.hs, dist\\build\\Data\\Default\\Instances\\OldLocale.o )\r\nC:\\Program Files\\MinGHC-7.10.1\\ghc-7.10.1\\mingw\\bin\\ar.exe: dist\\build\\libHSdata-default-instances-old-locale-0.0.1-6jcjjaR25tK4x3nJhHHjFM.a-12252\\libHSdata-default-instances-old-locale-0.0.1-6jcjjaR25tK4x3nJhHHjFM.a: No such file or directory\r\n```\r\nmore:\r\n```\r\nBuilding data-default-instances-containers-0.0.1...\r\nPreprocessing library data-default-instances-containers-0.0.1...\r\n[1 of 1] Compiling Data.Default.Instances.Containers ( Data\\Default\\Instances\\Containers.hs, dist\\build\\Data\\Default\\Instances\\Containers.o )\r\nC:\\Program Files\\MinGHC-7.10.1\\ghc-7.10.1\\mingw\\bin\\ar.exe: dist\\build\\libHSdata-default-instances-containers-0.0.1-GVMvZTIbSoDCiC0TxHw1BG.a-10648\\libHSdata-default-instances-containers-0.0.1-GVMvZTIbSoDCiC0TxHw1BG.a: No such file or directory\r\n```\r\n(ar.exe exists)"},"comment":{"url":"https://api.github.com/repos/fpco/stackage-cli/issues/comments/96905766","html_url":"https://github.com/fpco/stackage-cli/issues/39#issuecomment-96905766","issue_url":"https://api.github.com/repos/fpco/stackage-cli/issues/39","id":96905766,"user":{"login":"DanBurton","id":713692,"avatar_url":"https://avatars.githubusercontent.com/u/713692?v=3","gravatar_id":"","url":"https://api.github.com/users/DanBurton","html_url":"https://github.com/DanBurton","followers_url":"https://api.github.com/users/DanBurton/followers","following_url":"https://api.github.com/users/DanBurton/following{/other_user}","gists_url":"https://api.github.com/users/DanBurton/gists{/gist_id}","starred_url":"https://api.github.com/users/DanBurton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanBurton/subscriptions","organizations_url":"https://api.github.com/users/DanBurton/orgs","repos_url":"https://api.github.com/users/DanBurton/repos","events_url":"https://api.github.com/users/DanBurton/events{/privacy}","received_events_url":"https://api.github.com/users/DanBurton/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T04:28:59Z","updated_at":"2015-04-28T04:28:59Z","body":"What we might want to do here is have stackage-cli spit out warnings or\nerrors if `ghc --version` doesn't match the selected snapshot's intended\nghc version.\n\nstackage-cli is currently intended for ghc-7.8 only (simply because there\nare no ghc-7.10 snapshots available on Stackage yet) and I don't think that\nhas been communicated clearly.\n\n-- Dan Burton\n\nOn Mon, Apr 27, 2015 at 8:50 PM, tomberek <notifications@github.com> wrote:\n\n> For anyone else searching for this:\n> haskell/cabal#2525 <https://github.com/haskell/cabal/issues/2525>\n> outlines a procedure that works.\n> Basically, perform cabal get on data-default-instances-old-locale and\n> data-default-instances-containers, cd into each folder, perform cabal\n> install and then try again with cabal install stackage-cli\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/fpco/stackage-cli/issues/39#issuecomment-96900932>.\n>\n"}}