{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/2269","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2269/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2269/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2269/events","html_url":"https://github.com/commercialhaskell/stack/issues/2269","id":160259718,"number":2269,"title":"Can't build reactive-banana-wx","user":{"login":"DevJac","id":5282489,"avatar_url":"https://avatars.githubusercontent.com/u/5282489?v=3","gravatar_id":"","url":"https://api.github.com/users/DevJac","html_url":"https://github.com/DevJac","followers_url":"https://api.github.com/users/DevJac/followers","following_url":"https://api.github.com/users/DevJac/following{/other_user}","gists_url":"https://api.github.com/users/DevJac/gists{/gist_id}","starred_url":"https://api.github.com/users/DevJac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevJac/subscriptions","organizations_url":"https://api.github.com/users/DevJac/orgs","repos_url":"https://api.github.com/users/DevJac/repos","events_url":"https://api.github.com/users/DevJac/events{/privacy}","received_events_url":"https://api.github.com/users/DevJac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/resolution:%20duplicate","name":"resolution: duplicate","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-06-14T19:07:08Z","updated_at":"2016-06-17T20:01:02Z","closed_at":"2016-06-17T19:50:03Z","body":"Steps to reproduce:\r\n\r\n1. `stack new test simple`\r\n2. `cd` to the new `test` directory\r\n3. Add `reactive-banana-wx` to your `build-depends` in `test.cabal`\r\n4. Run `stack solver --update-config`\r\n5. Add the following to your `stack.yaml` file (as described in issue #1316):\r\n    \r\n    ```\r\n    explicit-setup-deps:\r\n        \"reactive-banana-wx\": true\r\n    ```\r\n6. Run `stack build` in the `test` director created in step 1.\r\n\r\nWhen I do this, I get the following output and error:\r\n```\r\n$ stack build\r\npqueue-1.3.1.1: configure\r\npqueue-1.3.1.1: build\r\ncabal-macosx-0.2.3.4: configure\r\ncabal-macosx-0.2.3.4: build\r\nwxdirect-0.92.2.0: configure\r\nwxdirect-0.92.2.0: build\r\ncabal-macosx-0.2.3.4: copy/register\r\npqueue-1.3.1.1: copy/register\r\nreactive-banana-1.1.0.1: configure\r\nreactive-banana-1.1.0.1: build\r\nwxdirect-0.92.2.0: copy/register\r\nwxc-0.92.2.0: configure\r\nreactive-banana-1.1.0.1: copy/register\r\nwxc-0.92.2.0: build\r\nwxc-0.92.2.0: copy/register\r\nwxcore-0.92.2.0: configure\r\nwxcore-0.92.2.0: build\r\nwxcore-0.92.2.0: copy/register\r\nwx-0.92.2.0: configure\r\nwx-0.92.2.0: build\r\nwx-0.92.2.0: copy/register\r\nreactive-banana-wx-1.1.1.0: configure\r\nProgress: 8/9\r\n--  While building package reactive-banana-wx-1.1.1.0 using:\r\n      /opt/ghc/bin/ghc --make -odir /tmp/stack29239/reactive-banana-wx-1.1.1.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup -hidir /tmp/stack29239/reactive-banana-wx-1.1.1.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup -i -i. -clear-package-db -global-package-db -package-db=/home/buttons/.stack/snapshots/x86_64-linux/lts-6.3/7.10.3/pkgdb -package-db=/home/buttons/Code/haskell/test/.stack-work/install/x86_64-linux/lts-6.3/7.10.3/pkgdb -hide-all-packages -package=Cabal-1.22.5.0 -package-id=array-0.5.1.0-960bf9ae8875cc30355e086f8853a049 -package-id=base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d -package-id=bin-package-db-0.0.0.0-c2998655922e5892be4d23c583233dd1 -package-id=binary-0.7.5.0-bf6a937522bb8cec5d00218470f28789 -package-id=bytestring-0.10.6.0-9a873bcf33d6ce2fd2698ce69e2c1c66 -package-id=cabal-macosx-0.2.3.4-50d7f4029fe9c435d6e77827398c06b6 -package-id=containers-0.5.6.2-59326c33e30ec8f6afd574cbac625bbb -package-id=deepseq-1.4.1.1-614b63b36dd6e29d2b35afff57c25311 -package-id=directory-1.2.2.0-660a7a83a753ed85c8a374c15dae2b97 -package-id=filepath-1.4.0.0-f97d1e4aebfd7a03be6980454fe31d6e -package-id=ghc-prim-0.4.0.0-6cdc86811872333585fa98756aa7c51e -package-id=haskeline-0.7.2.1-ee66b80ab55ef13718feae46e4940f5d -package-id=hoopl-3.10.0.2-e1d2f66d9c173061362d378e84471a99 -package-id=hpc-0.6.0.2-a33eebda3a4ae222891fd5d14c4f2b1f -package-id=integer-gmp-1.0.0.0-3c8c40657a9870f5c33be17496806d8d -package-id=pretty-1.1.2.0-5cc412214ea63f61ee84c4fbabdbe0ec -package-id=process-1.2.3.0-a22328103774f0499a990653944cbf99 -package-id=reactive-banana-1.1.0.1-f678e9a834e435b19d945d73add6f16c -package-id=template-haskell-2.10.0.0-3c4cb52230f347282af9b2817f013181 -package-id=terminfo-0.4.0.1-ff5b3d5838955b7711e16ccc720f06f4 -package-id=time-1.5.0.1-1b9a502bb07a3e6f4d6935fbf9db7181 -package-id=transformers-0.4.2.0-81450cd8f86b36eaa8fa0cbaf6efc3a3 -package-id=unix-2.7.1.0-bb54ee8f9f6b2600aae7a748eb88a610 -package-id=wx-0.92.2.0-03c6b2513f3f6ab311a0ac7a5581a030 -package-id=wxcore-0.92.2.0-c73ad66b4af460fef6e92397799131ae -package-id=xhtml-3000.2.1-e005917157f780654d68110616d034e8 /tmp/stack29239/reactive-banana-wx-1.1.1.0/Setup.hs -o /tmp/stack29239/reactive-banana-wx-1.1.1.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup/setup\r\n    Process exited with code: ExitFailure 1\r\n    Logs have been written to: /home/buttons/Code/haskell/test/.stack-work/logs/reactive-banana-wx-1.1.1.0.log\r\n\r\n    [1 of 1] Compiling Main             ( /tmp/stack29239/reactive-banana-wx-1.1.1.0/Setup.hs, /tmp/stack29239/reactive-banana-wx-1.1.1.0/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/setup/Main.o )\r\n    \r\n    /tmp/stack29239/reactive-banana-wx-1.1.1.0/Setup.hs:11:19:\r\n        Couldn't match type ‘LocalBuildInfo’\r\n                       with ‘Cabal-1.22.8.0:Distribution.Simple.LocalBuildInfo.LocalBuildInfo’\r\n        NB: ‘LocalBuildInfo’\r\n              is defined in ‘Distribution.Simple.LocalBuildInfo’\r\n                  in package ‘Cabal-1.22.5.0’\r\n            ‘Cabal-1.22.8.0:Distribution.Simple.LocalBuildInfo.LocalBuildInfo’\r\n              is defined in ‘Distribution.Simple.LocalBuildInfo’\r\n                  in package ‘Cabal-1.22.8.0’\r\n        Expected type: Args\r\n                       -> Distribution.Simple.Setup.BuildFlags\r\n                       -> Distribution.PackageDescription.PackageDescription\r\n                       -> LocalBuildInfo\r\n                       -> IO ()\r\n          Actual type: [String]\r\n                       -> Cabal-1.22.8.0:Distribution.Simple.Setup.BuildFlags\r\n                       -> Cabal-1.22.8.0:Distribution.PackageDescription.PackageDescription\r\n                       -> Cabal-1.22.8.0:Distribution.Simple.LocalBuildInfo.LocalBuildInfo\r\n                       -> IO ()\r\n        In the ‘postBuild’ field of a record\r\n        In the second argument of ‘($)’, namely\r\n          ‘simpleUserHooks {postBuild = myPostBuild}’\r\n```"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/226867726","html_url":"https://github.com/commercialhaskell/stack/issues/2269#issuecomment-226867726","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/2269","id":226867726,"user":{"login":"DevJac","id":5282489,"avatar_url":"https://avatars.githubusercontent.com/u/5282489?v=3","gravatar_id":"","url":"https://api.github.com/users/DevJac","html_url":"https://github.com/DevJac","followers_url":"https://api.github.com/users/DevJac/followers","following_url":"https://api.github.com/users/DevJac/following{/other_user}","gists_url":"https://api.github.com/users/DevJac/gists{/gist_id}","starred_url":"https://api.github.com/users/DevJac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevJac/subscriptions","organizations_url":"https://api.github.com/users/DevJac/orgs","repos_url":"https://api.github.com/users/DevJac/repos","events_url":"https://api.github.com/users/DevJac/events{/privacy}","received_events_url":"https://api.github.com/users/DevJac/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T20:01:02Z","updated_at":"2016-06-17T20:01:02Z","body":"I am using stack `1.1.2`:\r\n\r\n```\r\n$ stack --version\r\nVersion 1.1.2, Git revision cebe10e845fed4420b6224d97dcabf20477bbd4b (3646 commits) x86_64 hpack-0.14.0\r\n```"}}
{"actor":{"display_login":"DevJac"}}