{"action":"closed","issue":{"url":"https://api.github.com/repos/Tehnix/MobileHaskellFun/issues/2","repository_url":"https://api.github.com/repos/Tehnix/MobileHaskellFun","labels_url":"https://api.github.com/repos/Tehnix/MobileHaskellFun/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Tehnix/MobileHaskellFun/issues/2/comments","events_url":"https://api.github.com/repos/Tehnix/MobileHaskellFun/issues/2/events","html_url":"https://github.com/Tehnix/MobileHaskellFun/issues/2","id":301639295,"number":2,"title":"How to fix make iOS error?","user":{"login":"JulianZhang","id":1280015,"avatar_url":"https://avatars3.githubusercontent.com/u/1280015?v=4","gravatar_id":"","url":"https://api.github.com/users/JulianZhang","html_url":"https://github.com/JulianZhang","followers_url":"https://api.github.com/users/JulianZhang/followers","following_url":"https://api.github.com/users/JulianZhang/following{/other_user}","gists_url":"https://api.github.com/users/JulianZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/JulianZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulianZhang/subscriptions","organizations_url":"https://api.github.com/users/JulianZhang/orgs","repos_url":"https://api.github.com/users/JulianZhang/repos","events_url":"https://api.github.com/users/JulianZhang/events{/privacy}","received_events_url":"https://api.github.com/users/JulianZhang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-02T03:14:32Z","updated_at":"2018-03-02T11:05:58Z","closed_at":"2018-03-02T11:05:57Z","author_association":"CONTRIBUTOR","body":"Dear\r\n\r\nI'm following your blog try to  run the app. But failed when make iOS\r\n\r\nCan we set a lts version for this project.\r\n \r\n\r\n```\r\n./call make iOS\r\nCABAL=x86_64-apple-ios-cabal make cabal-build\r\nx86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng\r\nResolving dependencies...\r\nBuild profile: -w ghc-8.4.0.20180109 -O1\r\nIn order, the following would be built (use -v for more details):\r\n - natural-transformation-0.4 (lib) (requires build)\r\n - transformers-compat-0.6.0.6 (lib) (requires build)\r\n - transformers-base-0.4.4 (requires build)\r\n - freer-simple-1.1.0.0 (lib) (requires build)\r\n - freer-simple-1.1.0.0 (exe:freer-examples) (requires build)\r\n - MobileFun-0.1.0.0 (lib) (first run)\r\nx86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng\r\nResolving dependencies...\r\nBuild profile: -w ghc-8.4.0.20180109 -O1\r\nIn order, the following will be built (use -v for more details):\r\n - transformers-compat-0.6.0.6 (lib) (requires build)\r\n - transformers-base-0.4.4 (lib:transformers-base) (requires build)\r\n - freer-simple-1.1.0.0 (lib) (requires build)\r\n - MobileFun-0.1.0.0 (lib) (first run)\r\nConfiguring transformers-compat-0.6.0.6 (lib)...\r\nBuilding transformers-compat-0.6.0.6 (lib)...\r\n\r\nFailed to build transformers-compat-0.6.0.6.\r\nBuild log (\r\n/Users/zhangjun/.cabal/logs/ghc-8.4.0.20180109/trnsfrmrs-cmpt-0.6.0.6-7ce505e2.log\r\n):\r\nConfiguring library for transformers-compat-0.6.0.6..\r\nPreprocessing library for transformers-compat-0.6.0.6..\r\nBuilding library for transformers-compat-0.6.0.6..\r\n[1 of 4] Compiling Control.Monad.Trans.Instances ( src/Control/Monad/Trans/Instances.hs, dist/build/Control/Monad/Trans/Instances.o )\r\n\r\nsrc/Control/Monad/Trans/Instances.hs:536:10: error:\r\n    Duplicate instance declarations:\r\n      instance forall k a (b :: k).\r\n               Semigroup a =>\r\n               Semigroup (Constant a b)\r\n        -- Defined at src/Control/Monad/Trans/Instances.hs:536:10\r\n      instance [safe] forall k a (b :: k).\r\n                      Semigroup a =>\r\n                      Semigroup (Constant a b)\r\n        -- Defined in ‘Data.Functor.Constant’\r\n    |\r\n536 | instance (Semigroup.Semigroup a) => Semigroup.Semigroup (Constant a b) where\r\n    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\ncabal: Failed to build transformers-compat-0.6.0.6 (which is required by\r\nMobileFun-0.1.0.0). See the build log above for details.\r\n\r\nmake[1]: *** [cabal-build] Error 1\r\nmake: *** [binaries/iOS/libHSMobileFun.a] Error 2\r\n```"}}
{"actor":{"display_login":"Tehnix"}}